React Native Android library for generating standard requests of Play Integrity API
Under construction
You will need to use the bare workflow of Expo, because this library uses native APIs.
We have used https://github.com/MrToph/react-native-android-library-boilerplate as a template for constructing libraries.
See also https://github.com/jeffDevelops/expo-app-integrity for a library that supports classic requests of Android's Play Integrity and iOS App Attest integrity requests. NOTE: Unfortunately, standard requests do not seem to be supported in Kotlin, so we have written a separate library with Java code.
How to debug
Change the logLevel
to something appropriate for you, in your node_modules/app-integrity-android-standard/android/src/main/java/pt/lasige/appintegrityandroidstandard/Module.java
Make sure your device is connected to your computer and that it is recognized when issuing adb devices
. Also make sure that no Android emulators are running.
Run adb logcat -s "AppIntegrityAndroidStandard"
on the command line.
Execute your bare workflow to build and run the app