OneSignal / react-native-onesignal

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

Doesn't work with HMS #1020

Closed YozhikM closed 4 years ago

YozhikM commented 4 years ago

Description:

We use your library to work with push notifications. Now we are developing an app for Huawei with HMS. You recently updated the SDK, but the push did not work. We see an error in the admin panel.

There was an attempt to use this method, but the required class is not imported from com.onesignal.

Example

We use other OneSignal ID for an app version for Huawei.

Environment

"react-native": "0.61.5",
"react-native-onesignal": "3.9.0"

Steps to Reproduce Issue:

  1. Install latest RNOnesignal
  2. Run on Huawei device with HMS
  3. Attempt to receive push token etc.

Anything else:

Huawei Docs

rgomezp commented 4 years ago

Howdy, What is the method exactly you are trying to use? I think the link you included is not what you wanted to put.

Please also double check you followed our React-Native specific Huawei setup documentation.

Thank you!

rgomezp commented 4 years ago

Closing due to no response