SDKメソッド
権限ダイアログを手動で起動する
const { granted } = await PushSDK.showNativeNotificationPermissionPrompt();
console.log(`ユーザーが権限を承認しました: ${granted}`);購読者のプロフィールに属性を追加する
PushSDK.UserProfile.set("interests", ["politics", "news"]);PushSDK.UserProfile.set({
is_paying_subscriber: true,
interests: ["politics", "news"]
});アクティビティの追跡(URL / 画面の訪問)
匿名の Push ID を取得する
購読者の外部IDを設定する
訪問者がすでに購読済みかどうかを判定する
訪問者がプロンプト表示の対象かどうかを判定する
ユーザーを完全に削除する
SDK のログレベルを設定する
最終更新