Comments (9)
@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.
gotcha
from phonegap-plugin-push.
@uriva you don't need to close this issue but we could move it to an enhancement.
from phonegap-plugin-push.
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.
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.
iiuc, this functionality is currently available in android, and the issue is just for ios?
from phonegap-plugin-push.
No, unfortunately it's not available in any platform yet.
from phonegap-plugin-push.
/:
from phonegap-plugin-push.
There are two issues that prevents #93 from being a complete solution:
- 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)
- If you call
navigator.geolocation.getCurrentPosition
from the pushPlugin callback, it will not work (the callback given togetCurrentPosition
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)
- Callbacks (hasPermission, register) are not called on iOs 13 HOT 3
- @parmarkaushik15 yeah, like I said in my last comment, if the app is forced closed there is no web view in memory to run the JS. The best you can do at this point is look into using the force start parameter. HOT 1
- ios: notification event not firing after app is closed when user opens app directly - works on android HOT 1
- On notification event not firing when cordova local notification plugin is installed. HOT 5
- IOS. Does not show 'Allow / Deny' notification dialog and not receiving push notification
- Blank screen is displayed in few devices instead of picture
- iOS13 APNS Device Token HOT 2
- getNotificationSettingsWithCompletionHandler - completion handler never executes on iOS 9.3.5
- Incompatibilty phonegap-plugin-push whit cordova-plugin-googlemaps HOT 5
- Unable to send push to browser(Firefox, Chrome) using fcm/gcm getting 'InvalidRegistration'
- On Android it receives notifications but they don't appear on Firebase Analytics
- Not every key in the firebase's {android/ios}.notification object is supported in "additionalData" object
- Unable to compile 2.3.0
- HELP - Failed to install 'phonegap-plugin-push': undefined - cocoapods -macOs Catalina HOT 1
- registration is not called
- iOS: Can't process background notification on low battery
- Security Error with android:exported=true
- [Android] on('notification') 'coldstart' value is acting wacky and not as documented (works only on iOS)
- Sporadic registrations on iOS using Xcode
- FCM version is not up-to-date.
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 phonegap-plugin-push.