Matt6607699
Posts: 0
Joined: Sat Jan 25, 2014 7:18 am

Open Links in Safari (iOS)/Native Browser

no, no I frames that I know of.
The app is shared with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a.
App name is DejaWho, The my_connections page has the link out(depending on certain conditions being met, users have to have a shared connection in order for the URL to be loaded on button click. )
a rel="nofollow"http://appery.io/app/view/8060df67-a509 ... ons.html/a

Thanks!

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Open Links in Safari (iOS)/Native Browser

Thanks, we'll take a look.

Matt6607699
Posts: 0
Joined: Sat Jan 25, 2014 7:18 am

Open Links in Safari (iOS)/Native Browser

ok thank you

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Open Links in Safari (iOS)/Native Browser

Hello!

Please post detailed steps to reproduce.

Matt6607699
Posts: 0
Joined: Sat Jan 25, 2014 7:18 am

Open Links in Safari (iOS)/Native Browser

  • I export the app as an xcode project.

    • Connect my iphone or ipad to the computer via cable.

    • unzip and click the .xcodeproj file to open it.

    • I click on my app name in the project Navigator and then select deployment target as 5.0.
      -select phonegap template"My Iphone/ipad device name"
      -I click the play button and let it build. Click ok when prompted.
      -Build succeeded. The app then installs onto my device and opens automatically.
      -I navigate to the my connections make and hit the view profile button to open the users profile in a browser. This is where the URL only opens inApp.

      In order for the "View Profile" button is appear with a link, two different users have to create a connection with each other by logging into the app with their social network profile(facebook, linkedin or instagram).

      I'll add a static link button to the page for testing so that you don't have to do that whole connection process. I'll update when its done.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Open Links in Safari (iOS)/Native Browser

Hi Matt,

Thank you, will wait for the update!

Matt6607699
Posts: 0
Joined: Sat Jan 25, 2014 7:18 am

Open Links in Safari (iOS)/Native Browser

I added the Test Link button and tested it via xcode. The test link opens the url in safari so it works normally.

I then Changed the code on my other buttons from:

codevar URL = localStorage.getItem('local_connection_URL');
var Status = localStorage.getItem('connection_status');
if (Status==="connected"){
window.open(URL,"_system");
}else{
console.log("The connections has not been completed by both parties, waiting on other party");
}/code

to

code
var URL = localStorage.getItem('local_connection_URL');
var Status = localStorage.getItem('connection_status');
if (Status==="connected"){
window.open('http://www.facebook.com','_system');
}else{
console.log("The connections has not been completed by both parties, waiting on other party");
}
/code
Changing the variable in window.open() to a static address did not produce different results as it still opened 'http://www.facebook.com' inApp instead of safari.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Open Links in Safari (iOS)/Native Browser

Matt,

Try this please:
prewindow.open(url,'_blank');/pre

Matt6607699
Posts: 0
Joined: Sat Jan 25, 2014 7:18 am

Open Links in Safari (iOS)/Native Browser

I changed all of the links to: window.open(url,'_blank');

They all opened windows inApp.

The test button opened inApp with a "done" button to close the window.
The other buttons opened inApp without a "done" button to close it.

Matt6607699
Posts: 0
Joined: Sat Jan 25, 2014 7:18 am

Open Links in Safari (iOS)/Native Browser

Any other ideas? I'm sort of at a loss on how to get this one to work.

Return to “Issues”