Hi i was stucked in silent notifications in ios10
i gave support to ios 10 as said in this link
Push notification issue with iOS 10
it is working fine in iphone 6 (calling background fetch completion handler)
when it comes to iphone 5 device not working properly
when i push silent notification device in background not responding completion handler why i didn't understand
Related
I'm developing an iOS app that uses Firebase push notifications. It worked well with Testing Firebase Notifications and receiving notification on iOS device.
But Custom notification is not receiving on the device. How to debug what is a problem ? Is it a problem from Firebase console or iOS development issue.
Using an iPhone with ios 11.
For some reason, FCM isn't working on iOS 11. Read about it here
https://github.com/firebase/quickstart-ios/issues/327
In your podfile change your FirebaseMessaging to pod 'FirebaseMessaging', '2.0.0'
Put simply
UIApplication.sharedApplication().cancelAllLocalNotifications()
doesn't clear all remote notifications in notification center. I'm not using app badge notifications so I'm not worried about that. I ran it on both iOS8 and iOS9 and doesn't work...no idea why.
It is possible to show a notification from Apple watchOS 2 native app? Although watchOS 2 applications can run directly on the Apple watch device, it still hasn't reference to the UIApplication.SharedApplication, so I can't all the UIApplication.presentLocalNotificationNow() directly from the WatchKit app an it seems that also the WKExtensionDelegate cannot be used to show instant notifications.
The WKExtensionDelegate can respond to local notifications via the didReceiveLocalNotification(_:) method. Your iPhone app will have to schedule the notification. If it is an even that only the watch knows about, you can send a message to the phone app using the WCSession set of APIs.
I'm able to test push notification using Apple Watch simulator and the "PushNotificationPayload.apns" file by selecting Notification:
How to test push notification on the actual Apple Watch?
--> I've tried to use exact steps for simulator. But the Apple Watch will just launch the app, bypassing the notification view.
The APNS file is available only for testing in the simulator. It doesn't work on a real device. You'll have to test push notifications the same way you would for an iOS app: actually sending a push notification to the device.
There is a simple process to test the push notification on Apple Watch. It is same as in iPhone. Also Inside your iPhone -> Apple Watch-> Notifications -> Mirror iPHONE alerts From-> turn on your notification.
There are following things which you need to take care while testing the Push notification on Watch:-
1) IPhone should not be active and Watch should be active.
2) IPhone and watch both should not be active.
3) IPhone and watch both should not be deactive.
Apple Push notification is not working specifically for my app only in iPhone 4 device(iOS 7.1). Its working fine in other apps in iPhone 4 and it also works fine with 4s,5S,iPod touch. What might the issue?