Something that wraps:
iOS:
var url = NSURL.URLWithString("http://www.facebook.com");
UIApplication.sharedApplication().openURL(url);
Android:
var application = require("application");
var Intent = android.content.Intent;
var context = application.android.context;
var browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com"));
context.startActivity(browserIntent);Reactions are currently unavailable
Something that wraps:
iOS:
var url = NSURL.URLWithString("http://www.facebook.com"); UIApplication.sharedApplication().openURL(url);Android: