Bitcoin Forum
January 22, 2020, 09:16:23 AM *
News: Latest Bitcoin Core release: 0.19.0.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2] 3 »  All
  Print  
Author Topic: Bitcointalk Notifier |merit and quotes| push notifications  (Read 944 times)
hatshepsut93
Legendary
*
Online Online

Activity: 1400
Merit: 1062


Bitcoin realist


View Profile
August 25, 2019, 03:24:18 AM
 #21

Edit : As op said, privacy oriented browsers and mobile Firefox don't work well, so problem is browser and not mobile device


Yes, I've noticed it today that my site doesn't work on mobile Firefox, not even test notifications are received, so I started investigating and found this: https://github.com/web-push-libs/web-push-php/issues/90

I've also tested other site that has push demo - https://serviceworke.rs/push-simple_demo.html and it didn't work with my Firefox mobile. From what I understand, it's some problem with the push endpoint, so I can't do anything about it.

Also, I've discovered strange behavior in Firefox desktop - overriding the default dom.webnotifications.requireinteraction.enabled makes service workers fail to render messages. Maybe it's a bug that should be reported to Mozilla, need to see if I can recreate it with other sites.

I get a continuous flow of PMs like this:
LoyceV, you have been mentioned in the following messages:

 

That looks like a bug, you should report it to Piggy.

1579684583
Hero Member
*
Offline Offline

Posts: 1579684583

View Profile Personal Message (Offline)

Ignore
1579684583
Reply with quote  #2

1579684583
Report to moderator
1579684583
Hero Member
*
Offline Offline

Posts: 1579684583

View Profile Personal Message (Offline)

Ignore
1579684583
Reply with quote  #2

1579684583
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1579684583
Hero Member
*
Offline Offline

Posts: 1579684583

View Profile Personal Message (Offline)

Ignore
1579684583
Reply with quote  #2

1579684583
Report to moderator
1579684583
Hero Member
*
Offline Offline

Posts: 1579684583

View Profile Personal Message (Offline)

Ignore
1579684583
Reply with quote  #2

1579684583
Report to moderator
libert19
Full Member
***
Offline Offline

Activity: 924
Merit: 120


First 100% Liquid Stablecoin Backed by Gold


View Profile WWW
August 25, 2019, 03:27:00 AM
 #22

Edit : As op said, privacy oriented browsers and mobile Firefox don't work well, so problem is browser and not mobile device


Yes, I've noticed it today that my site doesn't work on mobile Firefox, not even test notifications are received, so I started investigating and found this: https://github.com/web-push-libs/web-push-php/issues/90

I've also tested other site that has push demo - https://serviceworke.rs/push-simple_demo.html and it didn't work with my Firefox mobile. From what I understand, it's some problem with the push endpoint, so I can't do anything about it.

Also, I've discovered strange behavior in Firefox desktop - overriding the default dom.webnotifications.requireinteraction.enabled makes service workers fail to render messages. Maybe it's a bug that should be reported to Mozilla, need to see if I can recreate it with other sites.

I get a continuous flow of PMs like this:
LoyceV, you have been mentioned in the following messages:

 

That looks like a bug, you should report it to Piggy.

Don't stress over it, there are plenty of browsers available, if Firefox doesn't work, user can use another.

hatshepsut93
Legendary
*
Online Online

Activity: 1400
Merit: 1062


Bitcoin realist


View Profile
August 25, 2019, 03:38:05 AM
 #23

Don't stress over it, there are plenty of browsers available, if Firefox doesn't work, user can use another.

Nah, it is a problem, sometimes people stick to one browser and just don't use the product if it doesn't work for them - I myself was using only one browser for years. Also, Firefox is the browser from which I use this forum, and it's annoying to me that notifications don't work as well as in chrome.

I don't have many browsers installed, so if anyone uses Brave or Safari or something else aside from Firefox and Chrome, I'd be grateful to hear if the site works with them or not. I know there are tools for that, but they don't check push notifications.

TryNinja
Legendary
*
Offline Offline

Activity: 1260
Merit: 1756



View Profile
August 25, 2019, 04:30:00 AM
 #24

Agreed. This needs to be implemented natively already.
The new forum software will have this.

You can try if you want: https://www.cryptos-currencies.com/

LoyceV
Legendary
*
Online Online

Activity: 1736
Merit: 5580


Most of loyce.club works again


View Profile WWW
August 25, 2019, 04:43:41 AM
 #25

That looks like a bug, you should report it to Piggy.
Lol, it's what I subscribed to Smiley I was just showing an example of what Maggiordome sends me, the bot can't help it that I'm being mentioned or quoted a lot.

asayoyaasa
Copper Member
Full Member
***
Offline Offline

Activity: 659
Merit: 154


View Profile WWW
August 25, 2019, 04:53:48 AM
 #26

As for mobile, my site actually works just fine, because mobile browsers support push notifications too. I've tested it on my Android and mobile Chrome browser.
Nope not only on firefox, but my chrome, safari, and brave on IOS also don't work either.
It works on mobiles, what makes you think, it doesn't?
Well, I've tried it mate. here the screenshot of all browser all of them is blank page except for safari, but still, on safari I can't test notification either.

