- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm developping a hybrid app for android and ios, the first and active tab is
NOTE : If i use an older working builded app, a got this problem anyway, only way for resolve problem is to change link for "http://sub1.
Here is four usefull exemples (i tried several different syntaxes, just for see if there is something new, but nothing happened) :
TRY 1 (never work) :
<access origin="*"/>
TRY 2 (never work) :
<access origin="http://*"/>
TRY 3 (before issue, never work) :
<access origin="http://
<access origin="http://*" launch-
<access origin="https://*" launch-external="yes"/>
TRY 4 (working for many builded apps then stuck on splashscreen) :
<access origin="http://
Thanks in advance for any help ! Ask me if you need informations.
Best regards.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try using the inAppBrowser plugin, you might have better luck with that. Push the (i) icon to see the documentation for it and search the web for examples of how to use it (search for "cordova inappbrowser plugin").
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Paul,
Thanks for helping me, but I don't think it can resolve my issue (or maybe i don't understood all features from inAppBrowser, explainations and exemples found on web talk about where to open url, i don't realy need that).
I just need (for the while) to display my website into my app with below this, three tabs created with ionic framwork :
Tab 1 : my website home, actually called with an iframe (I dont know if there is a better way to do this)
Tab 2 : contact form, with ionic/angular (not from iframe)
Tab 3 : specific page from my website into another iframe
It work fine on android with following domain whitelist :
<access origin="http://mydomain.net"/>
<access origin="http://*" launch-external="yes"/>
<access origin="https://*" launch-external="yes"/>
I want to get same thing on ios, any idea ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may find that such an app will be rejected by the Apple store -- they generally do not care for apps that are simple wrappers around web sites. There is a way to create an icon on a users' desktop that takes you directly to your web site. Search for "iphone desktop shortcut icon" to find some articles that are relevant.
Here's the docs I would recommend using for inAppBrowser: https://github.com/apache/cordova-plugin-inappbrowser#cordovainappbrowseropen
If you wish to use iframes, try this old sample: https://github.com/gomobile/sample-html5-support-test, you can download a ZIP of the project and then "open" using the XDK (Projects tab > Open an Intel XDK Project). It will likely do an update when you do an update, since it has not been updated in some time.
For more details on the domain whitelists, see this doc page: https://software.intel.com/en-us/articles/cordova-cli-412-domain-whitelisting-with-intel-xdk-for-ajax-and-launching-external-apps
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page