You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I have recently upgraded my project to 0.73.9 and I found that I had to also upgrade hmscore/react-native-hms-push from 6.5.0-300 as it was causing the build to fail. I tried to go with the latest version 6.12.0-302 but although the build is successful the hms-push service doesn't seem to work at all. After debugging the issue i found that the getToken method always seem to exit with this error
Error registering to HMS [Error: 907135000: arguments invalid]
According to my investigation this seemed to be an issue with my configuration, I have removed everything hms related from my project and followed the documentation to make sure I have the absolute latest configurations but I still ended up with the same issue.
I looked into the GitHub issues here and followed a couple more suggestions but none of them seemed to work (#335, #217, #185) settings.gradle
rootProject.name = <REDACTED>
if (System.getenv("IS_HUAWEI")=="TRUE") {
include ':react-native-hms-push'
project(':react-native-hms-push').projectDir = new File(rootProject.projectDir, '../node_modules/@hmscore/react-native-hms-push/android')
}
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle");
applyNativeModulesSettingsGradle(settings)
include ':app'
includeBuild('../node_modules/@react-native/gradle-plugin')
The text was updated successfully, but these errors were encountered:
sakisev
changed the title
Error registering to HMS [Error: 907135000: arguments invalid] react-native 0.73.9
[Error: 907135000: arguments invalid] after upgrading to react-native 0.73.9
Oct 8, 2024
Description
I have recently upgraded my project to 0.73.9 and I found that I had to also upgrade
hmscore/react-native-hms-push
from 6.5.0-300 as it was causing the build to fail. I tried to go with the latest version6.12.0-302
but although the build is successful the hms-push service doesn't seem to work at all. After debugging the issue i found that thegetToken
method always seem to exit with this errorAccording to my investigation this seemed to be an issue with my configuration, I have removed everything hms related from my project and followed the documentation to make sure I have the absolute latest configurations but I still ended up with the same issue.
I looked into the GitHub issues here and followed a couple more suggestions but none of them seemed to work (#335, #217, #185)
settings.gradle
app/android/build.gradle
app/android/app/build.gradle
Environment
The text was updated successfully, but these errors were encountered: