notifications

Local Schedule Notification react native

白昼怎懂夜的黑 提交于 2020-06-15 18:45:31
问题 I am new to React Native i'm trying to implement a functionality where the app sends to user everyday at a certain period of dates and times a notifications to remind users to take pills ( times and dates and data are stored in mongodb server so i'll be using axios to fetch them ) can notifications still works if app is closed or in the background ? is it easy to make it work ? Does anyone know of a way to achieve this , is it possible ? thanks 回答1: Yes!!! This is possible. You have many

Local Schedule Notification react native

不问归期 提交于 2020-06-15 18:34:45
问题 I am new to React Native i'm trying to implement a functionality where the app sends to user everyday at a certain period of dates and times a notifications to remind users to take pills ( times and dates and data are stored in mongodb server so i'll be using axios to fetch them ) can notifications still works if app is closed or in the background ? is it easy to make it work ? Does anyone know of a way to achieve this , is it possible ? thanks 回答1: Yes!!! This is possible. You have many

Notificaton Service Extension Not working

﹥>﹥吖頭↗ 提交于 2020-06-14 06:53:44
问题 Notification is not being displayed when I send mutable-content:1 with push payload neither it hits the breakpoint inside the Notification service extension, although without mutable-content push is being displayed, also Notification content extension is working fine. I did not modified the code inside Notification service extension its the default generated by the Xcode. Am I missing something while creating notification service extension or it might be the issue with the device setting. I

Open a specific view when opening the App through a Notification

旧城冷巷雨未停 提交于 2020-06-12 12:33:42
问题 I am able to open a specific view (ToDoView) when I use categories with actions for my notification. But what I would like to achieve is that a specific view gets also opened when I click on the notification itself. Maybe this is super simple to solve, but I couldn't find out yet using SwiftUI. By the way: This code only works if the app still runs in the background, otherwise i land at ContentView, which is also not optimal. AppDelegate.swift func application(_ application: UIApplication,

Open a specific view when opening the App through a Notification

穿精又带淫゛_ 提交于 2020-06-12 12:32:58
问题 I am able to open a specific view (ToDoView) when I use categories with actions for my notification. But what I would like to achieve is that a specific view gets also opened when I click on the notification itself. Maybe this is super simple to solve, but I couldn't find out yet using SwiftUI. By the way: This code only works if the app still runs in the background, otherwise i land at ContentView, which is also not optimal. AppDelegate.swift func application(_ application: UIApplication,

Notify all group members of failed pipelines in GitLab

删除回忆录丶 提交于 2020-06-11 16:53:06
问题 The Goal is to have everyone get a notification for every failed pipeline (at their discretion). Currently any of us can run a pipeline on this project branch, and the creator of the pipeline gets an email, no one else does. I have tried setting the notification level to watch and custom (with failed pipelines checked) at project, group and global levels without success. The help page regarding notifications says the failed pipeline checkbox for custom notification levels notifies the author

Expo Push Notification with PHP

拜拜、爱过 提交于 2020-06-08 12:39:18
问题 I am trying to send a Push Notification to my react native app using PHP, the below code is sending too all the users that registered their token and it sends plenty Notification at once though the token is for specific device but it keep pushing the notification to all $key = "ExponentPushToken[0GAEokJazChx21MOxeC1l2]"; $title = "title"; $interestDetails = ['https://exp.host/--/api/v2/push/send',$key]; try{ $expo = \ExponentPhpSDK\Expo::normalSetup(); // Subscribe the recipient to the server

`UNTimeIntervalNotificationTrigger` repeats: true only fired once. macOS bug? Works on iOS

霸气de小男生 提交于 2020-06-01 05:48:06
问题 I want a notification to show every 60 seconds. It only happened once on MacOS. The same exact code works normally on iOS. If I manually remove the notification from macOS notification center, it'll eventually show again. So the problem seems like notification won't show again if it's already showed once and the user didn't take any action. Did I miss something obvious here? Current macOS: 10.15.4 Current iOS: 13.4.1 on App Delegate func userNotificationCenter(_ center:

How to show more than one line in a notification message (flutter_local_notifications package)

僤鯓⒐⒋嵵緔 提交于 2020-05-31 10:14:48
问题 I have a problem that only the first line in the notification body appears, how can I make the notification expanded with large content? This is the code, using the flutter_local_notifications package: void showNotification(int id, String title, String content, DateTime time) async { final AndroidNotificationDetails android = AndroidNotificationDetails( 'ch_ID', 'Ch_Name', 'ch_Description', priority: Priority.High, importance: Importance.Max); final IOSNotificationDetails ios =

Using bootstrap-notify with Angular 7

六眼飞鱼酱① 提交于 2020-05-30 17:46:51
问题 I would like to use bootstrap-notify in my Angular 7 application. To do this, I have installed the bootstrap-notify package (and also @types/bootstrap-notify ). In my component from where I want to use the notifications I imported the jQuery service like this: import * as $ from 'jquery'; And now called notify as described here in the documentation: $.notify({ // options message: 'Hello World' },{ // settings type: 'danger' }); The problem is that I get this error: ERROR in src/app/home/home