Answer the question
In order to leave comments, you need to log in
Interaction of cordova 5 functions with loaded site, how?
onDeviceReady: function() {
var ref = cordova.InAppBrowser.open('http://site.ru', '_blank', 'location=no');
ref.addEventListener('loadstart', function(event) {
ref.executeScript({ code: "window.isCordovaApp=true;" });
});
};
function getImage() {
anyCordovaPlugin();
alert('aby action');
}
<button onclick="getImage();">Upload a Photo</button>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question