We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Javascript error with full https page - OF Counter | Forum

Paul
Paul Nov 9 '16

After i enter the onesignal app id, click on save, i get the following JS exception in Chrome and can´t subscribe my push notification


OneSignal User ID: null

OneSignal.js:1662 Error while subscribing for push: DOMException: Registration failed - push service error



The frontend is shown the red bell icon, but i cant open it to activate the notification:



The Forum post is edited by Paul Nov 9 '16
Sean
Sean Nov 10 '16
I think you've set up your OneSignal App incorrectly then on the OneSignal site.


'UserID: null' means that there's something configured incorrectly there and OneSignal can't assign an ID to the user.

Sean
Sean Nov 10 '16
Oh also it wont work if you're in Incognito or private modes etc as those modes disable notifications. 
Paul
Paul Nov 10 '16
If I am using a https online Website, I do not need to enter the onepage Subdomain, right?


At first time, the Plugin is asking, if my website can be allowed to send notifications

Paul
Paul Nov 10 '16
What i found is, that in the OneSignal Backend I do not have the "Google Server API Key" Field.
Sean
Sean Nov 11 '16
You don't need the Google api key in the latest  version of the plugin. Correct you don't need the subdomain if using https . Can you pm me your plugin settings page please. Just some screenshots including the version number shown at the bottom of the page. Thanks. 
The Forum post is edited by Sean Nov 11 '16
You do not have permission to reply this topic