Giter VIP home page Giter VIP logo

Comments (9)

macdonst avatar macdonst commented on May 17, 2024

@uriva Yes, this plugin is currently up and working. It sounds interesting but I'd like to see support for Android, iOS and soon to be Windows Phone before adding it as a new feature.

from phonegap-plugin-push.

uriva avatar uriva commented on May 17, 2024

gotcha

from phonegap-plugin-push.

macdonst avatar macdonst commented on May 17, 2024

@uriva you don't need to close this issue but we could move it to an enhancement.

from phonegap-plugin-push.

uriva avatar uriva commented on May 17, 2024

Reopening as I see my current master push-plugin repository is deprecated, so I prefer to add to this one. Please add to enhancements.

I can write only the Android case, because I don't have knowledge / tools for iOS or Windows.
Is anybody up for it?

from phonegap-plugin-push.

fredgalvao avatar fredgalvao commented on May 17, 2024

The cold-start background notification feature, specifically the event proposed here would already make that possible without having to resort to extra native code, and would already work on all platforms. And I'd rather it be on javascript side, so that any customizations to the request made to the server could be done easily.

from phonegap-plugin-push.

uriva avatar uriva commented on May 17, 2024

iiuc, this functionality is currently available in android, and the issue is just for ios?

from phonegap-plugin-push.

fredgalvao avatar fredgalvao commented on May 17, 2024

No, unfortunately it's not available in any platform yet.

from phonegap-plugin-push.

uriva avatar uriva commented on May 17, 2024

/:

from phonegap-plugin-push.

uriva avatar uriva commented on May 17, 2024

There are two issues that prevents #93 from being a complete solution:

  1. The functionality isn't available if a user "ends task" through the square button (no deal breaker and I saw that there are other issues debating this)
  2. If you call navigator.geolocation.getCurrentPosition from the pushPlugin callback, it will not work (the callback given to getCurrentPosition won't get called) until the user has actually entered the app.

I know that you guys are aware of the first issue, but perhaps the second one is new information. If you have any ideas how to bypass this that would be great, e.g. if we can make android think this is foreground javascript somehow (I assume that natively that call would have been allowed from a background process?)

from phonegap-plugin-push.

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.