Comments (12)
@lucasabba I haven't started looking into iOS9 support. Version 1.3 which will release in September will have support for iOS9.
from phonegap-plugin-push.
This seems to be an issue unrelated to iOS 9. I experienced this on iOS 8 as well as on iOS 9 beta, but it appears that passing the correct ios options to the init function, solves the issue (at least for me). The documentation doesn't mention these options, but try passing {ios: {sound: true, badge: true, alert: true}} to init.
from phonegap-plugin-push.
@alexbuijs What version of the plugin are you using?
from phonegap-plugin-push.
I'm using the latest version: 1.2.0
from phonegap-plugin-push.
My plugin version is 1.1.1, how can I update?
from phonegap-plugin-push.
cordova plugin rm phonegap-plugin-push
cordova plugin add phonegap-plugin-push
from phonegap-plugin-push.
Thanks, after update I need to use "Cordova prepare iOS"?
from phonegap-plugin-push.
it shouldn't be necessary, but it won't hurt.
from phonegap-plugin-push.
@alexbuijs where i need to insert {ios: {sound: true, badge: true, alert: true}} ?
is this ok?
PushNotification.init({
"android": {
"senderID": "************"
},
"ios": {sound: true, badge: true, alert: true},
"windows": {}
});
from phonegap-plugin-push.
everything work on iOS 9 after update plugin to version 1.2.0 and use @alexbuijs idea
Thanks to all for your help!
from phonegap-plugin-push.
@alexbuijs thanks! No idea why that is not documented.
@lucasabba I will update the docs and close this issue.
from phonegap-plugin-push.
This thread has been automatically locked.
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.