Skip to content

iOS Push permission is now manually triggered

Choose a tag to compare

@andrehtissot andrehtissot released this 18 Apr 16:50
· 193 commits to master since this release
9db9edc

On iOS, first run doesn't automatically request Push permission.

This change allows the user to get used to the app before being asked about receiving notifications.

The permission, as it is still required, may now be requested from javascript at any moment by executing:

//FCMPlugin.requestPushPermissionIOS( successCallback(), errorCallback(err) );
FCMPlugin.requestPushPermissionIOS();

Special thanks to @loama, for requesting this feature.