It depends on the underlying system web view. Use http://caniuse.com/#feat=css-grid to see support. Unfortunately unless you are targeting only recent OS versions, you'll probably need to use something else, like flexbox.
Oh, I see. You're referring to PhoneGap Build? Cordova is the same thing as PhoneGap and it's super simple to build locally. You can take the same code you were sending to PhoneGap Build and easily build it with the Cordova CLI: https://cordova.apache.org/docs/en/3.1.0/guide/cli/index.html
You might want to take a good look at <https://cordova.apache.org/docs/en/latest/platform_plugin_versioning_ref/index.html> – assuming you’re using a recent version of Cordova, most of this can be managed for you. Then, anyone who clones your repo only needs to worry about installing cordova, cloning your repo, and running any command that involves a prepare
step (like build
, etc.).
thanks for your reply.
I have finally figure out a temporary solution.
$(document).on("pageinit", function(event){
$("#videos").addClass("ui-disabled");
});
this code disables the ui when the app is opened
$(document).on("pageinit", function(event){ $("#unlock").click(function(){ $("#videos").removeClass("ui-disabled"); }); });
the code re-enables it. you use a click button function or you can use the after reward shows event to enable it. it's a temporary solution because when the user reopens the app the UI will be disabled again.
here the finished app https://play.google.com/store/apps/details?id=com.sagacityapps.pianoforbeginners
I posted this to /r/html5 the other day.
I don't think there is reason to "worry" as the hype in the article suggests. However, PhoneGap devs should be aware of this code injection technique.
Also, if using jQuery, use .text() instead of .html()
.html() allows code injection
.text() does not allow code injection
Screenshots + Paint.NET + Screenshot Properties
Use Paint.NET (e.g. Ctrl + R and Ctrl + Shift + R) to adjust the screenshot to the respective size for each device. Save and upload for each device requirement.
Note that some frameworks (e.g. Ionic) will make UI changes depending on the device type. Your app on iPhone will look slightly different than on Android.
If there is at least ONE person in your social circle with an Apple device, add their UUID to the development provisioning profile and use PGB to install it and take screenshots.
Check out the ionic framework. I struggled with getting started and once I found ionic, I was off and running. Take a quick tut (codeschool.com has free one) on angularjs if you're not already familiar. Also check out ngcordova and the phonegap app (lets you test on the phone without having to build, install ..etc. Note: Plugins (ngcordova) don't work through the phonegap app. I learned that the hard way after beating my head against the wall for about an hour trying to get a plugin to work.
No there's not real need to use MVC to make an app feel native, however using some type of framework (such as angular and Ionic) will greatly help for organization and cross-platform development. So, would recommend.
May I ask why don't you use some framework? There is great stuff for Phonegap out there like (ionicframework)[http://ionicframework.com/] and (onsenui)[http://ionicframework.com/]
I am right now switching from jqueryMobile to ionicframework and let me tellya that shit is amazing
There are a variety of analytics plugins for Cordova that would probably do the trick. You can search for plugins at https://cordova.apache.org/plugins/?q=Analytic
I'm not aware of any existing stats on this tho. I do know that it isn't unusual for a user's web view to be a few versions out of date, unfortunately. That may change with Android 7 since the web view is tied to Chrome, and I suspect people are more likely to update Chrome due to name recognition.