You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[i am using in my react native app onesignal version 4.5.0 but onesignal's update their version with 5.0.0 know i did not get OneSignal.getDeviceState() function because they change their functions , this function is not recongnized in new new version how i get DeviceState]:
#1562
Initially tokens, id not getting.if any changes made in code and save then only values getting.please help to get automatically value gets initially app open
How can we help?
OneSignal.Debug.setLogLevel(LogLevel.Verbose);
// OneSignal Initialization
OneSignal.initialize("key")
OneSignal.Notifications.requestPermission(true);
// Method for listening for notification clicks
OneSignal.Notifications.addEventListener('click', (event) => {
console.log(event , "LLLLLL")
console.log('OneSignal: notification clicked:', event);
})
Code of Conduct
The text was updated successfully, but these errors were encountered: