Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hms getToken returning the error 907135000: arguments invalid #19

Open
farkhodkh opened this issue Oct 28, 2024 · 0 comments
Open

Hms getToken returning the error 907135000: arguments invalid #19

farkhodkh opened this issue Oct 28, 2024 · 0 comments

Comments

@farkhodkh
Copy link

farkhodkh commented Oct 28, 2024

Hello there!

getting "907135000: arguments invalid" error on

HmsInstanceId.getInstance(context).getToken(appId, tokenScope) action

The device is Huawei nova 12i

The "agconnect-services.json" is added to root folder and for each flavors
the appId is the same as in "agconnect-services.json" file and the package name (applicationId) is equal to the one in the application gradle

Scope is "HCM"

project build gradle
plugins { ... id("com.huawei.agconnect") }
settings.gradle
`
pluginManagement {
repositories {
****
maven { url = "https://developer.huawei.com/repo/" }
}

   buildscript {
         classpath("com.huawei.agconnect:agcp:1.9.1.301")
   }

}
`

buld.gradle (app)
dependencies { implementation("com.huawei.hms:push:6.11.0.300") }

Could you help me please?

Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant