Closed matthewrdev closed 1 year ago
@matthewrdev Thanks for your question. Depending on your use-cases you may want to use OneSignal.Default.PushSubscriptionState.userId
and / or PushSubscriptionStateChanged
@jkasten2 Excellent, thanks for the quick answer!
This resolved the issue and I've successfully completed the migration.
How can we help?
In order to comply with Googles minimum Android v31 targeting requirements, I am migrating a clients app's OneSignal SDK from the Com.OneSignal nuget package to the OneSignalSDK.Xamarin package.
In the previous SDK, there is the following method/callback:
However, in the new SDK, the
OneSignal.Default
instance does not have a matching method nor aGetPlayerId
function (that I can see).The SDK documentation still shows
IdsAvailable
as a usable method (referring to the old OneSignal.Current methodology) but does not show a replacement.Code of Conduct