How can I prevent the browser from opening when the app starts?
Closed this issue · 5 comments
litao10422 commented
I built an apk and installed it to my android phone by following the 'Getting started', the apk works, but it opens a browser while starting up, that is not what I expected.
How can I prevent the browser from opening when the app starts?
simonihmig commented
Probably the same issue as #174!?
alexblom commented
I think it is. Did that resolve for you?
litao10422 commented
Hi, Thank you, simonihmig, AlexBlom.
I tried to add a line
<allow-navigation href="http://10.0.2.2:4200/*" />
into /cordova/config.xml, but a browser was still opened.
I made some mistakes?
litao10422 commented
hi, It works!
I tried to change the line as follows:
<allow-navigation href="http://10.0.1.12:4200/*" />
since in \config\environment.js emberUrl is defined as:
emberUrl: 'http://10.1.1.12:4200‘,
Thank you very much!
nicwillemse commented
Im experiencing this on device - any tips ?