During Email/Phone Verification
import { Verify } from 'react-native-cotter';
class Register extends PureComponent {
...
openCotterAuth = async () => {
var verify = new Verify(
'https://js.cotter.app/app',
'https://www.cotter.app/api/v0',
'myexample://auth_callback',
API_KEY_ID,
this.onError,
this.onSuccess,
(getOAuthToken = true), // π Add this parameter
);
await verify.openAuth('EMAIL');
};
...
}Getting and Removing tokens from the Storage
Storing and Removing TokensRenewing Expired Tokens
Renewing Expired TokensLast updated