I have followed exactly the similar approach suggested in the below two links and tested the application.
- resources.samsungdevelopers.com/Galaxy_SDKs/Rich_Notification
- resources.samsungdevelopers.com/Galaxy_SDKs/Rich_Notification/040_Complete_Rich_Notification_Code_Examples/Example_Code_-_Hello_Rich_Notification
But whenever I select to send notification, it never appears on Gear. But once I restart the Gear all notifications appears at the same time. I have checked the settings to allow the app to send notification at device side.
I want the notification to appear immediately I send it from device which is not happening. I am missing any more settings?
The device I am using: Samsung Galaxy S7 & Gear S2.
Here are the logs get printed at device side when I send notification,
10-03 17:18:36.462 D/ViewRootImpl: ViewPostImeInputStage processPointer 0
10-03 17:18:36.572 D/ViewRootImpl: ViewPostImeInputStage processPointer 1
10-03 17:18:36.582 D/RichN: started mRichNotificationManager
10-03 17:18:36.602 W/art: Suspending all threads took: 15.544ms
10-03 17:18:36.612 D/RichN: myRichNotification creted
10-03 17:18:36.612 I/RichNotification: sendRichNotification(RichNotification notification)
10-03 17:18:36.612 D/RichN: notify Done
10-03 17:18:36.822 D/RichNotification: BIND_NOTIFICATION_CHANNEL size: 1
10-03 17:18:36.822 D/RichNotification: checking signature for Service
10-03 17:18:36.822 D/RichNotification: checking signature for Service
10-03 17:18:36.822 D/RichNotification: signature match found for Service
10-03 17:18:36.822 D/RichNotification: mynotification:2
10-03 17:18:36.822 D/RichNotification: Service started already
10-03 17:18:36.822 D/RichNotification: mynotification:2 OnSevicesend called
10-03 17:18:36.822 D/RichNotification: After mChannelService() packagename: com.daimler.gearnotificationsample
10-03 17:18:36.822 D/RichNotification: ACTION_RICH_NOTIFICATION_TYPE: com.samsung.notifications.rich.ACTION_RICH_NOTIFICATION_FORWARD
10-03 17:18:36.852 D/RichNotification: deQueued------0
10-03 17:18:36.852 D/RichNotification: Queue Empty all Noti sent