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

Device token is not generated #13717

Open
sumit-vts opened this issue Sep 25, 2024 · 3 comments
Open

Device token is not generated #13717

sumit-vts opened this issue Sep 25, 2024 · 3 comments

Comments

@sumit-vts
Copy link

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

@ncooke3
Copy link
Member

ncooke3 commented Sep 25, 2024

Hi @sumit-vts, does #10679 (comment) help explain this behavior?

@google-oss-bot
Copy link

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!

@sumit-vts
Copy link
Author

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

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

3 participants