I tried to install simple widget by BitcoinAverage or Coindesk, and the two are not shown on device I used their iframe script. they work great on web and on phone gap desktop App
I've added this
I've added this
<allow-navigation href="https://bitcoinaverage.com/*"; />
<access origin="https://bitcoinaverage.com"; subdomains="true" />
- 6 Posts
- 1 Reply Like
Posted 3 years ago
- 724 Posts
- 3 Reply Likes
<plugin name="cordova-plugin-whitelist"/>
Did u tried this plugin in your config.xml file?
Did u tried this plugin in your config.xml file?
- 6 Posts
- 1 Reply Like
Yes I used it , ver 1.2.2
didn't help yet
didn't help yet
- 724 Posts
- 3 Reply Likes
Since this is your first post, please answer the following question.
- Is this your first hybrid App?
- Are you using the Desktop App?
- Are you using CLI, SDK or Build? Please do not assume the answer, please read the link.
Thanks
Saba
- Is this your first hybrid App?
- Are you using the Desktop App?
- Are you using CLI, SDK or Build? Please do not assume the answer, please read the link.
Thanks
Saba
- 6 Posts
- 1 Reply Like
How is this relevant?
No, not the first App
Yes
I've used the Build.,
No, not the first App
Yes
I've used the Build.,
- 724 Posts
- 3 Reply Likes
1. In which OS does this happen?
Can I have a look of your config. xml?
Can I have a look of your config. xml?
- 6 Posts
- 1 Reply Like
In Android (4.1.2) and other devices too in google console emulator..
config.xml
config.xml
<preference name='phonegap-version' value='cli-6.5.0' />
<!-- Define the main entry-point to the application -->
<content src="index.html" />
<preference name="permissions" value="none"/>
<!-- Customize your app and platform with the preference element. -->
<preference name="DisallowOverscroll" value="true" />
<!-- android: MIN SDK version supported on the target device. MAX version is blank by default. -->
<preference name="android-minSdkVersion" value="14" />
<!--social sharing-->
<feature name="SocialSharing">
<param name="android-package" value="nl.xservices.plugins.SocialSharing" />
</feature>
<platform name="android">
<!-- Modify the android-manifest block and add the new property android:installLocation with value auto !-->
<preference name="android-manifest/@android:installLocation" value="auto" />
</platform>
<access origin="https://www.google-analytics.com"; />
<!-- Plugins -->
<icon src="icons/icon.png" />
<!-- Core plugins
<plugin name="cordova-plugin-battery-status" source="npm" spec="~1.1.1" />
<plugin name="cordova-plugin-camera" source="npm" spec="~2.1.1" />
<plugin name="cordova-plugin-media-capture" source="npm" spec="~1.2.0" />
<plugin name="cordova-plugin-device-motion" source="npm" spec="~1.2.0" />
<plugin name="cordova-plugin-device-orientation" source="npm" spec="~1.0.2" />
<plugin name="cordova-plugin-geolocation" source="npm" spec="~2.1.0" />
<plugin name="cordova-plugin-splashscreen" source="npm" spec="~3.2.1" />
<plugin name="cordova-plugin-media" source="npm" spec="~2.2.0" />
<plugin name="cordova-plugin-vibration" source="npm" spec="~2.1.0" />
<plugin name="cordova-plugin-file-transfer" source="npm" spec="~1.5.0" />-->
<plugin name="cordova-plugin-dialogs" spec="1.2.1" />
<plugin name="cordova-plugin-statusbar" spec="2.1.3" />
<plugin name="cordova-plugin-whitelist" spec="1.2.2" />
<!-- <plugin name="cordova-plugin-globalization" source="npm" spec="~1.0.3" /> -->
<plugin name="cordova-plugin-file" spec="4.1.1" />
<plugin name="cordova-plugin-inappbrowser" spec="1.3.0" />
<plugin name="cordova-plugin-network-information" spec="1.2.1" />
<plugin name="cordova-plugin-device" spec="1.1.4" />
<access origin="https://bitcoinaverage.com"; subdomains="true" />
<!--Firebase-->
<!--<plugin name="cordova-plugin-firebase" spec="0.1.19" />-->
<!--social plugin-->
<plugin name="cordova-plugin-x-socialsharing" spec="5.1.6" />
(Edited)
- 724 Posts
- 3 Reply Likes
<allow-navigation href="*" />Try to add above line into your config.xml file.
- 6 Posts
- 1 Reply Like
- 6 Posts
- 1 Reply Like
Just my update: It seems to work with several Android devices.
My guess it works for Android 5/6/7 +
My guess it works for Android 5/6/7 +
Related Categories
-
PhoneGap Framework
- 2926 Conversations
- 61 Followers
-
PhoneGap Build
- 15111 Conversations
- 275 Followers
-
Plugins
- 1283 Conversations
- 38 Followers

