Search code examples
cordovaionic-frameworkphonegapionic4

"Ionic v4"-App build with Phonegap shows white screen


I've written an App with Ionic v4. With Ionic I can build the APK. For Phonegap I created a .zip file out of the www folder including adjusted config.xml and resources folder.

On build.phonegap.com it builds and I can download it via QR-Code. After installing the app it briefly shows the title of that application, but afterwards there's just a white screen.
Already tested a starter porject - ionic start [name] tabs - in version 3 and 4. Version 3 was working; Version 4 same issue.

Is there a way to make ionic v4 working or do i have to switch back to v3?


Solution

  • My guess is that your routing is not setup correctly. Routing was one of the big changes in ionic 4. Try to find a migration guide to fix the changes in your code of the ionic framework. Try this guide Klik here