poetic/ember-cli-cordova

How can I prevent the browser from opening when the app starts?

Closed this issue · 5 comments

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?

Probably the same issue as #174!?

I think it is. Did that resolve for you?

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?

Uploading config.xml.txt…

screenshot_2016-03-10-12-00-20

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!

Im experiencing this on device - any tips ?