-
Notifications
You must be signed in to change notification settings - Fork 97
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
Upgrade to lastest android sdk #37
Comments
I needed to add the following to the OnCreate method
Then ensure the MainActivity class implemented IOnSuccessListener
Then adjust the listener method as it looks like it now just returns the token string
|
Error: Getting this error when using the above solution. Tried the below two ways to initialise it but no luck
Please advice |
Hi, I managed to update this part to the new Firebase, following @jonathan-caddy solution. In the OnCreate method in MainActivity.cs it should be:
This way you will get the token that is the FCM PNS Handle, which we need to register to Azure Notification Hub. |
I am experiencing the same problem @kiamajuliet describes. Any resolution for this? |
@robintschroeder I wrote out my complete solution to the bugs I faced while using the documentation here: https://github.com/MicrosoftDocs/azure-dev-docs/issues/929 Let me know if it helps. |
I am trying to upgrade to lastest android sdk.
I am facing some deprecated functions and get this exception.
Java.Lang.NoSuchMethodException Message=getToken []
Very clear, but i am stucked in how to get token
The text was updated successfully, but these errors were encountered: