I already added the agconnect-services.json file and already succeeded in integrating HMS Push Kit in getting AAID and device token
Asked
Active
Viewed 1,279 times
2 Answers
0
Found it. I added apply plugin: 'com.huawei.agconnect'
in /android/app/build.gradle
under apply plugin: "com.android.application"

jonan.pineda
- 1,264
- 11
- 19
0
Please note that this configuration must be added to the next line of apply plugin: 'com.android.application'
to the app-level build.gradle file. Otherwise, an error may occur.
apply plugin: 'com.huawei.agconnect'

YanYan
- 23
- 5