forcedotcom / SalesforceMobileSDK-Templates

BSD 3-Clause "New" or "Revised" License
52 stars 56 forks source link

New React Native template that demonstrates deferred login #278

Closed wmathurin closed 4 years ago

wmathurin commented 4 years ago

When app first load: you see a login button in the navigation bar. After logging in, that button becomes a logout button (and a list of contacts is displayed below). After logging out, one is back to the initial state.

NB: logout will only work with changes coming to the SalesforceMobileSDK-ReactNative repo.

wmathurin commented 4 years ago

The new app will only work once https://github.com/forcedotcom/SalesforceMobileSDK-ReactNative/pull/191 is merged.

wmathurin commented 4 years ago

@bhariharan Except for app.js changes, the switch from shouldAuthenticate true to false, it's a copy of of ReactNativeTemplate.