Closed sevem closed 7 years ago
@sevem I'll take a look.
@bhariharan any updates here? Can you estimate until when a solution will be available? We have currently a lot of customer projects which are depending on this issue
@sevem I've made some fixes in this area on unstable
. Could you try the latest from unstable
and let me know if the issue still exists?
@bhariharan Unfortunately the issue still exists. Exactly same behaviour as described
@bhariharan go live is getting closer. And I think it is not really a good idea to go live with this problem. Any news about this issue?
I have the same problem. Custom login page shows on iOS (and works fine), but as soon as the user clicks the settings icon in the top right corner, the production login page pops up and the user cannot get the custom login page back. Only thing that works is to delete the app and install it again.
@sevem , just tried against the latest code on unstable, cannot repro your issue on our side. I use the same version for platform: 9.3.2 and cordova: 6.1.1. Could you please have another try with our latest bit. Could you please also try to add the same host via the UI from the settings. For both of ways, cannot repro your issue.
Here is the more instruction:
1.Start the app without logging in. 2.In the login screen, click the configuration button in the upper right corner. 3.In the Choose Connection screen, click the plus sign (+).
@fnijenhuis could you please have another try as well using the above instruction.Thanks!
The issue is fixed in build:MobileSDK.iOS.4.2
@huminzhi unfortunately not completely fixed. Yes I can add a custom login host and yes I can switch between my custom host and e.g. the production. But .... I've defined a SFDCOAuthLoginHost in my plist file. And I would expect that this SFDCOAuthLoginHost is also listed in the host selection like the production or sandbox host. And my SFDCOAuthLoginHost is not used as the default host.
@huminzhi sorry. I was not completely right. My custom login host is used for the very first start of the app. But if I click on the settings menu to open the choose connection dialog, the dialog opens for a short time and closes automatically. The Production host is selected the. When I open the dialog again, my custom login host is not listed in available host list.
As a user I would expect that a custom login host is listed here if one is defined
I'm using the latest unstable branch
@huminzhi Shame on me. Sorry. I didn't know that the latest binaries are not included in the unstable branch. Got a hit vom @wmathurin. Thanks for that. Problem is fixed!
I have a problem with the custom login host in my hybrid app on iOS. In my plist file I've defined a custom login host
Behaviour in unstable branch 4.2.0 If I install and start the app for the first time, the correct login of my custom host is show. If I now click on the settings icon to open the host choose connection setting without selecting e.g. the Production server, just open the the settings view, the app crashes with this stacktrace
After restart the app, the Production Server is selected and I have no chance to select my custom login host because the host is not listed in the server selection
Behaviour in v4.1.2 If I install and start the app for the first time, the correct login of my custom host is show. If I now click on the settings icon to open the host choose connection setting without selecting e.g. the Production server, just open the the settings view, the selection view is closed and the Production server is selected. Than I have no chance to select my custom login host again because the host is not listed in the server selection
My environment: