Notification permission in Flutter
I want to ask the user this type of promt in both the android and ios ,when the user come inside my app. But im not able to achive it. So if some one know please help me with this.…
I want to ask the user this type of promt in both the android and ios ,when the user come inside my app. But im not able to achive it. So if some one know please help me with this.…
I'm trying to schedule local notifications on only weekdays, between the 8am to 5pm. Need to trigger a local notification on given time interval. func scheduleNotifications(timeInterval: Int) { let notificationCenter = UNUserNotificationCenter.current() notificationCenter.removeAllDeliveredNotifications() notificationCenter.removeAllPendingNotificationRequests() let startHour = 8 let totalHours…
I am implementing three buttons (5, 10, and 15 minutes) that are supposed to schedule a future notification for the user. E.g. when they click 5 minutes, a notification will pop up after 5 minutes with a message no matter…
I am developing an Android app using Flutter and currently working on implementing notifications. I have successfully set up weekly notifications, but I want to add a condition: the notification should be triggered only if the app has not been…
My Flutter app has a large number of tiny Stateful Widgets. I want to send a notification to one of them, and induce it to change state. What is the exact mechanism with Riverpod (or any other notification system like…
I cannot seem to get push notifications to work whatever I try... This is the error code. {"code":401,"errno":109,"error":"Unauthorized","message":"InvalidSignature","more_info":"http://autopush.readthedocs.io/en/latest/http.html#error-codes"} It appears that the issue has something to do with ether a key mismatch or invalid signature. Here are some of the…
I need to open a file that is an attachment in my app, those file could be any type really, images, videos, pdfs, excel files... Android 13 has permissions for READ_MEDIA_IMAGES, READ_MEDIA_VIDEO and READ_MEDIA_AUDIO, and can request them with permission_handler:…
Hi actually I open the question in https://github.com/OneSignal/OneSignal-Flutter-SDK/issues/731, so I am trying to install onesignal in my flutter project, actually I don't use it in ios, I only use it in android. There were nothing wrong when I do debugging…
I have the following test html with javascript, where the main interest is about notifications : <head> <title>Test Notifications</title> </head> <body> <div > <button style="margin: 0;position: absolute;top: 50%;left: 50%;-ms-transform: translate(-50%, -50%);transform: translate(-50%, -50%);" onclick="askPermissionsAndSendNotification();" >Send Notification</button> </div> <script type="text/javascript" >…
I have an taxi app made with Flutter, where notifications are sent for drivers to accept / reject an ride... Sometimes, drivers unknowingly dismiss the notifications and thereby they don't open the app to either accept or reject the ride...…