+ Start a Discussion
Test Test 1Test Test 1 

Setting Salesforce Mobile SDK Hybrid Android app to login through sandbox

Hi All,

I've tried changing the res/xml/servers.xml to point to https://test.salesforce.com/ to no avail.
Everytime I try to log in, it will launch https://login.salesforce.com/ which means I cannot login to my sandbox. I've tried forcing the OAuth2.java file to point to test.salesforce.com also and nothing works.

The server picker also is not visible and thus makes this extremely difficult.

How do I go about solving this?
The Mobile SDK has a new forum to post questions. Please post your question here - SalesforceMobileSDK Community (https://plus.google.com/u/1/communities/114225252149514546445).