OneSignal / OneSignal-Website-SDK

OneSignal is a push notification service for web and mobile apps. This SDK makes it easy to integrate your website with OneSignal Push Notifications. https://onesignal.com
Other
383 stars 115 forks source link

use new URL in `subscribeSafariPromptPermission` #1138

Closed fedterzi closed 7 months ago

fedterzi commented 7 months ago

Description

1 Line Summary

use new URL with appId in subscribeSafariPromptPermission

Details

Due to changes in our API, the appId is now required in the URL used by subscribeSafariPromptPermission. In instances where the new URL is not usable, we fallback to the legacy URL with an additional request. This ensures compatibility with both the updated and legacy API endpoints.

Systems Affected

Validation

Tests

Info

Checklist

Programming Checklist Interfaces:

Functions:

Typescript:

Other:

Screenshots

Info

Checklist


Related Tickets



This change is Reviewable