DetectFrida icon indicating copy to clipboard operation
DetectFrida copied to clipboard

How to implement this project in React Native?

Open pradsirwt opened this issue 2 years ago • 3 comments

Thanks for this wonderful package. I have a react native project and I couldn't find any readme for integrating with React Native. Could you point me to tutorial to implement this in React native.

pradsirwt avatar May 05 '23 13:05 pradsirwt

To implement this in React Native, you will need to create a native module to bridge the code between React Native and Android, please see this resource on this topic. Furthermore, if you are implementing the detection code in C/C++ like in this project, you will also need to create a native JNI (Java Native Interface) library that can be loaded from the Android SDK, here is a good starting guide. You could alternatively implement the detection code in Java/Kotlin and bypass the JNI step but that would leave your application at risk of hooking from Frida.

flikkr avatar May 18 '23 03:05 flikkr

@pradsirwt , I'm also looking for react native logic to detect Frida. Were you able to use this repo to create a native module for Frida detection ?

vinithreddy3 avatar Dec 25 '23 11:12 vinithreddy3

@vinithreddy3 and @pradsirwt Please use below library to detect Frida and avoid frida to bypass root checks

react-native-detect-frida

imanshul avatar Apr 18 '24 07:04 imanshul