Closed rachelmcr closed 3 months ago
@rachelmcr I've tried without success to reproduce this but I'm unable to. I've seen users report this, though, so I know there's a problem somewhere.
Before I dive in deeper, I want to make sure the lack of sound isn't because there's already a Woo push notification in the system bar, because we only play a sound when there's no notification already showing.
I want to make sure the lack of sound isn't because there's already a Woo push notification in the system bar, because we only play a sound when there's no notification already showing.
Nope, there weren't any push notifications in the system bar. I tested different notifications (confirming that I get a sound with other push notifications from the app) but I always cleared the notification before trying again.
I'll keep an eye on my notifications to see if I can catch this happening again and trace it back to more reliable repro steps.
A few testing notes for this issue:
So far I haven't hit on the right step(s) to make the notification sound stop working, but over time as I use the app eventually the sound stops working and I have to clear data/reinstall to get it working again.
I have seen several reports of this in the Play Store from beta and non-beta app users:
Somehow no ca ching sound for Android
I just removed a star as the cash register notification disappeared.
Notification of a new request is not working after the last update.
User here seemingly has same issue: 2209162-zen
I noticed this came up again in a recent app review:
Nice app, but since updates the checkout katsjinggg notice sound is gone, that is a pity, i liked that...
Galaxy S8, Android 9, app version 3.6
I was having the same issue, which led me here. However, I just figured out what the issue was (for me, anyway...)
I had my store set up in demo mode and kept testing different aspects of it. Sometimes the "cha-ching" sound happened, other times it didn't. I found that if I kept placing 'test orders' from the same 'user', it only notified me the first time. If I opened a new incognito session and input a new 'buyer', I would get the "cha-ching" notification again.
Maybe you all already knew this... just thought I'd share in case someone didn't.
@tucson-az
Maybe you all already knew this... just thought I'd share in case someone didn't.
That's very helpful, thank you.
Could be related to #1926
Another user having the same issue here 3147921-Zen
"On re-installing the app, the user reported that it made a very slight vibration when I received an order but still no cha-ching sound."
From the above issue: Moto g7 play, XT1952-1 Android 10 Android security Patch level: 1st June 2020
Still from 3147921-zen (which is followed up on 3202663-zen):
I've reinstalled the app. It made a very slight vibration when I received an order but still no cha-ching sound.
No special battery saver options or other things relating to the set up and It's one order at a time that comes in.
The problem seemed to occur after I upgraded to Android 10, which was around the end of June, possibly before, although I am unsure if this is the reason or whether it could have been an earlier update of woo commerce.
From app reviews on Jan 19, 2021:
The sound of the notifications does not work, I installed it in 3 phones and it continues with the same problem, they should fix that error, because if the application does not fulfill its function
Reference: p1611108784003700-slack-C013AAPA4G0
From app reviews on May 8, 2021:
[...] notification sound stopped working for me. When it did work you can't change the sound to something else either.
Device: Samsung Galaxy S21+ 5G Android version: Android 11 (SDK 30)
Reference: p1620495855048500-slack-C013AAPA4G0
Seems like this is happening again: 4429635-zd-woothemes
"Hi, just installed your app on Galaxy s52, and i cant hear the "cha ching " alert anymore"
Have asked user for more info and will follow up in ticket.
Adding the app log section for the report mentioned in the above comment. It shows that the app did receive the push notification for new order but it didn't make a "cha-ching" sound.
[Nov-04 16:00 WP d] API Dispatching action: NotificationAction-REGISTER_DEVICE
[Nov-04 16:00 WP d] API Dispatching action: NotificationAction-REGISTERED_DEVICE
[Nov-04 16:00 NOTIFS d] Sending FCM token to our remote services: ce9CA3FbWLM:APA91bHmbq3D2J7U9Lv7RImdmPxiJz-DJ6SopyNJ-IyEaGyCrl26wb3EM0ig-YSId12vpA6cd6mS_aPxez_sKcsRWP3jrE2g1RCmNMWcx0BhX6b9wjKr21MxkjgGZZVA3aHiTq-s2Gaw
[Nov-04 16:00 UTILS i] π΅ Tracked: push_notification_received, Properties: {"notification_note_id":4907143871,"notification_type":"NEW_ORDER","push_notification_token":"ce9CA3FbWLM:APA91bHmbq3D2J7U9Lv7RImdmPxiJz-DJ6SopyNJ-IyEaGyCrl26wb3EM0ig-YSId12vpA6cd6mS_aPxez_sKcsRWP3jrE2g1RCmNMWcx0BhX6b9wjKr21MxkjgGZZVA3aHiTq-s2Gaw","blog_id":183043675,"is_wpcom_store":false,"is_debug":false}
@reginabally I checked the logs in the ticket, and they don't have the part that was added and that we need: Notification channel already created
, the cause is that this part is logged only on app launch, and the log was overwritten (maybe we need to move it to the moment of showing the notification π€, but that's another story), for now, can you please ask the user to force close the app, then re-open it, and go directly to the support screen to share the logs?
Thanks, @hichamboushaba! The user followed your instructions and shared with us the app log. I can see the Notification channel already created
log entry:
[Nov-06 23:46 NOTIFS i] Notification channel already created with the following attributes: NotificationChannel{mId='wooandroid_notification_channel_order_id', mName=New order alerts, mDescription=, mImportance=3, mBypassDnd=false, mLockscreenVisibility=-1000, mSound=content://settings/system/notification_sound, mLights=false, mLightColor=0, mVibration=null, mUserLockedFields=24, mFgServiceShown=false, mVibrationEnabled=false, mShowBadge=true, mDeleted=false, mGroup='null', mAudioAttributes=AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null, mBlockableSystem=false, mAllowBubbles=-1, mImportanceLockedByOEM=false, mImportanceLockedDefaultApp=false, mOriginalImp=-1000, mParent=null, mConversationId=null, mDemoted=false, mImportantConvo=false}
[Nov-06 23:46 NOTIFS i] Notification channel already created with the following attributes: NotificationChannel{mId='wooandroid_notification_channel_review_id', mName=Product review alerts, mDescription=, mImportance=3, mBypassDnd=false, mLockscreenVisibility=-1000, mSound=content://settings/system/notification_sound, mLights=false, mLightColor=0, mVibration=null, mUserLockedFields=0, mFgServiceShown=false, mVibrationEnabled=false, mShowBadge=true, mDeleted=false, mGroup='null', mAudioAttributes=AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null, mBlockableSystem=false, mAllowBubbles=-1, mImportanceLockedByOEM=false, mImportanceLockedDefaultApp=false, mOriginalImp=-1000, mParent=null, mConversationId=null, mDemoted=false, mImportantConvo=false}
[Nov-06 23:46 NOTIFS i] Notification channel already created with the following attributes: NotificationChannel{mId='wooandroid_notification_channel_general_id', mName=General, mDescription=, mImportance=3, mBypassDnd=false, mLockscreenVisibility=-1000, mSound=content://settings/system/notification_sound, mLights=false, mLightColor=0, mVibration=null, mUserLockedFields=0, mFgServiceShown=false, mVibrationEnabled=false, mShowBadge=true, mDeleted=false, mGroup='null', mAudioAttributes=AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null, mBlockableSystem=false, mAllowBubbles=-1, mImportanceLockedByOEM=false, mImportanceLockedDefaultApp=false, mOriginalImp=-1000, mParent=null, mConversationId=null, mDemoted=false, mImportantConvo=false}
The mSound
parameter is having a different value than what I'm having on my Android device. It looks like the app was using the default system notification. Let me ask the user to uninstall the app and reinstall it again.
Thanks @reginabally, this is the solution we support right now. Sadly the Android SDK doesn't allow to reset the channel from the API, which was a choice that the Android team took, to give the user full control over it, but it doesn't work well for all cases. If we receive a lot of issues regarding this, there is another solution, it's not pretty straightforward, but doable, but if the number of tickets is limited, I personally would prefer keeping this as they are right now, and we can ask users to uninstall/re-install the app if they messed with the settings.
From 4570149-zen:
I have an issue with new order tune ( alarm ) , before i had a unique and strong sound when i get new order but unfortunately when i update my woocomerce this tune disapper and i didnt find it at all , even i looked for it in sound setting but its not available .
Notification setting checked but unfortunately i didnt find that unique tune for woocomerce ( there are many tunes but the original one for new order is not there ) , so i think with your last update something went wrong for this tune , you can check on your update
~Asked device info and will update once it's provided.~
WooCommerce version: 8.0 Android Device: Samsung Galaxy Note 9 ( SM N96F/DS ) Android Version: 10
Very excellent, the latest update, but the only problem is that the distinctive default tone has been deleted when a new order arrives
Device: Samsung Galaxy Note9 Device language: Arabic App version code: 262 App version name: 8.0 Android version: Android 10 (SDK 29)
@erricgunawan since the logs on the ticket don't have the part about notifications details, we need to either ask the user to re-launch the app then post the logs directly, to make sure they are included. But IMO, we should go forward and ask them to uninstall then reinstall the app, I'm pretty sure they just removed the sound accidentally, and sadly it's not a thing that we can easily fix from our side.
@hichamboushaba Sorry I missed your reply! π
I'll keep that in mind for future tickets... which I happen to have another one here π
4641935-zen
OS: 11 DeviceName: samsung SM-A505G
They shared a log but I don't see the Notification channel already created
there.
I followed your advice asking them to re-launch the app and share the logs. I'll leave a note for the next steps.
Thank you!
User came back with the new report:
[Dec-30 01:44 NOTIFS i] Notification channel already created with the following attributes: NotificationChannel{mId='wooandroid_notification_channel_order_id', mName=Alertas de nuevo pedido, mDescription=, mImportance=4, mBypassDnd=false, mLockscreenVisibility=-1000, mSound=content://media/external/audio/media/71183?title=Shrink%20Ray&canonical=1, mLights=false, mLightColor=0, mVibration=null, mUserLockedFields=34, mFgServiceShown=false, mVibrationEnabled=true, mShowBadge=true, mDeleted=false, mGroup='null', mAudioAttributes=AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null, mBlockableSystem=false, mAllowBubbles=-1, mImportanceLockedByOEM=false, mImportanceLockedDefaultApp=false, mOriginalImp=-1000, mParent=null, mConversationId=null, mDemoted=false, mImportantConvo=false}
[Dec-30 01:44 NOTIFS i] Notification channel already created with the following attributes: NotificationChannel{mId='wooandroid_notification_channel_review_id', mName=Alertas de reseΓ±a de producto, mDescription=, mImportance=3, mBypassDnd=false, mLockscreenVisibility=-1000, mSound=content://settings/system/notification_sound, mLights=false, mLightColor=0, mVibration=null, mUserLockedFields=0, mFgServiceShown=false, mVibrationEnabled=false, mShowBadge=true, mDeleted=false, mGroup='null', mAudioAttributes=AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null, mBlockableSystem=false, mAllowBubbles=-1, mImportanceLockedByOEM=false, mImportanceLockedDefaultApp=false, mOriginalImp=-1000, mParent=null, mConversationId=null, mDemoted=false, mImportantConvo=false}
[Dec-30 01:44 NOTIFS i] Notification channel already created with the following attributes: NotificationChannel{mId='wooandroid_notification_channel_general_id', mName=General, mDescription=, mImportance=3, mBypassDnd=false, mLockscreenVisibility=-1000, mSound=content://settings/system/notification_sound, mLights=false, mLightColor=0, mVibration=null, mUserLockedFields=0, mFgServiceShown=false, mVibrationEnabled=false, mShowBadge=true, mDeleted=false, mGroup='null', mAudioAttributes=AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null, mBlockableSystem=false, mAllowBubbles=-1, mImportanceLockedByOEM=false, mImportanceLockedDefaultApp=false, mOriginalImp=-1000, mParent=null, mConversationId=null, mDemoted=false, mImportantConvo=false}
@rossanafmenezes so he is using a custom sound, the default sound that the app configures has this format: mSound=android.resource://com.woocommerce.android/....
.
Let's ask them to uninstall then reinstall the app, then maybe we can explain to him that he should avoid changing the sound from the system settings, since we can't restore it for them. I think it's safe to do so for all cases, without having to go through the request for new logs π€.
Hi @hichamboushaba
I asked them to reinstall the app π but forgot to mention it here. Sorry about that
Despite updating to the latest version of JetPack, which addressed the app notification issue I reported, I'm still experiencing the problem. I asked my host to white-list all JetPack's IPs, but this did not fix the issue. I am receiving notifications from the app when new orders come in, but there is no sound. I have enabled and allowed all notifications for my device, as per your advice in our last email communication.
6575865-zd-woothemes
I suggested they reinstall the app, but that didn't do the trick for them.
6575865-zd-woothemes
I suggested they reinstall the app, but that didn't do the trick for them.
Thanks @mdrockwell for the report, and sorry for the late reply, I was AFK, and I think the rest of the team missed the ping. Unfortunately, I don't think there is much we can do here to investigate, we are still positive this is a device behavior (and probably caused by the user's actions), so if the user (or another user) comes again, let's try these checks:
@hichamboushaba -- Hi there. I'm the user who reported this issue, and I am still experiencing it. I have already completed step one, and I can confirm the device is not on silent. So the only thing that is left to do is delete, reinstall, and provide you with the app's logs if that helps.
Thanks @gs1623 for letting me know.
So the only thing that is left to do is delete, reinstall, and provide you with the app's logs if that helps.
Yes, this would be helpful, but please don't update the logs here, instead create another ticket, and provide the logs in the ticket, the support team can help you in finding the logs if needed, then please ask them to share the logs with me.
Thanks again.
Thanks @gs1623 for letting me know.
So the only thing that is left to do is delete, reinstall, and provide you with the app's logs if that helps.
Yes, this would be helpful, but please don't update the logs here, instead create another ticket, and provide the logs in the ticket, the support team can help you in finding the logs if needed, then please ask them to share the logs with me.
Thanks again.
Thanks for your response.
Don't worry, I'm aware this is a public post, so I will reopen the ticket I raised about the issue and send the logs privately there. I'll ask the support team to forward it to you.
I appreciate your response. I've been monitoring this post for a solution, so once I send the logs, hopefully you'll get to the bottom of it.
Let's close this now that #10327 has been implemented, if other users complain, let's show them how they can restore the sound from the app settings.
We were able to identify the root cause of the issues, and the above PR while helping, it doesn't solve it, so re-opening this.
This was fixed by #11095
Describe the bug
The "Cha-Ching!" sound for new order notifications isn't working. I get the push notification for a new order, but no sound is made.
The only way to get the notification to make a sound is to switch from the app-provided sound to a different system notification sound, or to reinstall the WooCommerce app.
Although the issue is resolved by reinstalling the app from the Play Store, I'm reporting it because it has come up in user reviews (including from external beta testers) and not all users experiencing the issue may try reinstalling.
To Reproduce Steps to reproduce the behavior:
Note: This issue went away when I reinstalled the app, so this may be related to updating from an older version of the app or another action I have taken previously.
Isolating the problem (mark completed items with an [x]):
Mobile Environment Please include: