Using the sforce.one.back navigation function in Salesforce1 will not remove the header back arrow resulting in blank page loading
Last updated 2018-05-05 ·Reference W-3200701 ·Reported By 4 users
You can use the sforce.one.back navigation function in Visualforce pages for Salesforce1 to navigate a user back one page in the navigation history stack. This function is noted in the following documentation:
In the Salesforce1 for iOS hybrid application only, the use of this navigation function can cause a scenario where a blank page is loaded as it returns to the start of the navigation stack. This is due to the function not updating the back arrow in the Salesforce1 header as it returns to the starting page. Then the user can tap the back arrow manually which loads the unexpected blank page.
1) Create a Visualforce page Page_A which has a button to navigate to Page_B.
2) Create a Visualforce page Page_B which has a button that calls "sforce.one.back();"
3) Create a Visualforce Tab for Page_A and make it available in the Salesforce1 navigation menu.
4) Access Page_A from the Salesforce1 for iOS hybrid application. Press the button to go to Page_B.
5) On Page_B, press the button that calls sforce.one.back to return to Page_A.
6) Notice the Salesforce1 header still displays a manual back arrow even though we started at Page_A. It should display the menu icon instead.
7) Tap the back arrow and notice a blank page will load.
This does not break any functionality for the sforce.one.back function. Users will need to be aware that a blank page can load if they manually use the back arrow in the Salesforce1 header after landing on the starting page of the navigation stack via sforce.one.back.
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.