Петар Томовић
Петар Томовић
Using Angular here, best solution I found is to set splashscreen duration to some reasonable time: ``` SplashScreen:{ launchShowDuration:2300 }, ``` and in my app.component.ts: ``` this.platform.ready().then(()=>{ setTimeout(async()=>{ await StatusBar.setOverlaysWebView({...
Until this is fixed I use: ``` if(Platform.OS==='android'){ OneSignal.Notifications.requestPermission(false); }else{ OneSignal.Notifications.requestPermission(); } ``` since on IOS it works if no arguments are present. And on android it must have argument.