Specifications
OS Version: Android probably all versions after Android 11 (API Level 30)
Device Manufacturer: All
Stickers
[x] My stickers do comply with the sticker requirements (512x512 and < 100 KB)
[x] My tray icon does comply with the requirements (96x96 and < 50 KB)
[x] I am using WebP images for stickers.
[ ] I am using PNG images for stickers.
Problem Description
WhatsApp no longer fetch sticker pack meta data and sticker images from sticker app through the ContentProvider after the sticker app is updated. Simply show "Something went wrong"
Reproduction Steps
1) Install sticker app.
2) Install the sticker pack from the app
3) Update the sticker app to a new version
4) Clear cache from WhatsApp to force it to fetch stickers from sticker app again
5) All installed sticker packs are now showing "Something went wrong"
Specifications
OS Version: Android probably all versions after Android 11 (API Level 30) Device Manufacturer: All
Stickers
Problem Description
WhatsApp no longer fetch sticker pack meta data and sticker images from sticker app through the ContentProvider after the sticker app is updated. Simply show "Something went wrong"
Reproduction Steps
1) Install sticker app. 2) Install the sticker pack from the app 3) Update the sticker app to a new version 4) Clear cache from WhatsApp to force it to fetch stickers from sticker app again 5) All installed sticker packs are now showing "Something went wrong"
Extra Info It seems WhatsApp has lost visibility to the sticker app after the update. https://developer.android.com/training/package-visibility
I also suspect instead of querying on the ContentProvider directly, WhatsApp did something that requires visibility before the query.