Mobile、Email account
Mobile login
Send verification code
import {RNGizUserManagerModule} from 'react-native-gizwits-sdk-v5';
// The first parameter is phoneCode. If your application needs to support globalization, please enter the corresponding area code, such as+86
const phoneCode = ''
const data = await RNGizUserManagerModule.sendMobileLoginVerifyCode(phoneCode,phone)Login
import {RNGizUserManagerModule} from 'react-native-gizwits-sdk-v5';
// The first parameter is phoneCode. If your application needs to support globalization, please enter the corresponding area code, such as+86
const phoneCode = ''
const data = await RNGizUserManagerModule.loginWithMobile(phoneCode, phone, code);Email Login
Send verification code
import {RNGizUserManagerModule} from 'react-native-gizwits-sdk-v5';
const data = await RNGizUserManagerModule.sendEmailLoginVerifyCode(email)Login
import {RNGizUserManagerModule} from 'react-native-gizwits-sdk-v5';
const data = await RNGizUserManagerModule.loginWithEmail(email, code);Mobile Register
Send verification code
import {RNGizUserManagerModule} from 'react-native-gizwits-sdk-v5';
// The first parameter is phoneCode. If your application needs to support globalization, please enter the corresponding area code, such as+86
const phoneCode = ''
const data = await RNGizUserManagerModule.sendMobileRegisterVerifyCode(phoneCode,phone)Register
import {RNGizUserManagerModule} from 'react-native-gizwits-sdk-v5';
// The first parameter is phoneCode. If your application needs to support globalization, please enter the corresponding area code, such as+86
const phoneCode = ''
const data = await RNGizUserManagerModule.registerWithMobile(phoneCode, phone, code, password);Email Register
Send verification code
import {RNGizUserManagerModule} from 'react-native-gizwits-sdk-v5';
const data = await RNGizUserManagerModule.sendEmailRegisterVerifyCode(email)Register
import {RNGizUserManagerModule} from 'react-native-gizwits-sdk-v5';
const data = await RNGizUserManagerModule.registerWithEmail(email, code, password);Forgot password on phone
Send verification code
import {RNGizUserManagerModule} from 'react-native-gizwits-sdk-v5';
// The first parameter is phoneCode. If your application needs to support globalization, please enter the corresponding area code, such as+86
const phoneCode = ''
const data = await RNGizUserManagerModule.sendMobileForgotPasswordVerifyCode(phoneCode,phone)Forgot password
import {RNGizUserManagerModule} from 'react-native-gizwits-sdk-v5';
// The first parameter is phoneCode. If your application needs to support globalization, please enter the corresponding area code, such as+86
const phoneCode = ''
const data = await RNGizUserManagerModule.forgotWithMobile(phoneCode, phone, code, password);Forgot password for email
Send verification code
import {RNGizUserManagerModule} from 'react-native-gizwits-sdk-v5';
const data = await RNGizUserManagerModule.sendEmailForgotPasswordVerifyCode(email)Forgot password
import {RNGizUserManagerModule} from 'react-native-gizwits-sdk-v5';
const data = await RNGizUserManagerModule.forgotWithEmail(email, code, password);