After integrating HMS in the application and configuring your account in the MoEngage dashboard as mentioned here, please check the guidelines and steps highlighted in this article for verification
Pre-conditions for testing HMS
-
Huawei Android devices having EMUI version
Steps to be carried out to verify HMS
Create a campaign on the MoEngage dashboard by selecting the environment i.e TEST/LIVE on the basis of build.
-
Engage->Campaigns-> Create Campaign->Push Campaign
2. Create a general campaign
Go to Segmentation > Select Platform Android > As soon as you do that, you will see the option to choose whether to send the campaign using Push Amplification™ Plus. Please click here for information about creating a general push campaign.
3. Click on the TEST CAMPAIGN button to target your device by selecting any of the below attributes to identify the user for testing as shown below.
The identifier could be any device identifier (like Google Advertising Id, push_id) or any user identifier like ID, Email Id, Mobile Number, and so on. Please ensure that the properties are set for your user in MoEngage before you use these for the test campaign.
Note: If you are testing HMS notification using device push token, please make sure the token used for testing should be of FCM not HMS Push Token.
4. Once push is received by the app, click on Notification and after that, click on the user as mentioned below and wait for some time(2 to 3 minutes).
5. To identify push is delivered via HMS, click on the event Notification Clicked Android and check for source key with value as hmsPush as shown below. This confirms Push is sent via HMS.
If the Source Key is not visible, please refer to this link to verify if the integration steps are completed as per the documentation.