dpa99c / cordova-plugin-firebasex

Cordova plugin for Google Firebase
MIT License
570 stars 457 forks source link

[FR] [iOS] Expose the registerForRemoteNotifications method #844

Closed theopavan closed 5 months ago

theopavan commented 6 months ago

Expose the registerForRemoteNotifications method to allow the use of Silent Push on iOS before even asking for user permission.

If we do not request permission to push or if the user does not give permission, the getToken method responds with the error "APNS device token not set before retrieving FCM Token for Sender ID". On iOS we need to call the registerForRemoteNotifications method before getToken if we want to use Silent Push.

Feature request

dpa99c commented 5 months ago

Implemented and released in v16.3.0

theopavan commented 5 months ago

@dpa99c I think you implemented the FR about initiateOnDeviceConversionMeasurement from https://github.com/dpa99c/cordova-plugin-firebasex/issues/843 ... I don't see changes about method registerForRemoteNotifications in v16.3.0.