Version of Mobile SDK Used: 12.1.1 Issue found: Hybrid App OS Version: iOS 17.5 Device: iPad Pro 11-inch, 4th generation (Simulator) Error Log: No errors.
Description
After upgrading from Salesforce SDK 11.0.1 to 12.1.1, there is an issue with Live Reload in my Ionic hybrid app. In version 11.0.1, after successful authentication, the app would correctly load the start page from the address and port specified by the Live Reload server. However, in version 12.1.1, the app now loads the page from the Salesforce API address instead of the local server when isLocal is set to false in the bootconfig.json file.
When running the app with isLocal: true, everything works as expected, and the app loads correctly after authentication. The issue only occurs when isLocal is set to false.
Expected Behavior
After successful authentication, the app should load the start page from the local server as specified in config.xml when isLocal is set to false. The example of relevant settings in the config.xml are:
Actual Behavior
After authentication, the app loads the page from the Salesforce API address (e.g., https://test.salesforce.com/index.html or your env), instead of the local server.
Version of Mobile SDK Used: 12.1.1
Issue found: Hybrid App
OS Version: iOS 17.5
Device: iPad Pro 11-inch, 4th generation (Simulator)
Error Log: No errors.
Description
After upgrading from Salesforce SDK 11.0.1 to 12.1.1, there is an issue with Live Reload in my Ionic hybrid app. In version 11.0.1, after successful authentication, the app would correctly load the start page from the address and port specified by the Live Reload server. However, in version 12.1.1, the app now loads the page from the Salesforce API address instead of the local server when
isLocal
is set tofalse
in thebootconfig.json
file.When running the app with
isLocal: true
, everything works as expected, and the app loads correctly after authentication. The issue only occurs whenisLocal
is set tofalse
.Steps to Reproduce
isLocal
tofalse
in thebootconfig.json
file.Expected Behavior
After successful authentication, the app should load the start page from the local server as specified in
config.xml
whenisLocal
is set tofalse
. The example of relevant settings in theconfig.xml
are:Actual Behavior
After authentication, the app loads the page from the Salesforce API address (e.g.,
https://test.salesforce.com/index.html
or your env), instead of the local server.