If Unity Version is **2019.2 or before**, there is no **AndroidManifest** checkbox, but you can put `AndroidManifest.xml` under `Assets/Plugins/Android`.
You need to register service in application in the **AndroidManifest.xml** file to [obtain push tokens](https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/android-client-dev-0000001050042041#section876955375919) and [receive data messages](https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/android-basic-receivemsg-0000001087370610). service inherits from the HmsMessageService class and implements the methods in the class. The following uses the service with the **com.unity.hms.push.MyPushService** class as an example. You can change **com.unity.hms.push.MyPushService** as needed.
```
<?xml version="1.0" encoding="utf-8"?>
<!-- GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN-->