Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Provide access to the native apple apnsToken value #602

Open
3 of 12 tasks
jonesdhtx opened this issue Mar 28, 2024 · 0 comments
Open
3 of 12 tasks

feat: Provide access to the native apple apnsToken value #602

jonesdhtx opened this issue Mar 28, 2024 · 0 comments

Comments

@jonesdhtx
Copy link

jonesdhtx commented Mar 28, 2024

Plugin(s)

  • Analytics
  • App
  • App Check
  • Authentication
  • Crashlytics
  • Cloud Firestore
  • Cloud Messaging
  • Cloud Storage
  • Performance
  • Remote Config

Current problem

We use firebase sdk for supporting push notifications for both iOS and Android. However we are integrating with another 3rd party service that will also be sending push notifications to our app for marketing purposes. This 3rd party service does not support firebase push notifications for iOS, they only support delivery via apple's APN. For this case we need to provide them the native iOS apn token. Obtained here:

Messaging.messaging().apnsToken = deviceToken

However, as far as I'm aware the application code cannot access this value through the current plugin api.

Preferred solution

Ideal solution would be have an additional method added like getAPNSToken() that can return this value for us

Alternative options

No response

Additional context

No response

Before submitting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants