'm starting Ionic 2, I created a sample CRUD using the cordova-sqlite-storage, I have a smartphone with Windows Mobile and another 10 with Android 6.0.
The application ran on both devices, however on Windows Phone the SQLite plugin didn’t work, making the stock listing, write, delete and edit. Already on Android didn’t have this problem, the application worked perfectly. What could have been the problem?
I am using Intel XDK to generate the .apk file and appx. the application by having just a notebook with Linux. It would be the app permissions? How to add these permissions in config.xml?
Current config.xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<widget id="com.ionicframework.money170267" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Money</name>
<description>An Ionic Framework and Cordova project.</description>
<author email="hi@ionicframework" href="http://ionicframework.com/">Ionic Framework Team</author>
<content src="index.html"/>
<access origin="*"/>
<allow-intent href="http://*/*"/>
<allow-intent href="*"/>
<allow-intent href="https://*/*"/>
<allow-intent href="tel:*"/>
<allow-intent href="sms:*"/>
<allow-intent href="mailto:*"/>
<allow-intent href="geo:*"/>
<platform name="winphone" />
<access origin="*"/>
<preference name="windows-publisher-id" value="-----"/>
<preference name="windows-publisher-display-name" value="Leonardo Vilarinho"/>
<preference name="Fullscreen" value="true"/>
<preference name="windows-target-version" value="10.0"/>
<preference name="windows-phone-target-version" value="10.0"/>
<preference name="windows-arch" value="arm" />
<platform name="android">
<allow-intent href="market:*"/>
</platform>
<platform name="ios">
<allow-intent href="itms:*"/>
<allow-intent href="itms-apps:*"/>
</platform>
<preference name="webviewbounce" value="false"/>
<preference name="UIWebViewBounce" value="false"/>
<preference name="DisallowOverscroll" value="true"/>
<preference name="android-minSdkVersion" value="16"/>
<preference name="BackupWebStorage" value="none"/>
<preference name="SplashScreenDelay" value="2000"/>
<preference name="FadeSplashScreenDuration" value="2000"/>
<feature name="StatusBar">
<param name="ios-package" onload="true" value="CDVStatusBar"/>
</feature>
</widget>