I'm new to Ionic and I followed Ionic 4 doc. I just install using ionic start myApp sidemenu --type=angular
and didn't modify any code and it works on the browser without any issues. But when I check this on Ionic dev app on the phone it shows a blank page.
And I tried to build the "apk" file and tried to run on the phone. Again it shows the blank page.
Not sure what I missed, I just followed all the instruction mentioned in the doc.
Any ideas ?
I had the same issue, with Ionic Capacitor. On newer devices or on the web, everything worked ok, but on an older phone, with Android 9, I would get a blank screen.
The error that I got with Insect was at line
cap.handleError = err => win.console.error(err)
Another error for this problem was: Cannot read properties of undefined (reading 'startsWith')
My solution was to modify in tsconfig.json from "target": "es2020" to "target": "es2018"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With