NewContactLifeCycle
Introduction
The life cycle hooks for new contact business logic.
Parameter introduction
shouldAcceptContactApplication
Parameter type : Future< bool > Function(String userID)
Supported Platform: All
- Parameter description : Before accepting a friend or contact requirement from other user,
truemeans can accept continually, whilefalsewill not accept. You can make a second confirmation here by a modal, etc.
shouldRefuseContactApplication
Parameter type : Future< bool > Function(String userID)
Supported Platform: All
- Parameter description : Before refusing a friend or contact requirement from other user,
truemeans can refuse continually, whilefalsewill not refuse. You can make a second confirmation here by a modal, etc.