braze-inc / braze-flutter-sdk

Public repo for the Braze Flutter SDK
Other
15 stars 29 forks source link

Add registerApnsToken function for iOS #48

Closed wrbl606 closed 6 months ago

wrbl606 commented 1 year ago

If the app is having a custom logic to obtain APNS token from the user, the guide can't be applied. To circumvent this issue, let's just add a manual APNS registration method

hokstuff commented 6 months ago

Hi @wrbl606,

We have included these changes into our Flutter SDK 7.0.0 version with the introduction of the API BrazePlugin.registerPushToken(). We have standardized this implementation across both iOS and Android to use a single API and have deprecated BrazePlugin.registerAndroidPushToken().

Thank you!