Closed iamRAJASHEKAR closed 2 years ago
It won't if you use "deferred login". For more information, see https://developer.salesforce.com/docs/atlas.en-us.mobile_sdk.meta/mobile_sdk/hybrid_deferred_login.htm?q=defer
@wmathurin yeah i had followed "differd login" as suggested in salesforce official documentation . Below is the link which i used for react native differed login https://developer.salesforce.com/docs/atlas.en-us.mobile_sdk.meta/mobile_sdk/react_native_new_project.htm?q=defer . Steps i followed to create project 1.Created project with forcereact createWithTemplate 2.I had given template as ReactNativeDeferredTemplate 3.After successful project creation switched to IOS folder and opened in Xcode ,and started metro bundler and ran IOS app . 4.Changed url in info.plist with our URL. 5.After successful launch on simulator i clicked on login and provided details to login ,on click of allow permission app restarted completely . we are facing this issue as restarting whole app is uncertain and causing disturbed flow . Kindly assist in this @wmathurin .
IOS app restarts automatically ,after successful authentication by using oauth.authenticate() on success callback it automatically restarts app.