I got alert 1 and 2…but not coming to 3…
and also, I can’t see my device on dashboard / users added on iOS
I don’t think I did wrong with code…
ionViewDidLoad(){
alert("loaded");
if(this.platform.is("ios")){
alert("1")
var iosSettings = {};
iosSettings["kOSSettingsKeyAutoPrompt"] = true;
iosSettings["kOSSettingsKeyInAppLaunchURL"] = false;
alert("2")
// Initialize
window["plugins"].OneSignal
.startInit("app key on one signal dashboard")
.iOSSettings(iosSettings) // only needed if added Optional OneSignal code for iOS above
.endInit();
alert("3")
}
}