push-notification

How do I open https URL from One Signal push-notification WITHIN my WebView react-native app?

北城以北 提交于 2020-05-17 07:27:04
问题 I've created a React-native app (tested in android) using WebView with the initial URL of my company's website. I want the user to be able to get redirected to a spesific website's product page (for example https://www.test.com/product/hoodie-with-zipper/) WHEN they clicked the OneSignal push notification with the intended launch URL included in the sent notification. The problem is, I want the user to open the URL with my WebView App, not the browsers. The features I've implemented and

Firebase messaging is not supported in your browser how to solve this?

一笑奈何 提交于 2020-05-15 05:38:09
问题 I am using firebase messaging for web push notification with react. But browser show this message Messaging: This browser doesn't support the API's required to use the firebase SDK. (messaging/unsupported-browser) This is code : const initializedFirebaseApp = firebase.initializeApp({ apiKey: "XXXXXX", authDomain: "XXXXXXX", databaseURL: "XXXXXXXXX", projectId: "XXXXXX", storageBucket: "XXXX", messagingSenderId: "XXXXXX", appId: "XXXXXX" }); if (firebase.messaging.isSupported()) { let

Push Notifications in iOS for Progressive Web Apps

点点圈 提交于 2020-05-15 04:57:28
问题 I have developed a Progressive Web App by using Javascript. I am unable to receive Push Notifications in iOS platform for my app, but at the same time i am receiving Notifications for Android and Web apps browsers. I read somewhere still no support for iOS notifications. Please help me if you guys have any info to achieve this. 回答1: All the leading browsers with the exception of Safari on iOS web push API. While Safari does support push notifications on Mac OS, there is no green signal for

Push Notifications in iOS for Progressive Web Apps

倖福魔咒の 提交于 2020-05-15 04:56:08
问题 I have developed a Progressive Web App by using Javascript. I am unable to receive Push Notifications in iOS platform for my app, but at the same time i am receiving Notifications for Android and Web apps browsers. I read somewhere still no support for iOS notifications. Please help me if you guys have any info to achieve this. 回答1: All the leading browsers with the exception of Safari on iOS web push API. While Safari does support push notifications on Mac OS, there is no green signal for

Firebase notifications received on iOS 12 but not received on iOS 13

柔情痞子 提交于 2020-05-14 02:21:08
问题 Firebase push notifications sent but not received on iOS 13 and received on iOS 12 My xcode version 11.4 with Swift 5 I did the test on iOS 12.4.2, 13.4 and 13.4.1 The notifications not received in any app state (foreground, background and closed) I added a firebase project for my project and connected with APNS using both ways APNs auth key and APNs Certificates I tried the firebase notification composer and got the same result Here is my AppDelegate class code: import UIKit import

React native local notifications

非 Y 不嫁゛ 提交于 2020-05-13 13:33:12
问题 I am new to React Native and need to implement a functionality where the app needs to send the user a notification every day at a certain time. The data to be shown for each day is stored in a json file on the client side and will not change. The notifications are on a schedule. Given that I was hoping there could be a way to just trigger a notification from the app itself. Does anyone know of a way to achieve this without having to detach the app from expo? I can't use 'react-native-push

Is it possible to receive FCM push notification when app is killed?

匆匆过客 提交于 2020-05-11 03:27:52
问题 I am developing an e-mail app in which I want that the user will get push notification as soon as they receive new email. And for that purpose I am using FCM. I have just tried push notifications using fcm by following this link: https://www.youtube.com/watch?v=XijS62iP1Xo&t=6s in order to test what features fcm provides. But the problem I face is that device recieve push notification when app is either in foreground or background but it wont receive any push notifications when app is closed

iOS push notifications using TLS certificate vs. using authentication tokens

試著忘記壹切 提交于 2020-05-10 02:38:49
问题 I am reading the documentation for both push using TLS certificates and push using authentication tokens But besides explaining how to configure each, the articles don't really explain the differences or pros/cons of both approaches. Can somebody explain them to me? 回答1: Token-based authentication is newer and essentially simplifies APNS authentication. It is based on a public and private key pair that you can generate on your Apple developer account. Here are the main reasons why it is

iOS push notifications using TLS certificate vs. using authentication tokens

这一生的挚爱 提交于 2020-05-10 02:38:39
问题 I am reading the documentation for both push using TLS certificates and push using authentication tokens But besides explaining how to configure each, the articles don't really explain the differences or pros/cons of both approaches. Can somebody explain them to me? 回答1: Token-based authentication is newer and essentially simplifies APNS authentication. It is based on a public and private key pair that you can generate on your Apple developer account. Here are the main reasons why it is

Swiftui: How can I navigate to a specific NavigationLink when user clicks on push notification?

久未见 提交于 2020-05-07 06:04:27
问题 I am using FCM with my ios push notification. How can I navigate to a specific navigation link when the user taps the push notification. Thank you in advance for your help! I understand that I will handle the push notification tap on this function. func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) { let userInfo = response.notification.request.content.userInfo // Print