1
私はPhoneGapのアプリを開発し、私はこれらの2つの設定からonesignal
からいくつかの醜いJSアラートを取得:アラートの代わりに、通常のJSのnavigator.notification.alertを使用して
// Show an alert box if a notification comes in when the user is in your app.
window.plugins.OneSignal.setSubscription(true);
//activating the reception of push notification when the app is working also
window.plugins.OneSignal.enableNotificationsWhenActive(true);
は、私はこれらをカスタマイズすることができますので、私はcordovasを使用通常のjs alert
ではなくnavigator.notification.alert
です。
私は正直なところあなたの質問が分かりません。 – Lexi
私はそれをより明確にしようとしました – Heist