I have a doubt regarding PWAs. So, using the native android SDK we can through f.e. NotificationListenerService listen to specific/all device notifications like a smartwatch application does when it has to display the same notifications on the watch as the smartphone does. Is this possible to be done on a PWA?
For example, I want to make a PWA that stores all device notifications, so I need my PWA application able to listen to all device notifications (mainly the ones from other applications)
Is this possible?
Related
I want to build a cross platform app(IOS/Android) that notifies users via HapticFeedback whenever a timer ends. Given the nature of the app, users that have a Watch connected to their device would benefit greatly from having the Watch vibrate and not the phone.
Question:
Do watches such as the "Apple Watch" and the "Samsung Galaxy Watch" automatically route notifications coming from a third-party app to the Watch or would the app need to specifically target the Watch in order to make it vibrate?
Would a package like "flutter_vibrate" be capable of making the Watches Vibrate?
The companion app that pairs with the watch needs to be set to either:
Forward system notifications to the watch
or
Specifically let the app in question send notifications
Therefore, as long as the companion app controlling the watch is listening for system notification and forwarding them to the watch, the flutter_vibrate package will provide HapticFeedback to the watch
I'm looking for a feature I'm finding surprisingly difficult to research.
I want to emulate a feature I know from another app in my own.
Here's what the app does:
it is a baby monitor, one device is in a room, and on noise (in the use case of the app: a crying baby), a push notification to other, connected devices is triggered
the other devices are connected via the internet
when the notification is triggered, the receiving phones play the streamed sound from the room, not just briefly, but continuously
this works even if the phones are locked
it works both on iOS and Android
I would like to send such a push to a self-written app. Sender would be some server, receiver would be Android and iOS devices.
How is this type of push notification called in iOS and Android terms, respectively? Where can I find documentation for it?
I would like to know is there any way to send notification from a server to an Android device without a client app installed on the device. Does android OS has such functionality. Based on the answer here Does Android support near real time push notification? Google Cloud Messaging do similar things, but it seems the client app need to be installed on user mobile.
Basically what I want do when an android device comes in range of an iBeacon
I need to send the notification messages to the user mobile.
Is there any way to achieve it. Any possible solution?
Edit:
The real scenario is like,
I have the beacon placed in somewhere, when the a device comes in range of the beacon, some how I have to detect the device(if the device Bluetooth is on) and get some id of the device send notification from cloud server. Where as the device(Android phone) don't know the beacon is there, or there is no app installed on the device to detect the beacon.
I am not sure whether it's possible to achieve the above goal in such a scenario.
Please let me know your valuable feedback.
Chrome 42 or higher for Android supports push notifications from websites, which allows you to send notifications without installing an app.
If you're specifically looking to start notifications from a beacon, Chrome 49 added support for beacons
I'm currently working on an application that would communicate with a hardware device which will notify user when receiving any incoming push notifications from any apps, such as Facebook, Twitter, Messages. I have done the Android version already, However, I'm not sure if it is possible in iOS.
Ok, I found out that there's a way to work on this. Apple actually provides a service called Apple Notification Center Service (ANCS) to communicate with BLE devices for all notification data. This is probably used by device like Pebble smart watch as well.
For what I know, it is not possible. iOS apps are sandboxing.
I am developing a package manager application which shows checkboxes to turn off notifications from different applications installed on the Android device.
Since Android 4.1, users can turn off notifications of an app from application manager. Can I turn on/off notifications from an app programatically? Is there an API for doing that?
No, you cannot do that from your code. Perhaps on rooted devices you could do some magic, but that shall not really count for wider audience.
If you are App dev, you should manage that on server side, having a webservice (REST API) allowing the user to unsubscribe to the notifications.
Then implement a Settings section in your App where user can uncheck a notification box and that call this service.
Then, your server will not send the notification to this user.