Phonegap build config.xml -
i have hybrid app built phonegap. if compile app using android studio / xcode working fine, want use phonegap build. when starting app built phonegap on android device, doesn't work. seems permission issue. app requires internet connection , access location services. have no idea on how include in config.xml
.
any idea?
add config.xml
<preference name="android-build-tool" value="gradle" /> <plugin name="cordova-plugin-whitelist" /> <access origin="*"/> <allow-navigation href="*" /> <allow-navigation href="data:*" /> <allow-intent href="*" /> <allow-intent href="itms:*" /> <allow-intent href="itms-apps:*" /> <allow-intent href="http://*/*" /> <allow-intent href="https://*/*" /> <allow-intent href="tel:*" /> <allow-intent href="sms:*" /> <allow-intent href="mailto:*" /> <allow-intent href="geo:*" /> <allow-intent href="market:*" />
the wildcards allow everything, per intent examples can more specific.
Comments
Post a Comment