You need to sign in to do that
Don't have an account?
mahesha
hybrid sample application android
The android sample application sometimes ask logs in automatically after the first login and sometimes ask for the username and password. Is it due to the slowness of the network.
thx
mahesh
I am using the hybrid application sample code. Even though the function
function loginSuccess(oauthCredentials) {
in the bootstrap.html says success, the salesforce page ask for login and password. Once i login it does not ask and later on it prompts me. Is it due to the session id expiry.
thanks
regards
mahesh
Hi
I think it is not handling the refresh token part in the sample code. when the session expires we see that it is prompting for username and password.
Let us know if you have any tips.
thx
regards
mahesh
Just wanted to report I am having the same problem, but I'm not sure how to fix it because I can't see what's going on under the hood, or at least I don't know where to look. But I agree it seems like it isn't getting a new access token from the refresh token since it works great for a day then prompts for a login every time after.
The latest unstable release from github seems to fix it. Thanks regards
mahesh