![]() My Ionic Info is as follows:Ĭordova Plugins : cordova-plugin-ionic-keyboard 2.1.3,Ĭordova- plugin-ionic-webview 3.1. ionic cap run android -l -external Notice a new file is created alongside the existing nfig. I am stuck with the above problem - I will highly appreciate if any fellow devs could get me out of this soup!! Live reload uses HTTP as protocol but an APP without live reload uses the native File System (For example file:// in Android). watch ready in 9.98 sįinally I added the following permissions to AndroidManifest.xml - Since we are in an app with a browser environment we can just take a look to the URL used. dev-logger-port 53703 -consolelogs -nobrowser -iscordovaserve > ionic-app-scripts serve -address 0.0.0.0 -port 8100 -livereload-port 35729 Then I added an Inbound Rule to my Windows Firewall to allow specifically the following ports : 8100, 35729, 53703 as these appeared on the console with the following command: ionic cordova run android -livereload -consolelogs The only way to test my app is using ionic cap build android, but it is very time consuming. All these steps are done on the Windows computer. So lets start making the developing environment ready for our viewer app. It wont work yet because the server are not set up yet. With this in mind, we added the ability to have LiveReload run when you’re testing. This allows you to develop your app in the browser and have it update instantly when changes are made to any development files. I tried install ionic/clitesting as mentioned in THIS ISSUE, but didn't work. To make the viewer app for android just do: ionic run android. One of the best features of the CLI is the LiveReload server that gets started when you run ionic serve. So it specifically mentions loadUrlTimeoutValue as 700000 - but that did not have a positive effect ! ionic capacitor run android -livereload -external. In one of my projects where the -livereload flag was working, suddenly the feature is not working but I see Launch Success message on my console.Īfter launching the app on my android device the Splash screen stays on infinitely and then a message appears as Application Error
0 Comments
Leave a Reply. |