Problem Summary

Google does not allow Huawei anymore to access to its version of Android and the related services so the newest Huawei devices can not receive push messages from Google Firebase at all meaning these users can not be reached by push messages from Emarsys.

Newer phones manufactured by Huawei come equipped with Huawei Mobile Services (HMS) - a service used to deliver push instead of Google’s Firebase Cloud Messaging (FCM).

See also

Goals

  1. Collect any questions we have to come up with this initial estimation and resolve these

  2. really high level ballpark estimate of how much time it would take to do this integration, basically in the level if is it a week, a month or a whole cycle and on top of this we need to map out the dependencies we have to be able to build this

Know Limitations

  • Push to In-App Messages do not work with Huawei

Client Service API

POST /v3/apps/:app_code/client
{
  "platform": "android-huawei"
}

High-level Estimate

Integrating Huawei Push SDK

Support new platform value android-huawei 1d

  • Client service validations

  • Push service validations

Configure Huawei Push Service in App (behind feature flipper) 5d

  • Configuring Huawei with credentials

  • Show stats for Huawei

Send push message to Huawei in delivery 8d

  • Adding new provider to delivery service with new auth

  • Error handling of Huawei error codes

Support for all push variations in delivery 10d

  • All message display types

  • Action buttons

  • Platform settings (channel)

Edit Huawei in push platform settings 5d

  • Root params: image_url, icon_url, ems?

  • Expiration time

Segmentation on new Huawei platform 3d

  • Show Huawei as option in segmentation UI

  • Double-check if other adaptions are needed

Huawei stats in dashboard 4d

  • Add Huawei as option

  • Split by platform should work

NotificationSettings to Push Status reporting 1d

Acronyms

  • HMS Huawei Mobile Services

  • FCM Firebase Cloud Messaging