darvincisec / DetectFrida

Detect Frida for Android
MIT License
649 stars 138 forks source link

How to implement this project in React Native? #41

Open pradsirwt opened 1 year ago

pradsirwt commented 1 year ago

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.

flikkr commented 1 year ago

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.

vinithreddy3 commented 7 months ago

@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 ?

imanshul commented 3 months ago

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

react-native-detect-frida