As mentioned in the title i can’t subscribe to my onesignal project from my devie.
when i launch the app it shows 2 alerts saying ( making request and request successfully finished )
but suddenly the app closes.
my platform is android 7.1.0 with onesignal 2.4.1
the code used
window["plugins"].OneSignal.setLogLevel({logLevel: 6, visualLevel: 6});
var notificationOpenedCallback = function(jsonData) {
console.log('notificationOpenedCallback: ' + JSON.stringify(jsonData));
};
window["plugins"].OneSignal.startInit("4c848104-daba-448e-bd62-a2b64b565a87", "985484105915");
window["plugins"].OneSignal.handleNotificationOpened(notificationOpenedCallback);
window["plugins"].OneSignal.endInit();