Hi, all work very well on Chrome, Android but on my iOS emulator and my iPhone-6 Plus device, I’m always getting stuck after the SplashScreen, only issue is to press Home Button and re-open app… But i can’t publish my app with this bug …
I already try everything I find on the internet…
Hope you could save me.
Thank you and have a good night.
check for errors in safari console
ionic emulate ios --target=“iPhone-6” show errors in safari console ? :o
Thank you for both of you, after checking my console in safari, I update my index.html with adding
`<meta http-equiv="Content-Security-Policy" content="default-src gap://ready file://* *; script-src 'self' 'unsafe-eval' *; style-src 'self' 'unsafe-inline' *"> <!-- <meta http-equiv="Content-Security-Policy" content="default-src gap://ready file://* *; script-src 'self' 'unsafe-inline' 'unsafe-eval' *; style-src 'self' 'unsafe-inline' *"> -->`
But after doing this i get always an error (not affecting performance on device and chrome) when i’m on “ionic serve”
“Refused to execute inline script because it violates the following Content Security Policy directive: “script-src ‘self’ ‘unsafe-eval’ *”. Either the ‘unsafe-inline’ keyword, a hash (‘sha256-gpnLwpFw97DB28/JjA3G79AHgq5DtCgFiFwjahrA1d4=’), or a nonce (‘nonce-…’) is required to enable inline execution.”
I always need to refresh my page for update (livereloading didn’t work i guess), any issue on this ?
I designing like a website in my localhost. My console shows me any errors.
Since my update in Content Security Policy, I always need to refresh manualy my browser (Chrome)… Sound like Livereload is broken…
May seem cliché but check out my YouTube videos.
I make programming tutorials and I use the background data processing methods I find to be more suitable for ionic apps.