enableAPNs method
~english Enables Apple Push Notification service (APNs) on iOS devices.
Param certName
The APNs certificate name.
~end
~chinese 开启 Apple 推送通知服务(APNs)推送。
Param certName
APNs 推送证书的名称。
~end
Implementation
@Deprecated('Use [EMPushManager.bindDeviceToken] instead.')
/// ~english
/// Enables Apple Push Notification service (APNs) on iOS devices.
///
/// Param [certName] The APNs certificate name.
/// ~end
///
/// ~chinese
/// 开启 Apple 推送通知服务(APNs)推送。
///
/// Param [certName] APNs 推送证书的名称。
/// ~end
void enableAPNs(String certName) {
_pushConfig.enableAPNS = true;
_pushConfig.apnsCertName = certName;
}