Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tizen_notification] Notifications not showing on some physical wearable devices #328

Open
nojinjeong opened this issue Feb 10, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@nojinjeong
Copy link
Contributor

There are some differences in the wnoti-service log between when a notification is generated through the tizen_notification plugin and by the system(messenger and email).

When the Notifcation API is used, the request is processed by wnoti-tizen-public-notification-manager.c:

W/wnoti-service( 2808): wnoti-tizen-public-notification-manager.c: _wnoti_public_notification_changed_cb(1533) > [#1] priv_id : 1462, op_type : 3 //insert: 1, update: 2, delete: 3
W/wnoti-service( 2808): wnoti-db-utility.c: lock_pm(458) > lock_pm status: 2
E/wnoti-service( 2808): wnoti-tizen-public-notification-manager.c: _wnoti_get_native_application_info(151) > _query_step failed()
W/wnoti-service( 2808): wnoti-tizen-public-notification-manager.c: _wnoti_process_public_delete_op(1481) > error_code from _wnoti_get_native_application_info: -1
W/wnoti-service( 2808): wnoti-tizen-public-notification-manager.c: _wnoti_process_public_delete_op(1496) > Free temp_info->sequence_number : 1462
W/wnoti-service( 2808): wnoti-db-utility.c: unlock_pm(474) > pm_lock status: 0
W/wnoti-service( 2808): wnoti-tizen-public-notification-manager.c: _wnoti_public_notification_changed_cb(1533) > [#1] priv_id : 1463, op_type : 1 //insert: 1, update: 2, delete: 3
W/wnoti-service( 2808): wnoti-db-utility.c: lock_pm(458) > lock_pm status: 2
W/wnoti-service( 2808): wnoti-tizen-public-notification-manager.c: _wnoti_process_public_insert_op(1450) > category: 100000, panel_id: (null)
I/wnoti-service( 2808): wnoti-tizen-public-notification-manager.c: _wnoti_adjust_feedback_for_DND(599) > notification_get_extension_data failed with -22
W/wnoti-service( 2808): wnoti-tizen-public-notification-converter.c: wnoti_convert_public_noti_actions(213) > tizen_action_total_count: 0
W/wnoti-service( 2808): wnoti-tizen-public-notification-manager.c: _wnoti_set_public_noti_info(1029) > Failed to get metadata_value, ret : -2
E/wnoti-service( 2808): wnoti-db-server.c: wnoti_update_panel(2653) > id : -1025, source : 1
W/wnoti-service( 2808): wnoti-tizen-public-notification-manager.c: _wnoti_insert_notification(1078) > wearing_status : 2, always_wear : 0, block_app_disable : 0, consider_noti_onoff: 0, flag_option: 0
W/wnoti-service( 2808): wnoti-tizen-public-notification-manager.c: _wnoti_insert_notification(1109) > Append g_wnoti_cached_notification_list with sequence_number: 1463
W/wnoti-service( 2808): wnoti-db-utility.c: unlock_pm(474) > pm_lock status: 0

Messenger and email notifications are processed by wnoti-sap-client.c:

W/wnoti-service( 2808): wnoti-consumer.c: wnoti_on_receive(497) > noti(21491), handle(21491) payloadLength(399)
W/wnoti-service( 2808): wnoti-sap-client.c: _wnoti_set_noti_type(2455) > notification_type[5] noti_info->type[5]
W/wnoti-service( 2808): wnoti-sap-client.c: _wnoti_parse_received_msg(2864) > application_id : 218
W/wnoti-service( 2808): wnoti-db-utility.c: lock_pm(458) > lock_pm status: 2
W/wnoti-service( 2808): wnoti-db-server.c: insert_panel_asset(3591) > attr_type: 18, uri: content://notification/2
W/wnoti-service( 2808): wnoti-json-parser.c: wnoti_parse_android_wear_action(202) > attr_type: 0, background_uri: content://notification/1
W/wnoti-service( 2808): wnoti-sap-client.c: _wnoti_set_android_wearable_attribute(975) > ATTR_ANDROID_WEARABLE, attr_len: 71
W/wnoti-service( 2808): wnoti-sap-client.c: _wnoti_set_android_category_attribute(1216) > ATTR_ANDROID_CATEGORY: [msg]
W/wnoti-service( 2808): wnoti-db-server.c: wnoti_check_image_assets(3865) > uri: content://notification/2
W/wnoti-service( 2808): wnoti-db-server.c: wnoti_check_image_assets(3865) > uri: content://notification/1
E/wnoti-service( 2808): wnoti-utility.c: wnoti_check_bg_image_size(1122) > Smaller than minimum size. src_w [72] src_h [72]
W/wnoti-service( 2808): wnoti-db-server.c: wnoti_check_image_assets(3909) > summary_bg_image: /opt/usr/data/wnoti/.1099.png
...
@swift-kim swift-kim added the bug Something isn't working label Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants