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

[Bug]: push displayed without image #1786

Closed
1 task done
Popda opened this issue Jul 27, 2023 · 7 comments
Closed
1 task done

[Bug]: push displayed without image #1786

Popda opened this issue Jul 27, 2023 · 7 comments

Comments

@Popda
Copy link

Popda commented Jul 27, 2023

What happened?

Push is displayed without image (failed to download it) if device was inactive for some time.
Why is it happening and how can it be avoided

Steps to reproduce?

1. wait 15-30 minutes for device to go idle
2. send push with new image that have not been sent to this device
3. expand notification in status bar
4. note no image

on the log i have got from connecting to device via wifi got:
              I  App is in background, show notification
              W  Could not download image!
              V  Cannot use background images in notifications for device on version: 33

What did you expect to happen?

Expected app to download the image and show it in notification

OneSignal Android SDK version

4.8.6

Android version

13, 12, 11

Specific Android models

No response

Relevant log output

2023-07-10 14:48:41.844  1877-2280  SmartPower...563(13294) system_server                        I  idle->background(168809ms) R(broadcast start Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x1000010 pkg=com.kyivstar.tv.mobile cmp=com.kyivstar.tv.mobile/com.onesignal.FCMBroadcastReceiver (has extras) }) adj=0.
2023-07-10 14:48:41.844  1877-3370  SmartPower              system_server                        I  com.kyivstar.tv.mobile/10563 state=hibernation adj=0 proc size=1 move to background broadcast start Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x1000010 pkg=com.kyivstar.tv.mobile cmp=com.kyivstar.tv.mobile/com.onesignal.FCMBroadcastReceiver (has extras) }
2023-07-10 14:48:41.844  1877-3370  SmartPower              system_server                        I  com.kyivstar.tv.mobile/10563 state=background adj=0 proc size=1 move to inactive broadcast start Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x1000010 pkg=com.kyivstar.tv.mobile cmp=com.kyivstar.tv.mobile/com.onesignal.FCMBroadcastReceiver (has extras) }
2023-07-10 14:48:41.887 13294-13294 OneSignal               com.kyivstar.tv.mobile               V  initWithContext called with: android.app.ReceiverRestrictedContext@32f68d3
2023-07-10 14:48:41.887 13294-13294 OneSignal               com.kyivstar.tv.mobile               V  Starting OneSignal initialization!
2023-07-10 14:48:41.888 13294-13294 OneSignal               com.kyivstar.tv.mobile               V  Found class: com.vidmind.android_avocado.service.NotificationServiceExtension, attempting to call constructor
2023-07-10 14:48:41.894 13294-13294 OneSignal               com.kyivstar.tv.mobile               D  OneSignal SDK initialization already completed.
2023-07-10 14:48:41.925 13294-15649 OneSignal               com.kyivstar.tv.mobile               D  OSNotificationWorkManager enqueueing notification work with notificationId: e0ebe0fe-5508-4551-a624-36e8c27134ea and jsonPayload: {"google.delivered_priority":"normal","google.sent_time":1688989721408,"google.ttl":259200,"google.original_priority":"normal","custom":"{\"a\":{\"contentid\":\"611a1df0feb4c2e51bf05dc4\",\"contenttype\":\"Live_Channel\"},\"i\":\"e0ebe0fe-5508-4551-a624-36e8c27134ea\"}","pri":"5","vis":"1","from":"217397363646","alert":"📺Клікай та отримай безкоштовний доступ до безлічі контенту","bicon":"https:\/\/img.onesignal.com\/tmp\/79629a15-c837-4b64-9ef3-469e9165bd7f\/UXg0N8YMQUarC0tmE31z_1290-520.jpg","title":"🎁Топові прем'єри чекають вже!","google.message_id":"0:1688989721420520%439a2e5af9fd7ecd","google.c.sender.id":"217397363646"}
2023-07-10 14:48:42.016 13294-13587 OneSignal               com.kyivstar.tv.mobile               D  NotificationWorker running doWork with data: Data {json_payload : {"google.delivered_priority":"normal","google.sent_time":1688989721408,"google.ttl":259200,"google.original_priority":"normal","custom":"{\"a\":{\"contentid\":\"611a1df0feb4c2e51bf05dc4\",\"contenttype\":\"Live_Channel\"},\"i\":\"e0ebe0fe-5508-4551-a624-36e8c27134ea\"}","pri":"5","vis":"1","from":"217397363646","alert":"📺Клікай та отримай безкоштовний доступ до безлічі контенту","bicon":"https:\/\/img.onesignal.com\/tmp\/79629a15-c837-4b64-9ef3-469e9165bd7f\/UXg0N8YMQUarC0tmE31z_1290-520.jpg","title":"🎁Топові прем'єри чекають вже!","google.message_id":"0:1688989721420520%439a2e5af9fd7ecd","google.c.sender.id":"217397363646"}, android_notif_id : 0, is_restoring : false, timestamp : 1688989721, }
2023-07-10 14:48:42.018 13294-13587 OneSignal               com.kyivstar.tv.mobile               D  Running destroyTimeout with runnable: com.onesignal.OSNotificationReceivedEvent$1@f1b6b42
2023-07-10 14:48:42.018 13294-13587 OneSignal               com.kyivstar.tv.mobile               D  Running startTimeout with timeout: 25000 and runnable: com.onesignal.OSNotificationReceivedEvent$1@f1b6b42
2023-07-10 14:48:42.022 13294-13587 OneSignal               com.kyivstar.tv.mobile               V  OSRemoteNotificationReceivedHandler fired! with OSNotificationReceived: OSNotificationReceivedEvent{isComplete=false, notification=OSNotification{notificationExtender=null, groupedNotifications=null, androidNotificationId=-483708422, notificationId='e0ebe0fe-5508-4551-a624-36e8c27134ea', templateName='', templateId='', title='🎁Топові прем'єри чекають вже!', body='📺Клікай та отримай безкоштовний доступ до безлічі контенту', additionalData={"contentid":"611a1df0feb4c2e51bf05dc4","contenttype":"Live_Channel"}, smallIcon='null', largeIcon='null', bigPicture='https://img.onesignal.com/tmp/79629a15-c837-4b64-9ef3-469e9165bd7f/UXg0N8YMQUarC0tmE31z_1290-520.jpg', smallIconAccentColor='null', launchURL='null', sound='null', ledColor='null', lockScreenVisibility=1, groupKey='null', groupMessage='null', actionButtons=null, fromProjectNumber='217397363646', backgroundImageLayout=null, collapseId='null', priority=5, rawPayload='{"google.delivered_priority":"normal","google.sent_time":1688989721408,"google.ttl":259200,"google.original_priority":"normal","custom":"{\"a\":{\"contentid\":\"611a1df0feb4c2e51bf05dc4\",\"contenttype\":\"Live_Channel\"},\"i\":\"e0ebe0fe-5508-4551-a624-36e8c27134ea\"}","pri":"5","vis":"1","from":"217397363646","alert":"📺Клікай та отримай безкоштовний доступ до безлічі контенту","bicon":"https:\/\/img.onesignal.com\/tmp\/79629a15-c837-4b64-9ef3-469e9165bd7f\/UXg0N8YMQUarC0tmE31z_1290-520.jpg","title":"🎁Топові прем'єри чекають вже!","google.message_id":"0:1688989721420520%439a2e5af9fd7ecd","google.c.sender.id":"217397363646"}'}}
2023-07-10 14:48:42.022 13294-13587 OneSignal               com.kyivstar.tv.mobile               D  Running destroyTimeout with runnable: com.onesignal.OSNotificationReceivedEvent$1@f1b6b42
2023-07-10 14:48:42.023 13294-13587 OneSignal               com.kyivstar.tv.mobile               D  Starting processJobForDisplay opened: false fromBackgroundLogic: true
2023-07-10 14:48:42.023 13294-13587 OneSignal               com.kyivstar.tv.mobile               I  App is in background, show notification
2023-07-10 14:48:45.906  1877-3370  SmartPower...563(13294) system_server                        I  background->idle(3000ms) R(broadcast start Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x1000010 pkg=com.kyivstar.tv.mobile cmp=com.kyivstar.tv.mobile/com.onesignal.FCMBroadcastReceiver (has extras) }) adj=905.
2023-07-10 14:48:45.906  1877-3370  SmartPower              system_server                        I  com.kyivstar.tv.mobile/10563 state=inactive adj=905 proc size=1 move to idle broadcast start Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x1000010 pkg=com.kyivstar.tv.mobile cmp=com.kyivstar.tv.mobile/com.onesignal.FCMBroadcastReceiver (has extras) }
2023-07-10 14:48:50.087  1877-3370  SmartPower              system_server                        I  com.kyivstar.tv.mobile/10563 state=idle adj=905 proc size=1 move to hibernation broadcast start Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x1000010 pkg=com.kyivstar.tv.mobile cmp=com.kyivstar.tv.mobile/com.onesignal.FCMBroadcastReceiver (has extras) }
2023-07-10 14:49:03.695  1877-2280  SmartPower...563(13294) system_server                        I  idle->background(9830ms) R(broadcast start Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x1000010 pkg=com.kyivstar.tv.mobile cmp=com.kyivstar.tv.mobile/com.onesignal.FCMBroadcastReceiver (has extras) }) adj=0.
2023-07-10 14:49:03.696  1877-3370  SmartPower              system_server                        I  com.kyivstar.tv.mobile/10563 state=hibernation adj=0 proc size=1 move to background broadcast start Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x1000010 pkg=com.kyivstar.tv.mobile cmp=com.kyivstar.tv.mobile/com.onesignal.FCMBroadcastReceiver (has extras) }
2023-07-10 14:49:03.696  1877-3370  SmartPower              system_server                        I  com.kyivstar.tv.mobile/10563 state=background adj=0 proc size=1 move to inactive broadcast start Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x1000010 pkg=com.kyivstar.tv.mobile cmp=com.kyivstar.tv.mobile/com.onesignal.FCMBroadcastReceiver (has extras) }
2023-07-10 14:49:03.709 13294-13294 OneSignal               com.kyivstar.tv.mobile               V  initWithContext called with: android.app.ReceiverRestrictedContext@32f68d3
2023-07-10 14:49:03.710 13294-13294 OneSignal               com.kyivstar.tv.mobile               V  Starting OneSignal initialization!
2023-07-10 14:49:03.710 13294-13294 OneSignal               com.kyivstar.tv.mobile               V  Found class: com.vidmind.android_avocado.service.NotificationServiceExtension, attempting to call constructor
2023-07-10 14:49:03.711 13294-13294 OneSignal               com.kyivstar.tv.mobile               D  OneSignal SDK initialization already completed.
2023-07-10 14:49:03.727 13294-15775 OneSignal               com.kyivstar.tv.mobile               D  OSNotificationWorkManager enqueueing notification work with notificationId: 873cc2f2-2809-4e52-a026-2ed69a2767e8 and jsonPayload: {"google.delivered_priority":"normal","google.sent_time":1688989743574,"google.ttl":259200,"google.original_priority":"normal","custom":"{\"a\":{\"contentid\":\"611a1df0feb4c2e51bf05dc4\",\"contenttype\":\"Live_Channel\"},\"i\":\"873cc2f2-2809-4e52-a026-2ed69a2767e8\"}","pri":"5","vis":"1","from":"217397363646","alert":"📺Клікай та отримай безкоштовний доступ до безлічі контенту","bicon":"https:\/\/img.onesignal.com\/tmp\/79629a15-c837-4b64-9ef3-469e9165bd7f\/UXg0N8YMQUarC0tmE31z_1290-520.jpg","title":"🎁Топові прем'єри чекають вже!","google.message_id":"0:1688989743591856%439a2e5af9fd7ecd","google.c.sender.id":"217397363646"}
2023-07-10 14:49:03.791 13294-13590 OneSignal               com.kyivstar.tv.mobile               D  NotificationWorker running doWork with data: Data {json_payload : {"google.delivered_priority":"normal","google.sent_time":1688989743574,"google.ttl":259200,"google.original_priority":"normal","custom":"{\"a\":{\"contentid\":\"611a1df0feb4c2e51bf05dc4\",\"contenttype\":\"Live_Channel\"},\"i\":\"873cc2f2-2809-4e52-a026-2ed69a2767e8\"}","pri":"5","vis":"1","from":"217397363646","alert":"📺Клікай та отримай безкоштовний доступ до безлічі контенту","bicon":"https:\/\/img.onesignal.com\/tmp\/79629a15-c837-4b64-9ef3-469e9165bd7f\/UXg0N8YMQUarC0tmE31z_1290-520.jpg","title":"🎁Топові прем'єри чекають вже!","google.message_id":"0:1688989743591856%439a2e5af9fd7ecd","google.c.sender.id":"217397363646"}, android_notif_id : 0, is_restoring : false, timestamp : 1688989743, }
2023-07-10 14:49:03.792 13294-13590 OneSignal               com.kyivstar.tv.mobile               D  Running destroyTimeout with runnable: com.onesignal.OSNotificationReceivedEvent$1@94aaba7
2023-07-10 14:49:03.792 13294-13590 OneSignal               com.kyivstar.tv.mobile               D  Running startTimeout with timeout: 25000 and runnable: com.onesignal.OSNotificationReceivedEvent$1@94aaba7
2023-07-10 14:49:03.793 13294-13590 OneSignal               com.kyivstar.tv.mobile               V  OSRemoteNotificationReceivedHandler fired! with OSNotificationReceived: OSNotificationReceivedEvent{isComplete=false, notification=OSNotification{notificationExtender=null, groupedNotifications=null, androidNotificationId=-759025581, notificationId='873cc2f2-2809-4e52-a026-2ed69a2767e8', templateName='', templateId='', title='🎁Топові прем'єри чекають вже!', body='📺Клікай та отримай безкоштовний доступ до безлічі контенту', additionalData={"contentid":"611a1df0feb4c2e51bf05dc4","contenttype":"Live_Channel"}, smallIcon='null', largeIcon='null', bigPicture='https://img.onesignal.com/tmp/79629a15-c837-4b64-9ef3-469e9165bd7f/UXg0N8YMQUarC0tmE31z_1290-520.jpg', smallIconAccentColor='null', launchURL='null', sound='null', ledColor='null', lockScreenVisibility=1, groupKey='null', groupMessage='null', actionButtons=null, fromProjectNumber='217397363646', backgroundImageLayout=null, collapseId='null', priority=5, rawPayload='{"google.delivered_priority":"normal","google.sent_time":1688989743574,"google.ttl":259200,"google.original_priority":"normal","custom":"{\"a\":{\"contentid\":\"611a1df0feb4c2e51bf05dc4\",\"contenttype\":\"Live_Channel\"},\"i\":\"873cc2f2-2809-4e52-a026-2ed69a2767e8\"}","pri":"5","vis":"1","from":"217397363646","alert":"📺Клікай та отримай безкоштовний доступ до безлічі контенту","bicon":"https:\/\/img.onesignal.com\/tmp\/79629a15-c837-4b64-9ef3-469e9165bd7f\/UXg0N8YMQUarC0tmE31z_1290-520.jpg","title":"🎁Топові прем'єри чекають вже!","google.message_id":"0:1688989743591856%439a2e5af9fd7ecd","google.c.sender.id":"217397363646"}'}}
2023-07-10 14:49:03.793 13294-13590 OneSignal               com.kyivstar.tv.mobile               D  Running destroyTimeout with runnable: com.onesignal.OSNotificationReceivedEvent$1@94aaba7
2023-07-10 14:49:03.794 13294-13590 OneSignal               com.kyivstar.tv.mobile               D  Starting processJobForDisplay opened: false fromBackgroundLogic: true
2023-07-10 14:49:03.794 13294-13590 OneSignal               com.kyivstar.tv.mobile               I  App is in background, show notification
2023-07-10 14:49:03.822 13294-13590 OneSignal               com.kyivstar.tv.mobile               W  Could not download image!
2023-07-10 14:49:03.824 13294-13590 OneSignal               com.kyivstar.tv.mobile               V  Cannot use background images in notifications for device on version: 33
2023-07-10 14:49:03.865 13294-13590 OneSignal               com.kyivstar.tv.mobile               D  Saving Notification job: OSNotificationGenerationJob{jsonPayload={"google.delivered_priority":"normal","google.sent_time":1688989743574,"google.ttl":259200,"google.original_priority":"normal","custom":"{\"a\":{\"contentid\":\"611a1df0feb4c2e51bf05dc4\",\"contenttype\":\"Live_Channel\"},\"i\":\"873cc2f2-2809-4e52-a026-2ed69a2767e8\"}","pri":"5","vis":"1","from":"217397363646","alert":"📺Клікай та отримай безкоштовний доступ до безлічі контенту","bicon":"https:\/\/img.onesignal.com\/tmp\/79629a15-c837-4b64-9ef3-469e9165bd7f\/UXg0N8YMQUarC0tmE31z_1290-520.jpg","title":"🎁Топові прем'єри чекають вже!","google.message_id":"0:1688989743591856%439a2e5af9fd7ecd","google.c.sender.id":"217397363646"}, isRestoring=false, isNotificationToDisplay=true, shownTimeStamp=1688989743, overriddenBodyFromExtender=📺Клікай та отримай безкоштовний доступ до безлічі контенту, overriddenTitleFromExtender=🎁Топові прем'єри чекають вже!, overriddenSound=null, overriddenFlags=17, orgFlags=17, orgSound=null, notification=OSNotification{notificationExtender=com.vidmind.android_avocado.service.NotificationServiceExtension$$ExternalSyntheticLambda0@f6928f2, groupedNotifications=null, androidNotificationId=-759025581, notificationId='873cc2f2-2809-4e52-a026-2ed69a2767e8', templateName='', templateId='', title='🎁Топові прем'єри чекають вже!', body='📺Клікай та отримай безкоштовний доступ до безлічі контенту', additionalData={"contentid":"611a1df0feb4c2e51bf05dc4","contenttype":"Live_Channel"}, smallIcon='null', largeIcon='null', bigPicture='https://img.onesignal.com/tmp/79629a15-c837-4b64-9ef3-469e9165bd7f/UXg0N8YMQUarC0tmE31z_1290-520.jpg', smallIconAccentColor='null', launchURL='null', sound='null', ledColor='null', lockScreenVisibility=1, groupKey='null', groupMessage='null', actionButtons=null, fromProjectNumber='217397363646', backgroundImageLayout=null, collapseId='null', priority=5, rawPayload='{"google.delivered_priority":"normal","google.sent_time":1688989743574,"google.ttl":259200,"google.original_priority":"normal","custom":"{\"a\":{\"contentid\":\"611a1df0feb4c2e51bf05dc4\",\"contenttype\":\"Live_Channel\"},\"i\":\"873cc2f2-2809-4e52-a026-2ed69a2767e8\"}","pri":"5","vis":"1","from":"217397363646","alert":"📺Клікай та отримай безкоштовний доступ до безлічі контенту","bicon":"https:\/\/img.onesignal.com\/tmp\/79629a15-c837-4b64-9ef3-469e9165bd7f\/UXg0N8YMQUarC0tmE31z_1290-520.jpg","title":"🎁Топові прем'єри чекають вже!","google.message_id":"0:1688989743591856%439a2e5af9fd7ecd","google.c.sender.id":"217397363646"}'}}
2023-07-10 14:49:03.883 13294-13590 OneSignal               com.kyivstar.tv.mobile               D  Notification saved values: full_data={"google.delivered_priority":"normal","google.sent_time":1688989743574,"google.ttl":259200,"google.original_priority":"normal","custom":"{\"a\":{\"contentid\":\"611a1df0feb4c2e51bf05dc4\",\"contenttype\":\"Live_Channel\"},\"i\":\"873cc2f2-2809-4e52-a026-2ed69a2767e8\"}","pri":"5","vis":"1","from":"217397363646","alert":"📺Клікай та отримай безкоштовний доступ до безлічі контенту","bicon":"https:\/\/img.onesignal.com\/tmp\/79629a15-c837-4b64-9ef3-469e9165bd7f\/UXg0N8YMQUarC0tmE31z_1290-520.jpg","title":"🎁Топові прем'єри чекають вже!","google.message_id":"0:1688989743591856%439a2e5af9fd7ecd","google.c.sender.id":"217397363646"} notification_id=873cc2f2-2809-4e52-a026-2ed69a2767e8 android_notification_id=-759025581 opened=0 expire_time=1689248943 title=🎁Топові прем'єри чекають вже! message=📺Клікай та отримай безкоштовний доступ до безлічі контенту
2023-07-10 14:49:03.890 13294-13590 OneSignal               com.kyivstar.tv.mobile               D  OSReceiveReceiptController enqueueing send receive receipt work with notificationId: 873cc2f2-2809-4e52-a026-2ed69a2767e8 and delay: 12 seconds
2023-07-10 14:49:03.891 13294-13590 OneSignal               com.kyivstar.tv.mobile               D  OneSignal SessionManager onNotificationReceived notificationId: 873cc2f2-2809-4e52-a026-2ed69a2767e8
2023-07-10 14:49:03.893 13294-13590 OneSignal               com.kyivstar.tv.mobile               D  OneSignal OSChannelTracker for: notification_id saveLastId: 873cc2f2-2809-4e52-a026-2ed69a2767e8
2023-07-10 14:49:03.894 13294-13590 OneSignal               com.kyivstar.tv.mobile               D  OneSignal OSChannelTracker for: notification_id saveLastId with lastChannelObjectsReceived: [{"notification_id":"cc147ecb-b1c0-4bb2-8747-53761476e25d","time":1688989082125},{"notification_id":"fb10b254-7cbd-474e-965c-1b243fa1fcb9","time":1688989199824},{"notification_id":"f9a9fbb3-05bb-4835-9dd4-0ad7f76e3992","time":1688989293559},{"notification_id":"9d440f0a-ddef-425a-9c6d-12731005fa54","time":1688989321498},{"notification_id":"fd0daf61-e8bd-4724-84fd-bd1b27c96553","time":1688989408367},{"notification_id":"22274aa2-4b43-4481-af60-8c42565de6d9","time":1688989419204},{"notification_id":"9441951b-e9ae-499d-b077-ae17a20a6664","time":1688989420167}]
2023-07-10 14:49:03.895 13294-13590 OneSignal               com.kyivstar.tv.mobile               D  OneSignal OSChannelTracker for: notification_id with channelObjectToSave: [{"notification_id":"cc147ecb-b1c0-4bb2-8747-53761476e25d","time":1688989082125},{"notification_id":"fb10b254-7cbd-474e-965c-1b243fa1fcb9","time":1688989199824},{"notification_id":"f9a9fbb3-05bb-4835-9dd4-0ad7f76e3992","time":1688989293559},{"notification_id":"9d440f0a-ddef-425a-9c6d-12731005fa54","time":1688989321498},{"notification_id":"fd0daf61-e8bd-4724-84fd-bd1b27c96553","time":1688989408367},{"notification_id":"22274aa2-4b43-4481-af60-8c42565de6d9","time":1688989419204},{"notification_id":"9441951b-e9ae-499d-b077-ae17a20a6664","time":1688989420167},{"notification_id":"873cc2f2-2809-4e52-a026-2ed69a2767e8","time":1688989743894}]
2023-07-10 14:49:03.904 13294-13590 OneSignal               com.kyivstar.tv.mobile               D  Running destroyTimeout with runnable: com.onesignal.OSNotificationOpenedResult$1@499d2f9
2023-07-10 14:49:03.904 13294-13590 OneSignal               com.kyivstar.tv.mobile               D  Running startTimeout with timeout: 5000 and runnable: com.onesignal.OSNotificationOpenedResult$1@499d2f9
2023-07-10 14:49:03.932 13294-13438 WM-WorkerWrapper        com.kyivstar.tv.mobile               I  Worker result SUCCESS for Work [ id=fe589faa-c549-440b-8d6e-a9acd6a301ef, tags={ com.onesignal.OSNotificationWorkManager$NotificationWorker } ]
2023-07-10 14:49:04.031 10750-15784 FA-SVC                  com.google.android.gms               V  Logging event: origin=app,name=os_notification_received,params=Bundle[{notification_id=873cc2f2-2809-4e52-a026-2ed69a2767e8, medium=notification, source=OneSignal, campaign=🎁Топові п, ga_event_origin(_o)=app}]
2023-07-10 14:49:06.697  1877-3370  SmartPower...563(13294) system_server                        I  background->idle(3000ms) R(broadcast start Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x1000010 pkg=com.kyivstar.tv.mobile cmp=com.kyivstar.tv.mobile/com.onesignal.FCMBroadcastReceiver (has extras) }) adj=905.
2023-07-10 14:49:06.702  1877-3370  SmartPower              system_server                        I  com.kyivstar.tv.mobile/10563 state=inactive adj=905 proc size=1 move to idle broadcast start Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x1000010 pkg=com.kyivstar.tv.mobile cmp=com.kyivstar.tv.mobile/com.onesignal.FCMBroadcastReceiver (has extras) }
2023-07-10 14:49:08.701  1877-3370  SmartPower              system_server                        I  com.kyivstar.tv.mobile/10563 state=idle adj=905 proc size=1 move to hibernation broadcast start Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x1000010 pkg=com.kyivstar.tv.mobile cmp=com.kyivstar.tv.mobile/com.onesignal.FCMBroadcastReceiver (has extras) }
2023-07-10 14:49:08.905 13294-13464 OneSignal               com.kyivstar.tv.mobile               D  Running complete from OSNotificationOpenedResult timeout runnable!
2023-07-10 14:49:08.907 13294-13464 OneSignal               com.kyivstar.tv.mobile               D  OSNotificationOpenedResult complete called with opened: false
2023-07-10 14:49:08.907 13294-13464 OneSignal               com.kyivstar.tv.mobile               D  Running destroyTimeout with runnable: com.onesignal.OSNotificationOpenedResult$1@499d2f9
2023-07-10 14:49:13.682 13294-13587 OneSignal               com.kyivstar.tv.mobile               W  Could not download image!
2023-07-10 14:49:13.684 13294-13587 OneSignal               com.kyivstar.tv.mobile               V  Cannot use background images in notifications for device on version: 33
2023-07-10 14:49:13.762 13294-13587 OneSignal               com.kyivstar.tv.mobile               D  Saving Notification job: OSNotificationGenerationJob{jsonPayload={"google.delivered_priority":"normal","google.sent_time":1688989721408,"google.ttl":259200,"google.original_priority":"normal","custom":"{\"a\":{\"contentid\":\"611a1df0feb4c2e51bf05dc4\",\"contenttype\":\"Live_Channel\"},\"i\":\"e0ebe0fe-5508-4551-a624-36e8c27134ea\"}","pri":"5","vis":"1","from":"217397363646","alert":"📺Клікай та отримай безкоштовний доступ до безлічі контенту","bicon":"https:\/\/img.onesignal.com\/tmp\/79629a15-c837-4b64-9ef3-469e9165bd7f\/UXg0N8YMQUarC0tmE31z_1290-520.jpg","title":"🎁Топові прем'єри чекають вже!","google.message_id":"0:1688989721420520%439a2e5af9fd7ecd","google.c.sender.id":"217397363646"}, isRestoring=false, isNotificationToDisplay=true, shownTimeStamp=1688989721, overriddenBodyFromExtender=📺Клікай та отримай безкоштовний доступ до безлічі контенту, overriddenTitleFromExtender=🎁Топові прем'єри чекають вже!, overriddenSound=null, overriddenFlags=17, orgFlags=17, orgSound=null, notification=OSNotification{notificationExtender=com.vidmind.android_avocado.service.NotificationServiceExtension$$ExternalSyntheticLambda0@b426625, groupedNotifications=null, androidNotificationId=-483708422, notificationId='e0ebe0fe-5508-4551-a624-36e8c27134ea', templateName='', templateId='', title='🎁Топові прем'єри чекають вже!', body='📺Клікай та отримай безкоштовний доступ до безлічі контенту', additionalData={"contentid":"611a1df0feb4c2e51bf05dc4","contenttype":"Live_Channel"}, smallIcon='null', largeIcon='null', bigPicture='https://img.onesignal.com/tmp/79629a15-c837-4b64-9ef3-469e9165bd7f/UXg0N8YMQUarC0tmE31z_1290-520.jpg', smallIconAccentColor='null', launchURL='null', sound='null', ledColor='null', lockScreenVisibility=1, groupKey='null', groupMessage='null', actionButtons=null, fromProjectNumber='217397363646', backgroundImageLayout=null, collapseId='null', priority=5, rawPayload='{"google.delivered_priority":"normal","google.sent_time":1688989721408,"google.ttl":259200,"google.original_priority":"normal","custom":"{\"a\":{\"contentid\":\"611a1df0feb4c2e51bf05dc4\",\"contenttype\":\"Live_Channel\"},\"i\":\"e0ebe0fe-5508-4551-a624-36e8c27134ea\"}","pri":"5","vis":"1","from":"217397363646","alert":"📺Клікай та отримай безкоштовний доступ до безлічі контенту","bicon":"https:\/\/img.onesignal.com\/tmp\/79629a15-c837-4b64-9ef3-469e9165bd7f\/UXg0N8YMQUarC0tmE31z_1290-520.jpg","title":"🎁Топові прем'єри чекають вже!","google.message_id":"0:1688989721420520%439a2e5af9fd7ecd","google.c.sender.id":"217397363646"}'}}
2023-07-10 14:49:13.820 13294-13587 OneSignal               com.kyivstar.tv.mobile               D  Notification saved values: full_data={"google.delivered_priority":"normal","google.sent_time":1688989721408,"google.ttl":259200,"google.original_priority":"normal","custom":"{\"a\":{\"contentid\":\"611a1df0feb4c2e51bf05dc4\",\"contenttype\":\"Live_Channel\"},\"i\":\"e0ebe0fe-5508-4551-a624-36e8c27134ea\"}","pri":"5","vis":"1","from":"217397363646","alert":"📺Клікай та отримай безкоштовний доступ до безлічі контенту","bicon":"https:\/\/img.onesignal.com\/tmp\/79629a15-c837-4b64-9ef3-469e9165bd7f\/UXg0N8YMQUarC0tmE31z_1290-520.jpg","title":"🎁Топові прем'єри чекають вже!","google.message_id":"0:1688989721420520%439a2e5af9fd7ecd","google.c.sender.id":"217397363646"} notification_id=e0ebe0fe-5508-4551-a624-36e8c27134ea android_notification_id=-483708422 opened=0 expire_time=1689248921 title=🎁Топові прем'єри чекають вже! message=📺Клікай та отримай безкоштовний доступ до безлічі контенту
2023-07-10 14:49:13.851 13294-13587 OneSignal               com.kyivstar.tv.mobile               D  OSReceiveReceiptController enqueueing send receive receipt work with notificationId: e0ebe0fe-5508-4551-a624-36e8c27134ea and delay: 13 seconds
2023-07-10 14:49:13.852 13294-13587 OneSignal               com.kyivstar.tv.mobile               D  OneSignal SessionManager onNotificationReceived notificationId: e0ebe0fe-5508-4551-a624-36e8c27134ea
2023-07-10 14:49:13.852 13294-13587 OneSignal               com.kyivstar.tv.mobile               D  OneSignal OSChannelTracker for: notification_id saveLastId: e0ebe0fe-5508-4551-a624-36e8c27134ea
2023-07-10 14:49:13.853 13294-13587 OneSignal               com.kyivstar.tv.mobile               D  OneSignal OSChannelTracker for: notification_id saveLastId with lastChannelObjectsReceived: [{"notification_id":"cc147ecb-b1c0-4bb2-8747-53761476e25d","time":1688989082125},{"notification_id":"fb10b254-7cbd-474e-965c-1b243fa1fcb9","time":1688989199824},{"notification_id":"f9a9fbb3-05bb-4835-9dd4-0ad7f76e3992","time":1688989293559},{"notification_id":"9d440f0a-ddef-425a-9c6d-12731005fa54","time":1688989321498},{"notification_id":"fd0daf61-e8bd-4724-84fd-bd1b27c96553","time":1688989408367},{"notification_id":"22274aa2-4b43-4481-af60-8c42565de6d9","time":1688989419204},{"notification_id":"9441951b-e9ae-499d-b077-ae17a20a6664","time":1688989420167},{"notification_id":"873cc2f2-2809-4e52-a026-2ed69a2767e8","time":1688989743894}]
2023-07-10 14:49:13.857 13294-13587 OneSignal               com.kyivstar.tv.mobile               D  OneSignal OSChannelTracker for: notification_id with channelObjectToSave: [{"notification_id":"cc147ecb-b1c0-4bb2-8747-53761476e25d","time":1688989082125},{"notification_id":"fb10b254-7cbd-474e-965c-1b243fa1fcb9","time":1688989199824},{"notification_id":"f9a9fbb3-05bb-4835-9dd4-0ad7f76e3992","time":1688989293559},{"notification_id":"9d440f0a-ddef-425a-9c6d-12731005fa54","time":1688989321498},{"notification_id":"fd0daf61-e8bd-4724-84fd-bd1b27c96553","time":1688989408367},{"notification_id":"22274aa2-4b43-4481-af60-8c42565de6d9","time":1688989419204},{"notification_id":"9441951b-e9ae-499d-b077-ae17a20a6664","time":1688989420167},{"notification_id":"873cc2f2-2809-4e52-a026-2ed69a2767e8","time":1688989743894},{"notification_id":"e0ebe0fe-5508-4551-a624-36e8c27134ea","time":1688989753853}]
2023-07-10 14:49:13.864 13294-13587 OneSignal               com.kyivstar.tv.mobile               D  Running destroyTimeout with runnable: com.onesignal.OSNotificationOpenedResult$1@d7c55c6
2023-07-10 14:49:13.864 13294-13587 OneSignal               com.kyivstar.tv.mobile               D  Running startTimeout with timeout: 5000 and runnable: com.onesignal.OSNotificationOpenedResult$1@d7c55c6
2023-07-10 14:49:13.946 13294-13343 WM-WorkerWrapper        com.kyivstar.tv.mobile               I  Worker result SUCCESS for Work [ id=c8845d6e-92e9-477e-9fe0-583369edcbff, tags={ com.onesignal.OSNotificationWorkManager$NotificationWorker } ]
2023-07-10 14:49:13.966 10750-15784 FA-SVC                  com.google.android.gms               V  Logging event: origin=app,name=os_notification_received,params=Bundle[{notification_id=e0ebe0fe-5508-4551-a624-36e8c27134ea, medium=notification, source=OneSignal, campaign=🎁Топові п, ga_event_origin(_o)=app}]
2023-07-10 14:49:18.866 13294-13464 OneSignal               com.kyivstar.tv.mobile               D  Running complete from OSNotificationOpenedResult timeout runnable!
2023-07-10 14:49:18.868 13294-13464 OneSignal               com.kyivstar.tv.mobile               D  OSNotificationOpenedResult complete called with opened: false
2023-07-10 14:49:18.869 13294-13464 OneSignal               com.kyivstar.tv.mobile               D  Running destroyTimeout with runnable: com.onesignal.OSNotificationOpenedResult$1@d7c55c6
2023-07-10 14:54:47.133 13294-13463 OneSignal               com.kyivstar.tv.mobile               D  ReceiveReceiptWorker: Device Type is: 1
2023-07-10 14:54:47.133 13294-13493 OneSignal               com.kyivstar.tv.mobile               D  ReceiveReceiptWorker: Device Type is: 1
2023-07-10 14:54:47.142 13294-13438 WM-WorkerWrapper        com.kyivstar.tv.mobile               I  Worker result SUCCESS for Work [ id=3948dd48-ad75-423b-840c-e071252be81f, tags={ com.onesignal.OSReceiveReceiptController$ReceiveReceiptWorker } ]
2023-07-10 14:54:47.157 13294-16590 OneSignal               com.kyivstar.tv.mobile               D  OneSignalRestClient: Making request to: https://api.onesignal.com/notifications/e0ebe0fe-5508-4551-a624-36e8c27134ea/report_received
2023-07-10 14:54:47.163 13294-16591 OneSignal               com.kyivstar.tv.mobile               D  OneSignalRestClient: Making request to: https://api.onesignal.com/notifications/873cc2f2-2809-4e52-a026-2ed69a2767e8/report_received
2023-07-10 14:54:47.171 13294-13438 WM-WorkerWrapper        com.kyivstar.tv.mobile               I  Worker result SUCCESS for Work [ id=481e4b92-456a-4707-8416-b6eca686eeeb, tags={ com.onesignal.OSReceiveReceiptController$ReceiveReceiptWorker } ]
2023-07-10 14:54:47.175 13294-16591 OneSignal               com.kyivstar.tv.mobile               D  OneSignalRestClient: PUT SEND JSON: {"app_id":"7ef3108d-4ea3-459b-9a10-6c2a3710f401","player_id":"a3b47617-5eeb-49bc-9252-d9ee58b45841","device_type":1}
2023-07-10 14:54:47.177 13294-16590 OneSignal               com.kyivstar.tv.mobile               D  OneSignalRestClient: PUT SEND JSON: {"app_id":"7ef3108d-4ea3-459b-9a10-6c2a3710f401","player_id":"a3b47617-5eeb-49bc-9252-d9ee58b45841","device_type":1}
2023-07-10 14:54:47.366 13294-16591 OneSignal               com.kyivstar.tv.mobile               V  OneSignalRestClient: After con.getResponseCode to: https://api.onesignal.com/notifications/873cc2f2-2809-4e52-a026-2ed69a2767e8/report_received
2023-07-10 14:54:47.367 13294-16591 OneSignal               com.kyivstar.tv.mobile               D  OneSignalRestClient: Successfully finished request to: https://api.onesignal.com/notifications/873cc2f2-2809-4e52-a026-2ed69a2767e8/report_received
2023-07-10 14:54:47.370 13294-16590 OneSignal               com.kyivstar.tv.mobile               V  OneSignalRestClient: After con.getResponseCode to: https://api.onesignal.com/notifications/e0ebe0fe-5508-4551-a624-36e8c27134ea/report_received
2023-07-10 14:54:47.370 13294-16590 OneSignal               com.kyivstar.tv.mobile               D  OneSignalRestClient: Successfully finished request to: https://api.onesignal.com/notifications/e0ebe0fe-5508-4551-a624-36e8c27134ea/report_received
2023-07-10 14:54:47.440 13294-16590 OneSignal               com.kyivstar.tv.mobile               D  OneSignalRestClient: PUT RECEIVED JSON: {"success":true}
2023-07-10 14:54:47.442 13294-16605 OneSignal               com.kyivstar.tv.mobile               D  Receive receipt sent for notificationID: e0ebe0fe-5508-4551-a624-36e8c27134ea
2023-07-10 14:54:47.442 13294-16591 OneSignal               com.kyivstar.tv.mobile               D  OneSignalRestClient: PUT RECEIVED JSON: {"success":true}
2023-07-10 14:54:47.443 13294-16607 OneSignal               com.kyivstar.tv.mobile               D  Receive receipt sent for notificationID: 873cc2f2-2809-4e52-a026-2ed69a2767e8

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jennantilla
Copy link
Contributor

Hi @Popda thanks for reaching out! I see in the log you provided mention of a background image, is that the image parameter you are using? Background images were deprecated after Android 11 so testing on Android 12 and 13 would not support an image sent as a background image.

Thank you for the additional information!

@Popda
Copy link
Author

Popda commented Aug 11, 2023

Hi @Popda thanks for reaching out! I see in the log you provided mention of a background image, is that the image parameter you are using? Background images were deprecated after Android 11 so testing on Android 12 and 13 would not support an image sent as a background image.

Thank you for the additional information!

Hi @jennantilla sorry for late reply, do you mean that parameter "Image" on a form "New Push Notification" is deprecated after Android 11 and "Big Picture" parameter should be used with it?
image

@jennantilla
Copy link
Contributor

Hi @Popda thanks for your patience. Image and Big Picture from your screenshot should both work. However, in your log you provided, I see mention of a background image. For notifications where you do not see the image, are you sending from the dashboard only or also the API? If the latter, can you please provide the request parameters you included (you can omit sensitive values like app_id and api key).

@Popda
Copy link
Author

Popda commented Aug 30, 2023

Hi @Popda thanks for your patience. Image and Big Picture from your screenshot should both work. However, in your log you provided, I see mention of a background image. For notifications where you do not see the image, are you sending from the dashboard only or also the API? If the latter, can you please provide the request parameters you included (you can omit sensitive values like app_id and api key).

We are sending notifications from the dashboard only

@Popda
Copy link
Author

Popda commented Aug 30, 2023

@jennantilla Also, same bug can happen with Big Picture field

@jennantilla
Copy link
Contributor

Hello @Popda apologies that your previous response was missed. Is this still a concern for you? If so, can you please provide a screenshot of the push form you filled out, including the image URL?

Thanks!

@jennantilla
Copy link
Contributor

Closing due to no response, please let us know if you are still having issues and we will be happy to reopen!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants