-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(amp-plus): allow OneSignal script #1076
Conversation
@adekbadek This will a good feature to have if its still a priority for development. |
We're discussing this internally – we'd like to implement this, but first establish a protocol for assessing performance impact of these added scripts. |
PageSpeed Insights is a good way to track performance impact for all enhancement. |
942d47b
to
87fd06e
Compare
87fd06e
to
2869ef1
Compare
Blocked by OneSignal/OneSignal-WordPress-Plugin#298 |
Howdy @adekbadek , Cheers |
I tried to test it and went as far as seeing the Bell on the page. When I click on it, a new blank browser windows shows up and closes very quickly, but nothing happens. I got the same behavior both on desktop and mobile Maybe I'm missing some configuration step? |
Might be a setup error, make sure you have AMP Plus enabled and the latest version of the OneSignal plugin. I was able to set this up on a fresh site, but run into other issue: #2104. To test this properly, PWA plugin has to be deactivated. I've updated the description. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested again disabling PWA and it worked fine.
# [1.98.0-alpha.1](v1.97.1...v1.98.0-alpha.1) (2022-12-01) ### Bug Fixes * **analytics:** improve the condition for using Site Kit's Analytics module ([5bc1c36](5bc1c36)) * **auth:** prevent autocomplete for honeypot field ([#2145](#2145)) ([9225726](9225726)) * harden subs meta box logic ([#2146](#2146)) ([35ea9fe](35ea9fe)) * **my-account:** hide account deletion for non-reader users ([85b2267](85b2267)) * **stripe:** wizard interaction issues ([#2142](#2142)) ([87918a7](87918a7)) * test emails ([11ea35a](11ea35a)) ### Features * add support to local lists in the newsletters wizard ([#2153](#2153)) ([9f81194](9f81194)) * add twitter pixel field ([#2144](#2144)) ([ee30061](ee30061)) * **amp-plus:** allow OneSignal ([#1076](#1076)) ([790439a](790439a)) * **analytics:** allow adding custom dimensions' values via filter ([1e20268](1e20268)) * disable jetpack's google analytics ([#2129](#2129)) ([1435b2a](1435b2a)) * perfmatters plugin defaults (with a special URL param) ([#2156](#2156)) ([da00a9b](da00a9b)) * **setup-wizard:** disambiguate starter vs. demo content ([ef125ca](ef125ca)), closes [#1701](#1701)
🎉 This PR is included in version 1.98.0-alpha.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
# [1.98.0](v1.97.3...v1.98.0) (2022-12-12) ### Bug Fixes * **analytics:** improve the condition for using Site Kit's Analytics module ([5bc1c36](5bc1c36)) * **auth:** prevent autocomplete for honeypot field ([#2145](#2145)) ([9225726](9225726)) * harden subs meta box logic ([#2146](#2146)) ([35ea9fe](35ea9fe)) * improved existing Woo user subs handling ([#2162](#2162)) ([bdc25f5](bdc25f5)) * logic to update existing contact on subscription cancellation or deletion ([#2165](#2165)) ([68d7d30](68d7d30)) * **my-account:** hide account deletion for non-reader users ([85b2267](85b2267)) * **stripe:** wizard interaction issues ([#2142](#2142)) ([87918a7](87918a7)) * test emails ([11ea35a](11ea35a)) ### Features * add support to local lists in the newsletters wizard ([#2153](#2153)) ([9f81194](9f81194)) * add twitter pixel field ([#2144](#2144)) ([ee30061](ee30061)) * **amp-plus:** allow OneSignal ([#1076](#1076)) ([790439a](790439a)) * **analytics:** allow adding custom dimensions' values via filter ([1e20268](1e20268)) * disable jetpack's google analytics ([#2129](#2129)) ([1435b2a](1435b2a)) * perfmatters plugin defaults (with a special URL param) ([#2156](#2156)) ([da00a9b](da00a9b)) * **setup-wizard:** disambiguate starter vs. demo content ([ef125ca](ef125ca)), closes [#1701](#1701)
🎉 This PR is included in version 1.98.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
All Submissions:
Changes proposed in this Pull Request:
Alternate approach from #417 to handling push notifications. Instead of making them work within AMP constraints, using AMP Plus mode.
How to test the changes in this Pull Request:
onesignal-free-web-push-notifications
) and configure itNEWSPACK_AMP_PLUS_ENABLED
environment variable is set totrue
)Other information: