Hi there,
I’m testing an portal inside a cordova app. This is just a cordova app that opens a webpage as fullscreen.
<script>
function onDeviceReady() {
if (navigator.connection.type == Connection.NONE) {
navigator.notification.alert('An internet connection is required to continue');
} else {
window.location="http://www.myapp.com";
}
}
document.addEventListener("deviceready", onDeviceReady, false);
</script>
Everything went fine and navigation has same behaviour than on native browser (tested in ios/safari and ios/corvova) except for uploadcare widget when uploading mobile videos (from ios photo library).
They are uploaded with 0 zero bytes when uploadcare in invoked at cordova-browser. Is there anything that i must allow specifically on cordova-app to allow mobile-movies ?
Note that,
- with pictures i don’t have any problem (on safari or cordova-browser)… picture is uploaded and i even can crop.
- with mobile movies… they work as expected on webpage with safari… but when webpage is running inside cordova-browser and after opening uploadcare browser they have zero bytes after selecting movie from iphone photo library.
Can someone help here?
Thanks