Android - an app to disable facebook push notification - android

Is it possible to create an app that it's sole purpose is to toggle on/off the facebook push notifications? (like a silence for facebook)?

If you give your app notification-access permissions you should be able to dismiss the notifications as soon as they pop-up, but the user will still get notified (sound or vibrating), although he won't see the notification when the device is unlocked as your app would have dismissed it.
Pushbullet does that.
In any case it's no use, the user can go to the Facebook app details and uncheck the notifications box.

Related

How to allow floating notification and lock screen notification programmatic in flutter

To implement push notification, Firebase Cloud Messaging is used.The notification is received successfully in the device but it has to be a pop-up(Floating notification) and it should also be displayed in lock screen.
Notification is composed using Admin SDK in node.js environment.
Please help to show the notification as a floating and lock-screen notification.
plugin used in flutter is firebase_messaging.
I suspect that it is not possible.
On some launchers that are enabled when in some it is disabled (for energy-saving purposes I guess) by default.
The user should enable it manually from app settings=>notification section manually.

Receive Notifications even when my App's notification is turned off by user from Settings

I have a requirement of implementing a silent kind of notification where in if user turn off notification explicitly from settings menu but still receive a notification.
Checking notification is turned off/on is possible and can navigate to settings page where we can ask to user to toggle the button to make it off/on.
But my requirement is either dynamically on notification which is turned off. I searched a lot but did not find a solution.
In this link user who asked a question says that we can receive in android but not in iOS. As per my knowledge we can't because what is the use of giving option(from settings menu turn off) to user.
Will anyone let me know whether it is possible!!!
Thanks in advance.

android O not receiving FCM push messaging while phone is in sleep mode

I am using FCM for push messaging. I did not getting FCM notification if application is closed by user in android Noughat OS.
If user not close app, push notification works fine.
also if user add application in protected app from setting->protected apps app works even in sleep mode.
In settings, you need the settings as below
Settings->Notification->App->On the lock screen
It should not be do not show at all. By default it is always hide sensitive notification, hence if notify not defined as sensitive, will be hidden.

Force IOS/android user to check the notification

I am developing a IOS/android app which will used by our vendors, the app will send notifications to the vendors timely, i wonder if there is a way that the vendor MUST click "accept" or "read" for every notification, even he/she disable the notification permission for this app.
so, all of my perpose is the vendor must ready the notification and the server side should be able to know who is not read. the vendors should not has an execuse that he/she do not get a notice while the policy changed.
There is no way to 'force' a user to open a notification, but if you use a Push Notification service (AppBoy, etc) most of them have metrics and can track who has opened the notifications. So if your vendor comes back and says they never got it, you can say yes you did, and which device they opened it on. You could then continually send notifications to those who haven't opened it until they do.
This won't work if they have notifications disabled, though. No way to get past that without building a messaging system into your app.

Onesignal not sending all Android Notification

I am using onesignal for android push notifications. But not all notifications are being sent. Sometimes notifications are sent while sometimes they are not.... Whats the problem? Please Explain.
the problem is not with the code because some notification get sent but most of them do not get sent.
There are a few more details that are needed to be able to diagnose this problem.
First, is OneSignal saying that there were any errors? If so, you can find the cause of the errors by visiting the settings page for your OneSignal app and selecting "Show details" next to any visible errors or warnings.
Next, if OneSignal is not showing 0 possible recipients then that means your device has not opted-in to notifications, or the device has uninstalled your app, or the OneSignal SDK was not properly installed in your app.
Finally, if OneSignal is showing that the notification was delivered but it was not received, the most common causes of this issue on Android devices are as follows:
The user has force-closed your app. (Notifications will not be delivered to apps that were force closed)
The user has denied notification permissions ( Check the notification setting under Settings > Apps)
App is closed on a Huawei or Xiaomi device due their custom Android tweaks.
a. Huawei - Go to Settings > "Protected apps", check your app.
b. Xiaomi - Make sure "Auto-start" property enabled for your app in the settings.
In app - A notification will not be displayed on the device if your app is currently in focus by default. However, you can call EnableInAppAlertNotification with true to show notifications as alert boxes in your app.

Categories

Resources