We are always happy to help with the implementation of the SDK. If you have any questions, please reach
out.
The React Native Expo SDK
The React Native Expo SDK is published in GitHub at https://github.com/prelude-so/react-native-sdk .Using the Expo React Native SDK
The Expo React Native SDK allows you to capture certain device signals (both in Android and iOS) that will be reported back to Prelude and perform silent verification of mobile devices. It is provided as an Expo module that you can integrate into your React Native Expo Application. The AndroidminSdkVersion value in the SDK is set to 26 (Android 8.0). If your application has a lower value you may need to update it.
Usage
The SDK is available in npmjs. You can install the SDK dependency directly from npm:Gathering Device Signals
Note: Starting with v0.3.0 of the SDK, we have removed the status event and made thedispatchSignals function return a promise that resolves to the dispatch identifier, simplifying its usage.
To collect the device signals in your application, you can use code like this:
dispatchSignals function for your use case:
Silent Verification
The Silent Verification feature allows you to verify a phone number without requiring the user to manually enter a verification code. It is available for certain carriers and requires a server-side service to handle the verification process. For this verification method to work properly, you must collect the device signals mentioned before and report the dispatch identifier to your back-end (usually in your APIs verification endpoint). Please refer to the Silent Verification documentation for more information on how to implement this feature.Uploading your app to the App Store
Depending on the mechanism that you use to upload your app to the App Store, you may find errors related to thePreludeCore.xcframework file.
If you encounter this error, try uploading the app again without the PreludeCore.xcframework with the flag --use-old-altool:
Transporter it will not allow you to use the --use-old-altool flag. You will need to use the xcrun command instead.