WhatsApp / stickers

This repository contains the iOS and Android sample apps and API for creating third party sticker packs for WhatsApp.
Other
2.75k stars 1.71k forks source link

[Android] Sticker Packs show "Something went wrong" after sticker app is updated #956

Closed Jeanno closed 7 months ago

Jeanno commented 1 year ago

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.