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
APPLICATIVI_COMM_ITAPPLICATIVI_COMM_IT 

sforce.one.navigateToURL() problem in Salesforce1 ios

Hi everybody,

I have a visualforce page with a button. When clicked the pages simply reloads (this behaviour is only a test for more complex processes),
calling:  
sforce.one.navigateToURL('/apex/MyVFPage?param1=' + firstId+ '&param2=' + secondId);

Everything works fine in browser, Salesforce1 Simulator (app for Google Chrome), Salesforce1 for Android, but in the ios version, it works just the first time; after the pages reloads and the button is clicked a second time, the pages freezes.

Anyone knows how to solve this issue or to better debug it?

Thanks!
jane1234jane1234
IS YOUR PAGE IS SALESFORCE 1 ENABLED?
Select Available for Lightning Experience, Lightning Communities, and the mobile app.?
IF YES , THEN CHECK FOR THE JAVASSCRIPTION FUNCTIONS ON PAGE ON LOAD