OneSignal / react-native-onesignal

React Native Library for OneSignal Push Notifications Service
Other
1.57k stars 373 forks source link

Collision with android flipper #1203

Closed hyochan closed 3 years ago

hyochan commented 3 years ago

Description: After installing "react-native-onesignal": "^4.0.6", android app crashed immediately on launch (fine in iOS) . I've discovered that the Flipper was the problem. I've tried to debug this but couldn't resolve this. After removing it with guide here, I was able to make the build successes.

I could found out the issue after I've tried building in release mode which did not use the Flipper.

Environment

  1. What version of the OneSignal React-Native SDK are you using?
    • 4.0.6
  2. How did you add the SDK to your project (eg. npm)
    • yarn

Steps to Reproduce Issue:

  1. Install the OneSignal SDK using yarn into your project
  2. Try to run this in React Native 0.64 project
rgomezp commented 3 years ago

Howdy, Thank you for reporting the compatibility issue.

What version of Flipper is this issue occurring on?

hyochan commented 3 years ago

@rgomezp We were using flipper version 0.75.1

rgomezp commented 3 years ago

Howdy, We were able to resolve Android Flipper issues by updating React Native 0.64.1.

Please give that a try.

rgomezp commented 3 years ago

Closing due to no response