Closed Foskas closed 2 years ago
Have you configured these 2 lines in android/settings.gradle file? include ':react-native-hms-push' project(':react-native-hms-push').projectDir = new File(rootProject.projectDir, '../node_modules/@hmscore/react-native-hms-push/android')
Have you configured these 2 lines in android/settings.gradle file? include ':react-native-hms-push' project(':react-native-hms-push').projectDir = new File(rootProject.projectDir, '../node_modules/@hmscore/react-native-hms-push/android')
Hi cooleizhu,
I did but the problem is I git installed on my node_modules the "react-native-hms-push-fcm" instead of "/eact-native-hms-push"
I did the install with yarn instead of npm, can that be the problem ?
If you just need to use fcm, you just need to follow the configuration in this guide. https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/aggr-third-parties-0000001238262405
the setting.gradle configuration will be not needed.
Hi,
While installing @hmscore/react-native-hms-push on my React Native App, it's only added to the node_modules the react-native-hms-push-fcm and than the building proccess fails with the following error.
I'm not understanding how can I have the push kit installed correctly so I can use it on my Android React Native App. I followed all the steps from the official docs but there's something wrong with the instalation.