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, true means can accept continually, while false will 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, true means can refuse continually, while false will not refuse. You can make a second confirmation here by a modal, etc.

results matching ""

    No results matching ""