Skip to content

Commit

Permalink
Merge pull request #352 from CleverTap/WEB-3474
Browse files Browse the repository at this point in the history
Web 3474
  • Loading branch information
ThisIsRaghavGupta authored Feb 5, 2025
2 parents c16b171 + 13b62be commit bc4e1ff
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion clevertap.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion clevertap.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion clevertap.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/modules/notification.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ export default class NotificationHandler extends Array {
}
}

if (isSafari() && this.#fcmPublicKey !== null) {
if (isSafari() && this.#isNativeWebPushSupported() && this.#fcmPublicKey !== null) {
StorageManager.setMetaProp(VAPID_MIGRATION_PROMPT_SHOWN, true)
}

Expand Down

0 comments on commit bc4e1ff

Please sign in to comment.