function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
pk1772pk1772 

How to open default browser to a specific url from Mobile Publisher App (andriod/ios)?

Is there any way that I can open the default browser from my branded mobile publisher app and to a specific url? There seems to be limitaion on file download in mobile apps and as a workaround I am trying to open the default browser(eg. chrome for android, safari for ios) on the mobile device to download the file. I am looking for something similar like Inappbrowser plugin (http://cordova.apache.org/docs/en/9.x/reference/cordova-plugin-inappbrowser/index.html) in Cordova that can be handled from JS code - 
cordova.InAppBrowser.open('http://apache.org', '_system', 'location=yes');

Of if something can be achieved through configuration, that would be great! 
AnudeepAnudeep (Salesforce Developers) 
I don't think it is possible because there isn't any out of the box fields where you can input the specific URL

https://help.salesforce.com/articleView?id=sf.s1_branded_apps_create_project.htm&type=5

To download directly, you could look at the following approach

https://developer.salesforce.com/forums/?id=9062I000000IT6bQAG

Also, see this idea

Let me know if this helps, if it does, please mark this answer as best so that others facing the same issue will find this information useful. Thank you