I am stuck with opening links in a new window.
Everything I've tried has resulted in the link being opened within my App, leaving me without a way to either navigate back or exit from the link.
Help?
-
Rachel,
When opening a link on the device - use the cordova plugin to open the links.
https://cordova.apache.org/docs/en/la...
Best,
Bruce -
-
Hello Rachel,
Please see our tutorials for JQM applications: https://docs.appery.io/docs/cordova-j...
And for Ionic applications: https://docs.appery.io/docs/cordova-i... -
-
Hi all,
thank you for the feedback. unfortunately neither of these options worked on my iphone once the app was updated.
The biggest issue is that once the link is clicked on and opened in the app-i am unable to go back to the previous page. I get stuck where I can't navigate off of the web page and back into the app without closing out the app entirely and signing back in. -
-
Have you enabled the inAppBrowser plugin? How do you test it, using Appery.io Tester app, or directly from the application?
-
-
I don't think I have enabled the inAppBrowser. Can you give me details on how to do that?
Additionally, I am testing the app directly through the application -
-
Please see it in Project->App Settings->Cordova plugins https://docs.appery.io/docs/cordova-c...
-
-
Hello Serhii,
I have InAppBrowser 1.71 Cordova Plugin Selected in my app settings.
I have a button running java script with the window.open command.
It opens the website with the done button to return to the app.
The website page opens to large to fit in the browser.
When i open the website in Safari on my phone it fits the browser.
Do I have to set any options in the cordova plugin options settings in the app settings area?
I am also using _blank and location = yes int the window.open commmand
Any help would be appreciated.
Thanks,
DeWayne -
-
-
-
-
-
Have you checked all 3 parameters here (_self, _blank, _system)
Please see all the parameters, which are available for that plugin here: https://cordova.apache.org/docs/en/la... -
-
Ok so far this is what I have done.
InAppBrowser is checked (I don't have anything listed in Cordova plugin options see picture above)
I have a Label, with Event "on Click", Run Javascript, cordova.InAppBrowser.open('https://www.google.com/', '_system', 'location=yes');
This function works in the Appery.io tester app but does not work on the downloaded iOS app from the Apple Store
When I click on the label within the Apple App, nothing happens.
However when I used window.open('https://www.google.com/', '_system', 'location=yes');
I am directed to the correct page but I have no navigation bar
Am I missing something? -
-
1. Click on labels doesn't work on iOS devices, please use buttons for that
2. You can add the navigation bar by adding a parameter toolbar=yes and hideurlbar=no
3. All parameters have to be in the string, separated by a comma, like 'location=yes,toolbar=yes'
4. What libraries version do you use in your project?
5. Be sure you've rebuilt the application and uploaded a new version after enabling the inAppBrowser plugin. The auto-update feature can't add the Cordova plugin, so you have to build it everytime you change a list of Cordova plugins -