register method

void register (
  1. {@required String appKey,
  2. @required String appSecret}
)

注册OPPO PUSH推送服务

appKey 在开发者网站上注册时生成的,与AppKey相对应

appSecret 与AppSecret相对应

Implementation

static void register({
  @required String appKey,
  @required String appSecret,
}) {
  _channel.invokeMethod("register", {
    "appKey": appKey,
    "appSecret": appSecret,
  });
}