Currently I am working on a PWA, and the implementation of Web push notifications using FCM is working only for Android and web on desktop. Does there exist any approach to implement push notifications in IOS devices using Firebase Cloud Messaging? Specifically, can iOS receive push notifications in background mode?
You use it with Firebase or not, web push notifications in iOS has some limitations. Read on what is possible and what is not here.
Related
I use FCM in Flutter project, push notifications are well received and processed on Android and iOS. But for iOS opens and conversions data do not collect in Cloud messaging section of Firebase console. How can I fix it?
I am not able to find a way to enable web push notifications for a PWA app. Does that work in IOS like it does on android?
No the web push api is not yet available on the iOS yet (as of May 2019)
refer here https://developer.mozilla.org/en-US/docs/Web/API/PushManager
Now that Microsoft has deprecated Mobile App Services iOS SDK, which is referenced in some of their examples (1.2.4 vs. last 2.2.2), and is transitioning to Azure App Service, there is no clear explanation of what to link to a Swift4 (or Objective-C) Xcode 9 project to modify for the Notification hub name and ListenSharedAccess URL. Please advise with example code an reference documents. This is for iOS app push notification with Azure Notification Hubs as connecting with the backend to register tokens etc., not Xamarin iOS (for which there is an example on MSFT site).
The iOS SDK for Azure Mobile Apps has recently been updated to v3.4.0.
This page has instructions for adding push notifications to your Mobile Apps project. I would recommend the iOS app not know anything directly about your notification hub, but instead send the device's push token to your App Service, which in turn can register the device with the notification hub.
I struggle to find a solution how can I send web push notification to iOS devices? For Android there is no problem I use service worker and GCM.
But I found service worker for iOS push notifications is under construction.Is there a way for iOS devices?
If by web application you consider an app that opens in Safari the answer is: you can't send web notifications to iOS. Documentation:
Notifications for websites do not appear on iOS
If your web application is a native app with web view in it for content loading then you'll have to use native push notifications.
Is there a way for iOS devices?
It's not possible at the moment and there isn't any workaround for websites.
You need to create a native or hybrid app for iOS if you want push notifications.
Let’s ask Apple to add Web Push Notifications to iOS
I struggle to find a solution how can I send push notification to a mobile device from my web application. For Android there is no problem I use One Signal service. Is there a way for Iphone devices also
Thank you in advance!
Onesignal supports iOS platform too.
Using the browser app, you can call OneSignal API which in turn will trigger push notification to iOS app.
You need to have an iPhone app in conjunction with your browser app using which device token can be registered.
Official link : link
Video tutorial : link