Giter VIP home page Giter VIP logo

Comments (10)

RichardMaher avatar RichardMaher commented on August 20, 2024

Sorry, Opera Windows returns: -

Sorry this demo requires a service worker to work and it failed to install - sorry :(

from simple-push-demo.

gauntface avatar gauntface commented on August 20, 2024

Will double check if the error could be better on opera but opera only
supports push on android.

On Thu, 14 Jul 2016, 22:15 Richard Maher, [email protected] wrote:

Sorry, Opera Windows returns: -

Sorry this demo requires a service worker to work and it failed to install

  • sorry :(


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#69 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIh8HK0XbyrJMZRpm69tWZhHfpGJT4Qks5qVxd8gaJpZM4JNCQw
.

from simple-push-demo.

RichardMaher avatar RichardMaher commented on August 20, 2024

Thanks Mathew.

Happy with the Opera issue but my main gripe was with Android FireFox 47.

Cheers

from simple-push-demo.

gauntface avatar gauntface commented on August 20, 2024

Spent a little time looking into this.

I need to find a way to get localhost working on the device, without localhost, the ip address of my local machine is treated as insecure so I can't debug it.

Concerning as the demo works on Firefox desktop but not on mobile.

from simple-push-demo.

gauntface avatar gauntface commented on August 20, 2024

Turns out Firefox 47 doesn't support push. There is no PushManager in the window. I'm going to leave this open so I can stub out some tests for these scenarios. I've committed a change that should give a useful error message now.

Thanks for the bug report.

from simple-push-demo.

gauntface avatar gauntface commented on August 20, 2024

Also added some tests for Opera Stable - Dev for desktop on linux - all seem happy with the service worker so will have to look on a windows device to see if it's a windows only issue.

from simple-push-demo.

gauntface avatar gauntface commented on August 20, 2024

Unfortunately I can't repro. the opera issue. Everything seems fine on Windows 10 Surface 3.

from simple-push-demo.

RichardMaher avatar RichardMaher commented on August 20, 2024

Windows 10 Intel desktop Opera 38.0

Ooops a Problem Occurred
AbortError: Registration failed - push service not available

Strange about FF. I really just wanted to use your code (nice demo) to establish that Chrome, Samsung Browser and Opera all use GCM/Firebase as the Push Service and FF uses its own crap "autopush".

from simple-push-demo.

gauntface avatar gauntface commented on August 20, 2024

@RichardMaher ah got you, thats expected behaviour. Opera sadly show all the API's as available on desktop and then throw an error when you attempt to subscribe the user for push. I've raised an issue with Opera but it's a closed bug tracker so not a clue what they are doing / what they think about it.

from simple-push-demo.

gauntface avatar gauntface commented on August 20, 2024

But Opera on mobile uses GCM.

from simple-push-demo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.