talsec / Free-RASP-ReactNative

React Native plugin for improving app security and threat monitoring on Android and iOS mobile devices.

Home Page:https://github.com/talsec/Free-RASP-Community

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error during Talsec Native plugin initialization - null

brosing opened this issue · comments

Describe the bug
Initialization working fine on debug build and I can show alert if there any threats, but when I try in release build the alert not showing & got an error log Error during Talsec Native plugin initialization - null.

To Reproduce
Using npx react-native log-android on release build to reproduce error log.

Expected behavior
Showing alert to block application flow if any threats detected just like in debug build.

Screenshots
Screenshot 2023-06-15 at 17 11 49

Please complete the following information:

  • Device: Pixel 3 (Emulator), Xperia 10 ii (Device)
  • OS version: Android 12
  • Version of freeRASP: 2.0.3
  • Version of React: 17.0.2
  • Version of React Native: 0.66.5

Sorry I think I've found the issue, turn out it's from another library that cause the var from .env being undefined. Closed the issue 🙏

Hi @brosing

I'm facing the same issue. Which library of yours was causing this issue?