Web Push SDK
Các hàm trong Web Push SDK
initApp
<script src="https://sdk.pushdi.com/js/generated/xxxxxxxxx.js" async=""></script>
<script>
var PushdyIns = window.PushdyIns || [];
PushdyIns.push(function() {
PushdyIns.initApp();
});
</script>show
PushdyIns.push(function() {
PushdyIns.show();
});isPushNotificationSupported
isPushNotificationEnabled
setAttribute
pushAttribute
pushAttributeByDay
getPlayerId
Các sự kiện trong Web Push SDK
onAllowSubscription
onDenySubscription
onShowSubscriptionBox
onSubscribe
Last updated