Share your experience!
Hi,
I had the same problem on my Xperia XZ premium running on Oreo. I installed an App called ''Simple Last.fm scrobbler'' on google play store and I am now able to scrobble my music while using the Sony music app. So far it works great for me.
I know this post is old and I didn't try the app on a M5, but when I was looking for a solution online I couldn't find any so I hope it helps others.
Have a nice day,