Comments (14)
I fixed it, it was all my mistake. The page at Google Developer Console has another menu on the top-left corner where I didn't noticed a button to change from the API Manager to the Developer Console (which I tough i was already in because of the page name). The whole thing is confusing, you are inside a page with a name that is not that actual page but is part of it. Or I need to drink some less coffee and get into this "sleep 8 hours a day" routine.
The link you sent was also redirecting me to the API page. Now that I got to it from the menu I said, when I go back to the API page it shows me a buch of other links in this same menu that were not displaying before... (wtf Google! Really, WTF!?)
from wp-web-push.
I've never seen this error, it could be somehow related to https://bugs.chromium.org/p/chromium/issues/detail?id=464365.
from wp-web-push.
Looks like you have two <link rel="manifest"
in your page.
The plugin is adding <link rel="manifest" href="https://www.gameprosa.com.br/wp-content/uploads/wpservefile_files/manifest.json">
.
Are you adding <link rel="manifest" href="/manifest.json?v=kPPJxwmvjB">
manually?
from wp-web-push.
I didnt noticed your plugin adds a manifest. I have my own manifest file with my icons and web app settings. How about an option to disable the plugin generated manifest? I'll try disabling in the plugin code to see if the problem gets solved, I'll reply again within the next hours.
from wp-web-push.
You just need to comment out the line $manifestGenerator = Mozilla\WebAppManifestGenerator::getInstance();
in wp-web-push-main.php.
If this fixes your problem, I'll add an option to disable the generation of the manifest.
from wp-web-push.
Marco, it did not fixed the problem.
Please check on https://www.gameprosa.com.br
Only one manifest file loading, still getting the "Uncaught (in promise) DOMException: Registration failed - push service error" error located at undefined, line 1. Unefined drives crazy, how can I properly debug this?
from wp-web-push.
The sender ID is usually a number, are you sure gameprosa-1285
is correct?
from wp-web-push.
from wp-web-push.
My Dev. Console is different than yours. It does not have this content block and the overall design is pretty different. I've already tried to get to this same panel by going to this https://console.developers.google.com/home/dashboard URL but it always redirects me to https://console.developers.google.com/apis/
For this project the URL is https://console.developers.google.com/apis/library?project=gameprosa-1285
Even the page that shows all my projects is different and the only IDs it shows for my projects are like this one I am using.
Call me on Skype (lukasfire) if you want me to share my screen with you so you can see it, it's definitely weird.
from wp-web-push.
Try opening https://console.cloud.google.com/home/dashboard?project=gameprosa-1285&pli=1
from wp-web-push.
I filed google/WebFundamentals#2847 to update the Google documentation.
from wp-web-push.
Thanks Marco, sorry for wasting your time with this. The plugin is now working normally.
But the "enable manifest" button should be there because it will definitely cause problems to people who have their own manifest files. I also added a crossorigin="use-credentials" parameter to my manifest link.
from wp-web-push.
No worries, it was useful because I wouldn't have noticed that the documentation was outdated otherwise. Let's hope it's going to be fixed soon!
I'm going to file a new issue for the manifest thing.
from wp-web-push.
@lukasag hello, how did you solve it, I'm stuck with the same bug... wasted hours on that.. no result!
the same code is working on the browser, but when running with electron, I'm getting this bug...
from wp-web-push.
Related Issues (20)
- Fix send notification tests on hhvm HOT 1
- Fix transition post status tests on WP 3.7, 3.8, 3.9
- Tests on WP 3.8 are failing because of a mysql_connect deprecated warning
- PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Invalid data.' HOT 3
- Find a way to publish new versions of the plugin without manually modifying dependencies HOT 2
- Quick edits trigger notifications also if notifications are disabled for updates
- Add info about how to configure VAPID HOT 2
- Add an option to disable the manifest generation
- Plugin Settings not properly updating. HOT 2
- Add border: none; to subscription icon class (CSS) HOT 1
- don't push notifications on bulk edits
- Update composer.json information HOT 5
- Examples HOT 1
- Uncaught (in promise) DOMException: Registration failed – manifest empty or miss
- Switch to web-push-php HOT 1
- wordpress plugin - bug or not.
- Uncaught (in promise) DOMException HOT 1
- Undefined variable: icon_url, in WebPush_Admin::tools
- archive project HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wp-web-push.