enableMiPush method Null safety
- String appId,
- String appKey
开启小米推送, appId
是推送用AppId, appKey
是推送用AppKey。申请流程请访问
http://docs-im.easemob.com/im/android/push/thirdpartypush
Implementation
void enableMiPush(String appId, String appKey) {
_enableMiPush = true;
_miAppId = appId;
_miAppKey = appKey;
}