Have a nativeApp property on the navigator object:
navigator.nativeApp === {
name: 'Name of app',
version: 'Version Number',
permissions: [{
name: 'Name of Permission',
enabled: true || false
}]
}
and a whole set of properties
Perhaps return the native app object, after resolved via a promise:
navigator.getNativeApp().then(function(nativeApp) {
// nativeApp being the object described above
});
Have a
nativeAppproperty on thenavigatorobject:and a whole set of properties
Perhaps return the native app object, after resolved via a promise: