'What causes "please check whether the agconnect-services.json file is added to your app project" in using HMS Map Kit with React Native

I already added the agconnect-services.json file and already succeeded in integrating HMS Push Kit in getting AAID and device token



Solution 1:[1]

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'

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 YanYan