I am struggling to get a build of an Ionic 1 project.
I renamed my ionic.project to ionic.config.json
I can run Ionic serve and that app starts, but it wont go past the intro screen. The same goes for running it the simulator or actual device. Debugging shows no errors at all.
Bump - also having this issue for both Android and iOS builds. Existing ionic 1 project with cli upgraded to 3.19.0.
In my case, ionic serve works just fine, but the “Not performing Ionic build for project type: ionic1” appears when building for devices. Technically, the builds succeed, but it only produces a blank screen after the splash goes away. No console errors.
I’ve found one stack overflow post that recommends reinstalling a version of the cli before 3.0, but I would prefer to use the latest versions for iPhone X support.
Good to know! I couldn’t find documentation about that warning anywhere, so I’m glad it’s not the issue.
White screen appears on Android after splash screen. I can tell it’s running through some of the code - I’m using Chrome to debug the app on a device and it seems to be initializing the first screen, but nothing displays. iOS has actually worked when running on a device, but fails every time on the simulator. Exits as soon as the splash screen times out.
No issues with a fresh Ionic 1 project, it was able to run and attach just fine.
In fact, I was just able to get the app running on the iPhone X simulator after waiting an extremely long time. It took 3 whole minutes to start up and get past the splash screen this time.
Here’s what I did:
remove the platform
re-add it
run pod install on the platform/ios directory
open the workspace with XCode
attempt to run on the iPhone X simulator… and have it fail once
try a second time, and it worked… after 3 minutes startup time
So, it’s worked… but I don’t know what’s different than before, or if it will also take 3 minutes to start up on a physical iPhone X. Typically startup time for my app is around 5-10 seconds, even on a simulator. It would be funny if this wasn’t like the majority of my experiences updating ionic with new versions or plugins.
Edit: While monitoring output from the iPhone X simulator, it appears that some plugins are taking an excessively long time to start up. Almost a full minute in some cases. As far as Android goes, still getting the white screen, but I did notice the following appearing in the console:
deviceready has not fired after 5 seconds.
Channel not fired: onCordovaInfoReady
Channel not fired: onFileSystemPathsReady
Channel not fired: onCordovaConnectionReady
After a quick search, it appears that it could be any plugin at all preventing deviceready from firing. At least it’s consitent with what I’m seeing in the output from the iPhone X simulator, so I know to focus on the plugins next.