https://imgur.com/a/bWika2H I post to many images lately, so I just gave you all the link to an album for those 4 screenshots of browser I tested

This is my main account. My alt account for bounty report in the future >> asa crypto info
libert19
Full Member
***
Offline Offline

Activity: 924
Merit: 120


First 100% Liquid Stablecoin Backed by Gold


View Profile WWW
August 25, 2019, 05:00:00 AM
 #27

As for mobile, my site actually works just fine, because mobile browsers support push notifications too. I've tested it on my Android and mobile Chrome browser.
Nope not only on firefox, but my chrome, safari, and brave on IOS also don't work either.
It works on mobiles, what makes you think, it doesn't?
Well, I've tried it mate. here the screenshot of all browser all of them is blank page except for safari, but still, on safari I can't test notification either.

https://imgur.com/a/bWika2H I post to many images lately, so I just gave you all the link to an album for those 4 screenshots of browser I tested

Do you have notifications enabled system wide and also for the browser you are using?

asayoyaasa
Copper Member
Full Member
***
Offline Offline

Activity: 659
Merit: 154


View Profile WWW
August 25, 2019, 05:07:15 AM
Merited by hatshepsut93 (2)
 #28

Do you have notifications enabled system wide and also for the browser you are using?
Just googling about that and found this
Quote
Chrome does not send push notifications in iOS devices as Apple doesn't support this function. Apple does not support ‘Service Worker’ JavaScript for third party applications. Hence Chrome also does not offer any push notification service in macOS. Remember, the push notification will work on Safari and native macOS and iOS apps as a builtin feature.
So that's why all my browser except safari only shown a blank page, even though the article I read it will work on safari, but I've tried many times for test notification and it still not working.

This is my main account. My alt account for bounty report in the future >> asa crypto info
libert19
Full Member
***
Offline Offline

Activity: 924
Merit: 120


First 100% Liquid Stablecoin Backed by Gold


View Profile WWW
August 25, 2019, 05:18:05 AM
 #29

Do you have notifications enabled system wide and also for the browser you are using?
Just googling about that and found this
Quote
Chrome does not send push notifications in iOS devices as Apple doesn't support this function. Apple does not support ‘Service Worker’ JavaScript for third party applications. Hence Chrome also does not offer any push notification service in macOS. Remember, the push notification will work on Safari and native macOS and iOS apps as a builtin feature.
So that's why all my browser except safari only shown a blank page, even though the article I read it will work on safari, but I've tried many times for test notification and it still not working.

Did op's website prompt you with 'allow push notifications' and did you allow it?

hatshepsut93
Legendary
*
Online Online

Activity: 1400
Merit: 1062


Bitcoin realist


View Profile
August 25, 2019, 12:48:09 PM
 #30

Do you have notifications enabled system wide and also for the browser you are using?
Just googling about that and found this
Quote
Chrome does not send push notifications in iOS devices as Apple doesn't support this function. Apple does not support ‘Service Worker’ JavaScript for third party applications. Hence Chrome also does not offer any push notification service in macOS. Remember, the push notification will work on Safari and native macOS and iOS apps as a builtin feature.
So that's why all my browser except safari only shown a blank page, even though the article I read it will work on safari, but I've tried many times for test notification and it still not working.

Did op's website prompt you with 'allow push notifications' and did you allow it?


