how to avoid to display white screen in ionic for ios - ios

Working with ionic app for IOS, I am facing one issue is that, when the app is open and then I click the home button of ios device. So then app is in background but after few seconds (may be after ~30 sec). I am trying to open the app from task manager that time on ios app shows me white screen.
Please let me know how I can avoid to display such white screen in ionic.

Related

Cordova iOS app closing shows the default cordova app icon for a fraction of a second and then shows the custom app icon

I am working with cordova phonegap iOS app. The app icon and splashscreen works perfect. But when i close the app, it shows the default cordova icon for a fraction of a second. Then it shows the custom app icon i set. Can you help me with a solution? Thanks in advance

After splash screen, display white screen long time after killing the application and launching again in ionic ios

I have an ionic application with both the platforms in android and iOS. The problem is that when the iOS application is launched for the first time it works smoothly but when we kill the application or launch the application again after coming from the background the white screen is shown and the application seems to get freezes there after showing the splash screen.
What is the problem and how to resolve it?
I am a native developer in iOS so in the case of native iOS we have an app delegate method for handling the application while coming from background like:
applicationDidBecomeActive(_:)
applicationWillEnterForeground(_:)
Is anything similar to these in ionic please have some light on this issue.

iOS8 black screen before splash screen on URL app launch

This bug can be reproduced using the soundcloud app.
download the soundcloud app onto an ios8 device and launch the app
minimize the app by pressing the home button and launch safari
google search "soundcloud hardwell"
click on a search result that will send you to soundcloud.com
at the top of the page should be a button "Listen on SoundCloud iOS", click it
as safari transitions to the soundcloud app there will be a few seconds where the soundcloud splash screen is not visible and will just appear as a black screen
currently I am experiencing a similar problem with my app. The app currently uses image assets for splash screens and i dont not experience the above UI bug. However in attempts to support iPad pro ive removed the image assests and am instead using a splash screen .xib file. Using the .xib splash screen file causes the black screen to appear only on iOS8. Any ideas what the problem is and how to fix it is?
Edit:
The twitter app also suffers from the bug mentioned above. This appears to be a bug in ios8?

iOS Safari, when running our web-app in stand alone mode, crashes iOS in background

We're developing a web app that extensively uses Cavas 2D for some demos, and is successfully running on both iOS and Android devices. Recently we've added stand-alone mode for iOS devices, so user has to "Add-To-Home-Screen" and run it using screen icon, just like regular app.
What happens recently is that after 10-12 times we start the web app on iPhone4:
Status bar (initially set to 'black') suddenly turns white and we cannot exit Safari (by pressing home button).
If we try to make screen shot (home + power button), shutter sound is played as if screen shot was taken and saved.
If we try to lock the device (power button), screen turns black, but no action after that can bring unlock-screen or any screen for that matter - display remains black.
We can only do reset by pressing home + power for 10 seconds after this point.
If we do not lock the device, web app continuously work with no issues at all, it does not crash, but cannot exit it (double click on home button also has no result).
Has anyone experienced this with their web apps?
Any guidance in how to debug this would be highly appreciated. We've tried using Safari on OSX, connect iPhone to it and use Develop -> iPhone menu but no luck so far.
Thanks in advance!
I would start trying to debug by running XCode with the iPhone connected to the computer.
In XCode open "Organizer" and go to the tab "Devices".
You should see your device there, from which you can view the iOS console. That might be able to tell you what is going wrong with the phone stops responding.
I don't think you have to put the phone in development mode (or be a paid developer) to see the iOS console.

Replace snapshot image (taken by iOS when app goes to BG) when app resumes

I need to hide/replace the screenshot image taken by iOS when app goes to background.
The purpose is to display different image(similar to splash screen) instead of screenshot taken by iOS.
Also i cannot add any screen on window when app goes to background because that will cause showing of the added screen every time when app resumes.
What i want is in some circumstance the should not show the screenshot taken by iOS when app resumes and instead of that i should be able to show different splash screen.
Thanks
Rohit

Resources