android - why does a very simple phonegap app use mobile data plan? -


I have created a very simple mobile app with phonegap which does nothing related to the network, all resources (images, CSS, etc.) are local and I do not call any AJAX calls on any remote server. But when I check the mobile data screen on my phone, I think that he has used some data to see the screenshot braille (the fourth app called the "Chervoym Phonegap Test") It is called 308 KB and he Was in 5 hours.

Enter image details here

clicking on it Background breaks: 217 KB

html:

 < Code> & lt ;! DOCTYPE html & gt; & Lt; Html & gt; & Lt; Top & gt; & Lt; Meta http-equiv = "content-type" content = "text / html; charset = UTF-8" /> & Lt; Meta name = "viewport" content = "user-scalable = no, width = device-width" /> & Lt; Script type = "text / javascript" src = "phonegap.js" & gt; & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; ... & lt; / Body & gt; & Lt; / Html & gt;  

I have built a phonegap build and with my config.xml:

   & Lt; Priority name = "android-installLocation" value = "auto" /> & Lt; Priority name = "orientation" value = "picture" /> & Lt; Priority name = "fullscreen" value = "true" /> & Lt; Gap: plugin name = "org.apache.cordova.media" /> & Lt; Feature name = "http://api.phonegap.com/1.0/network" /> & Lt; Access Basic = "*" /> & Lt; Gap: platform name = "Android" /> & Lt; / Widgets & gt;  

In the document it says:

    

Is this an indication that PhoneGrap is actually related to some networks behind the scenes?

Edit: In case I'm using Nexus 5 (Android 4.4.4) and I have enabled "Developer Mode" and ART Runtime.

Creating an app in PhoneGap build with the "Enable debugging" option & lt; / Body & gt; .

  & lt; Script type = "text / javascript" src = "http://debug.build.phonegap.com/target/target-script-min.js#35fd7e24-189-11e4-8c3c-e63707b18140" & gt; & Lt; / Script & gt;  

It is used for the remote debugger of PhoneGap Build.

Building without the "Enable debugging" option does not inject this remote script. Therefore, the app designed for production use will not really use any mobile data as I initially thought it would be.


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -