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 ?
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 !
@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.
I used cordova.InAppBrowser.open(URL,
); 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,
);) 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 ...
could be, because I left only the standard entry as follow :
IN NETWORK REQUEST:
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 -- 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):