Android Wear: don't share all notifications - notifications

Is it possible with Android Wear not to share all notifications with a connected wearable device? E.g. I only want only be notified of new SMS messages on the Wearable Device but not of all the other stuff?
Edit: Would it be implemented in the Smartphone App or in the Wearable App?

The Android Wear phone app already allows you as a user to control which apps push notification to your Wear device (Android Wear app -> Settings gear in upper right -> Block app notifications).
If you mean as a developer for notifications you control, you can use setLocalOnly(true) to make your notification only appear on the phone and not a Wear device.
If you mean as a developer wanting to control other application's notifications, no you cannot control which notifications bridge over to Android Wear devices, although you can cancel notifications altogether if you implement a NotificationListenerService (that would cancel them on both the phone and Wear device).

Related

Withdraw/delete push notification in React Native

Our React Native app needs to send out push notification to a number of people (iOS and Android, app can be open, backgrounded, or closed), and when just one of these people performs a specific in-app action, we need our server to erase these push notifications from everyone's phones (again from either open, backgrounded, or closed). Is this possible to do for both iOS and Android?
You can send background notification (data notification if firebase) and implement frontend listeners to cancel all notifications received so far.

Quick fix to solve XMPP iOS VoIP background execution rejection by appestore

I developed an xmpp ios chat application. The application requires the functionality of receiving the chat messages even if the application in background state. In order to achieve this, i used VoIP background execution to stay the user session alive instead of implementing apple push notification . The application is working fine. But the problem is that, the application is rejected by the appstore(Meta data rejection). Is there any quick way to solve this issue ??? Thanks in advance.
By giving background mode capabilities would not allow to make your app live if there is no functionality of VOIP in the app.
Use Pushkit ( Silent push notification ) like whatsapp, facebook etc chat app to keep your chat functionality in background or kill state.
Let me know if i could help you in push kit or anything else.

Can Application Center send push notification to Windows devices when an update is availble?

According to the below link, Application Center can send push notification when an update is available. It says that Application Center can send for iOS and Android mobile client,but not for blackberry. But it didn't mention about windows devices.
Push notifications of application updates
Can Application Center send push notification to windows devices(not windows phone) mobile client automatically?
IBM Application Center does not support push notifications for Windows apps.

Notification Sync from Android Phone

I have a 3rd party app running on my Android phone. This android phone is paired to a google glass thru myGlass app. I receive a push notifications to the 3rd party app running on the phone. But there is no sync of notification to the glass timeline.
How can I sync the notification received for the 3rd party app on Android phone to google glass.
Please advise.
I think the new Notification Sync feature launched by Google may be useful in this case. You set the MyGlass to access your notification and then it will relay your phone notfications to Glass. You can even choose which apps can send notification to Glass. Find More info here

How to enable-disable Notifications in settings app using sdk?

I want to use push notification in my app so first time it launches it will automatically ask for notification.So i want to enable-disable push notification settings for my app programmatically.Note-I do not want to unregistered my app just disable Alert,badge,Sound for my app in settings app.
You can't do this via the SDK. You'll have to inform the user that your app requires push notifications turned on, and then they'll have to go to Settings and turn it on themselves.
Apps have no control over the phone's settings, only its own.