firebase-ios-sdk icon indicating copy to clipboard operation
firebase-ios-sdk copied to clipboard

Device token is not generated

Open sumit-vts opened this issue 1 year ago • 5 comments

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

sumit-vts avatar Sep 25 '24 07:09 sumit-vts

Hi @sumit-vts, does https://github.com/firebase/firebase-ios-sdk/issues/10679#issuecomment-1402776795 help explain this behavior?

ncooke3 avatar Sep 25 '24 09:09 ncooke3

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!

google-oss-bot avatar Oct 02 '24 01:10 google-oss-bot

Hi I still facing the same issue. and device token delegate method is not called

sumit-vts avatar Oct 05 '24 10:10 sumit-vts

hi any update on this

sumit-vts avatar Oct 17 '24 11:10 sumit-vts

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.

rizafran avatar Oct 17 '24 13:10 rizafran

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!

google-oss-bot avatar Oct 24 '24 01:10 google-oss-bot

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.

google-oss-bot avatar Oct 30 '24 01:10 google-oss-bot