- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I'm developing an app with cordova Inappbrowser plugin, the app have 5 buttons that use the extPage() function in order to open an external web page. I tested my application on ANDROID and now the application is published on play store and work percfectly. the problem is under iOS because when i press the button in the app that call the extPage() function (the extPage() funtion contain var ref = window.open('http://www.mysite.com/default.htm', '_self', 'location=no');) the system open a blank screen for 1 sec before open the dfault.htm page, and this temporary blank screen cause the rejection from the apple revisor ! After 1 sec or less the inappbrowser open regolarly my web page and all work perfectly.
I can't understand why this is a problem and I don't know how to solve this issue.
Can anyone help me ?
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use inappbrowser plugin but my command is
cordova.InAppBrowser.open(URL, '_blank', 'location=yes');
It works to me. Try it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Hamilton,
many thanks for your answer, I tried in local under WifI and work fine, now I try to publish the app on App Store and I hope will be not rejected for the same problem !
I will inform you about !
thanks again
Luca
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Luca> if you have an Apple device, send your .api file to review. Meanwhile, use the TestFlight to see it is working well on iOS. For me, no problem. I have some apps published at Apple Store with this function, without problem. Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I used cordova.InAppBrowser.open(URL,
'_blank'
,
'location=yes'
); instead window.open and the app was correctly published on apple market.
I tryed in local under Wifi with Intel App Preview and all work fine.
The problemis that if I download the app from the AppStore on my Iphone and try to push a button in the main menù (the first button use cordova.InAppBrowser.open(mysite,
'_blank'
,
'location=yes'
);) the system show me a blank page and my destination link not appear !
All buttom that use cordova.inappbrowser.open show only a blank page !
Why ? What I cando ...
I'm desperated ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Luca> I am not sure, but did you grant full access in White List properties?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
could be, because I left only the standard entry as follow :
IN NETWORK REQUEST:
http://debug-software.intel.com/*
https://debug-software.intel.com/*
IN INTENT :
IN NAVIGATION is blank
do you suggest to put my wesiste in each list ? or in a specific one ?
Many thanks for your help ! I appreciate it !
Luca
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Luca -- yes, you need to update the whitelist entries to match the site or sites you are referencing. If I understand the way you are referencing those site links, you may also have to add them as NAVIGATION entries, as well as NETWORK REQUEST entries. Go here for an intro to whitelist rules > https://software.intel.com/en-us/xdk/docs/using-cordova-whitelist-rules-with-intel-xdk < and see the image below for a version of rules that overly permissive (you should also consider using CSP rules):
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page