If the site is blank, it means the site initialization (it's built with React) has failed due to an uncaught error with service worker. I need to catch that error and display an appropriate message to users, will do it in next update.

Quote
Chrome does not send push notifications in iOS devices as Apple doesn't support this function. Apple does not support ‘Service Worker’ JavaScript for third party applications. Hence Chrome also does not offer any push notification service in macOS. Remember, the push notification will work on Safari and native macOS and iOS apps as a builtin feature.
So that's why all my browser except safari only shown a blank page, even though the article I read it will work on safari, but I've tried many times for test notification and it still not working.

Thanks for finding that, you saved me some time.

libert19
Full Member
***
Offline Offline

Activity: 924
Merit: 120


First 100% Liquid Stablecoin Backed by Gold


View Profile WWW
August 25, 2019, 12:49:58 PM
 #31

Do you have notifications enabled system wide and also for the browser you are using?
Just googling about that and found this
Quote
Chrome does not send push notifications in iOS devices as Apple doesn't support this function. Apple does not support ‘Service Worker’ JavaScript for third party applications. Hence Chrome also does not offer any push notification service in macOS. Remember, the push notification will work on Safari and native macOS and iOS apps as a builtin feature.
So that's why all my browser except safari only shown a blank page, even though the article I read it will work on safari, but I've tried many times for test notification and it still not working.

Did op's website prompt you with 'allow push notifications' and did you allow it?


If the site is blank, it means the site initialization (it's built with React) has failed due to an uncaught error with service worker. I need to catch that error and display an appropriate message to users, will do it in next update.

I mean for safari browser, he said site works fine with Safari browser.

hatshepsut93
Legendary
*
Online Online

Activity: 1400
Merit: 1062


Bitcoin realist


View Profile
August 25, 2019, 01:02:11 PM
Last edit: August 25, 2019, 01:18:51 PM by hatshepsut93
 #32

So that's why all my browser except safari only shown a blank page, even though the article I read it will work on safari, but I've tried many times for test notification and it still not working.
Can you subscribe to any names with safari browser? If yes, please tell me at least one name to which you subscribed, so I can try to debug it on my backend. Also in the next release I will render a message after you click on test notification whether it was sent from my backend or not, I already return it from request, but you can't check it on mobile easily.

Also, you can test push notifications here: https://serviceworke.rs/push-simple_demo.html - if it doesn't work, then the problem is with the browser.

I mean for safari browser, he said site works fine with Safari browser.

Right, I missed that.

asayoyaasa
Copper Member
Full Member
***
Offline Offline

Activity: 659
Merit: 154


View Profile WWW
August 25, 2019, 01:36:11 PM
Merited by hatshepsut93 (1)
 #33

~
nope, cant subscribe. I tried with my name and my alt but this error msg shows up.

I've tried with the link you provide also not work.

This is my main account. My alt account for bounty report in the future >> asa crypto info
hatshepsut93
Legendary
*
Online Online

Activity: 1400
Merit: 1062


Bitcoin realist


View Profile
August 25, 2019, 01:47:22 PM
 #34

~
nope, cant subscribe. I tried with my name and my alt but this error msg shows up.

I've tried with the link you provide also not work.

Thanks, it's a problem with the browser. Seems like Safari, both desktop and mobile don't support it - see https://developer.mozilla.org/en-US/docs/Web/API/Push_API#Browser_compatibility

Considering how iOS doesn't allow it even in browser that do support the feature, seems like the whole iOS platform is unsupported Sad

hatshepsut93
Legendary
*
Online Online

Activity: 1400
Merit: 1062


Bitcoin realist


View Profile
August 28, 2019, 11:16:48 PM
 #35

https://bitcointalk.org/index.php?action=recent is broken and only shows errors, so my server has nothing to scrape and notifications are unavailable. Is this something that happens often or not?

Also, I've made some updates and you should get a bit better information about errors when they occur, please report them here if you'll encounter some.

LoyceV
Legendary
*
Online Online

Activity: 1736
Merit: 5580


Most of loyce.club works again


View Profile WWW
August 29, 2019, 09:00:28 PM
 #36

https://bitcointalk.org/index.php?action=recent is broken and only shows errors, so my server has nothing to scrape and notifications are unavailable. Is this something that happens often or not?
It's the first time I've seen this happen. I haven't seen an official cause, so I don't know if this will happen more.
It lasted just over 8 hours.

Some say it was my fault Sad

libert19
Full Member
***
Offline Offline

Activity: 924
Merit: 120


First 100% Liquid Stablecoin Backed by Gold


View Profile WWW
September 10, 2019, 01:07:41 PM
 #37

I didn't receive notification even though i was quoted today!?

hatshepsut93
Legendary
*
Online Online

Activity: 1400
Merit: 1062


Bitcoin realist


View Profile
September 10, 2019, 01:44:09 PM
 #38

I didn't receive notification even though i was quoted today!?

Your push notification subscription has for some reason expired. Usually it happens when service worker unregisters - did you do something like deleting all cookies of your browser or manually unregister it? Maybe you installed some addon that can do this recently? It was also removed from my database, since it's stale, can you please go to the site and subscribe to your name again? Or if you are already subscribed to some other names, tell me to which. Also, what browser do you use?

libert19
Full Member
***
Offline Offline

Activity: 924
Merit: 120


First 100% Liquid Stablecoin Backed by Gold


View Profile WWW
September 10, 2019, 03:20:32 PM
 #39

did you do something like deleting all cookies of your browser or manually unregister it? Maybe you installed some addon that can do this recently?

No.

Quote
Can you please go to the site and subscribe to your name again?

Sure, done.

Quote
Or if you are already subscribed to some other names, tell me to which.


No.

Quote
Also, what browser do you use?

Samsung Internet beta. But, might switch to vivaldi in next few days (if that matters).

hatshepsut93
Legendary
*
Online Online

Activity: 1400
Merit: 1062


Bitcoin realist


View Profile
September 10, 2019, 03:31:00 PM
 #40

~

Thanks for your report, that was helpful.

I'll implement automated resubscriptions, but I don't know if it will fix such problems in the future, because it can be browser's/system's fault - if they decide to wipe cache for some reason, there's nothing I can do. Did you ever had problems like that on that device - you are suddenly logged out of some accounts, your settings on sites are gone, etc.?

If you'll encounter same problem again, go to the site and see if there's any subscriptions displayed - if not, it means your subscription has expired and you have to subscribe again, otherwise it might be a problem on my side.

Pages: « 1 [2] 3 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!