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
trusattrusat 

Sample app SalesforceMobileSDK-Android

Hi.

I have tried the mobile app development of Android.
When I tried a sample of native apps that are provided by SalesforceMobileSDK-Android the "FileExplorer", the following events will occur.
Please let me know If you know of a solution.
(A similar event. Would does not occur in the environment of everyone)

· When I repeat the login and logout, and stops remains white screen after login some time.
When I kill the app, I'll be able to log in again.

· When I have repeated several times login, the login screen is now also displayed after login. I will not be able to log in again, even if I kill the app occurs once.
As a result of the re-installation of the app, I will be able to log in again.

• Even if the check box of "save the user name" and the user name is not saved.

Possible Causes What.
Environment in which I have used is as follows.

Development environment: Eclipse 4.3
Salesforce MobileSDK 2.2.3
Target: Android 4.4.2
The Android 4.4.2: version of the model confirmed events
Gaurav KheterpalGaurav Kheterpal
The only thing tat can potentially cause this is if the refresh token settings are set to a one-time-use. Can you check that?

Also, is this on Android emulator or device? I run the sample apps all the time on my device but have not faced any issues at all.


trusattrusat
Thank you for the reply immediately.

This phenomenon has been observed on Android devices.
"Refresh Token Policy" has been set to "Refresh token is valid until revoked".
Would you have any probable cause to others.
Gaurav KheterpalGaurav Kheterpal
Can you confirm if this is on a specific device or an emulator?
trusattrusat
It is not a particular device. The same phenomenon has occurred in the android devices of all tried.
OksmanOksman
Can you please upgrade to our 2.3 release? Also, if the problem persists, send us a video