enableFCM method
- String appId
~english Enable Firebase Cloud Messaging (FCM) push on devices that support Google Play.
Param appId
The app ID for FCM push.
~end
~chinese 开启 FCM(GCM 的升级版)推送。
Param appId
FCM 推送的 App ID。
~end
Implementation
void enableFCM(String appId) {
_pushConfig.enableFCM = true;
_pushConfig.fcmId = appId;
}