React Native β Sign in with Device
Cotter's Passwordless SDK authenticates your user based on their device. It allows a seamless, fast, and secure way for your user to login to your React Native App.
Sign in with Device
Step 1οΈ: Get Cotter SDK
yarn add react-native-cotter react-native-device-info rn-secure-storage react-native-randombytes react-native-camera react-native-svg react-native-securerandom buffer react-native-inappbrowser-reborn react-native-sha256
npx pod-install iosnpm install --save react-native-cotter react-native-device-info rn-secure-storage react-native-randombytes react-native-camera react-native-svg react-native-securerandom buffer react-native-inappbrowser-reborn react-native-sha256
npx pod-install iosStep 2οΈ: Wrap your root component with connectCotterWrapper
connectCotterWrapperimport {connectCotterWrapper} from 'react-native-cotter';
class MyApp extends Component {...}
export default connectCotterWrapper(MyApp);Step 3οΈ: Register user and trust this device
Step 4οΈ: Logging In from a Trusted Device
π You're Done

Find a more detailed version of this guide in our Trusted Devices section
Sign In with Deviceπ What's Next?
Verify User's Email or Phone Number
Sign In with Email/Phone NumberLogging-in from Another Device
Authenticate from a Non-Trusted DeviceLast updated