amplitude / experiment-react-native-client

React Native Client SDK for Amplitude Experiment
MIT License
6 stars 2 forks source link

Got Error While Initialization Amplitude Experiment in Production #19

Closed adityaputra11 closed 1 year ago

adityaputra11 commented 1 year ago

i got issue when using amplitude init in production currently i am using

"@amplitude/react-native": "2.10.0",
"@amplitude/experiment-react-native-client": "^0.7.0",
 "react-native": "0.70.6",

Screenshot 2023-02-02 at 14 20 53

bgiori commented 1 year ago

Hi @adityaputra11, sorry you're running into this issue. Unfortunately I'm not sure exactly which line is causing this issue.

Is it possible to reproduce locally in order to understand exactly which line and function are throwing due to the null pointer?

Based on the formatting, this is coming from Android when the javascript wrapper is calling into the native android library.

adityaputra11 commented 1 year ago

yes, issue comes from native android library, it already solve this issue is not affected app after deep investigation thanks @bgiori for concern