firebase-ios-sdk
firebase-ios-sdk copied to clipboard
Device token is not generated
Description
we updated our firebase sdk from 6.34.0 to 11.1.0. after update the SDK the device token in not generated even delegate method func messaging(_ messaging: Messaging, didReceiveRegistrationToken fcmToken: String) even not called
code in func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. FirebaseApp.configure()
Messaging.messaging().delegate = self
UNUserNotificationCenter.current().delegate = self
return true
}
Reproducing the issue
No response
Firebase SDK Version
11.1.0
Xcode Version
15.3
Installation Method
CocoaPods
Firebase Product(s)
Messaging
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
No response
If using CocoaPods, the project's Podfile.lock
No response
Hi @sumit-vts, does https://github.com/firebase/firebase-ios-sdk/issues/10679#issuecomment-1402776795 help explain this behavior?
Hey @sumit-vts. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
Hi I still facing the same issue. and device token delegate method is not called
hi any update on this
Hi @sumit-vts, I wasn't able to reproduce the issue. May I know if your swizzling is enabled? Also, make sure that you're using the correct APNs Auth key in the console.
Hey @sumit-vts. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
Since there haven't been any recent updates here, I am going to close this issue.
@sumit-vts if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.