0

I'm developing and iOS/Android application with Sencha Touch 2 and Phonegap 2.7.0. I'm trying to make a JS function that would open a given url in device default browser.

window.open(link, '_system'); works just fine for iOS, but neither this, nor any other ways work for Android. It either opens a link inside the app (instead of content), or doesn't open it at all.

I have <access origin=".*"/>; inside config.xml (tried different ways, none works).

Is there any way to make it work?

daniel__
  • 11,633
  • 15
  • 64
  • 91
Grin
  • 557
  • 1
  • 6
  • 19

1 Answers1

1

It was my mistake: I've accidentally copied iOS's cordova.js file into Android's project.

Grin
  • 557
  • 1
  • 6
  • 19