初始化

推送通知外掛需要初始化初始化,告知外掛使用提供的發件人 ID 開始執行。

  let push = Push.init({
      android: {
        senderID: "------------",
      },
      ios: {
        alert: "true",
        badge: true,
        sound: "false",
      },
      windows: {},
    });