You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Plugin(s)
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:
capacitor-firebase/packages/messaging/ios/Plugin/FirebaseMessagingPlugin.swift
Line 203 in 327f1c3
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 usAlternative options
No response
Additional context
No response
Before submitting
The text was updated successfully, but these errors were encountered: