applyNotificationPermission abstract method

Future<void> applyNotificationPermission()

iOS only Available since: 2.1.0 or later.

Description: This method is used to register vendor offline push.

Use cases: This method is called before needs to use offline push.

When to call /Trigger: To apply for push permission, note that this method will only pop up one push permission request to the user (if the user does not agree, then the user can only check the corresponding permission in the setting page), and the developer needs to choose an appropriate time to call.

Implementation

Future<void> applyNotificationPermission();