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

[Android] Packs(avoid_cache is true) disappear when the system version is higher than android Q after reboot #870

Closed
4 tasks done
Notsfsssf opened this issue Feb 23, 2022 · 1 comment
Assignees
Labels
Android android issues

Comments

@Notsfsssf
Copy link

Specifications
OS Version: R
Device Manufacturer: MI 10

Stickers

  • My stickers do comply with the sticker requirements (512x512 and < 100 KB)
  • My tray icon does comply with the requirements (96x96 and < 50 KB)
  • I am using WebP images for stickers.
  • I am using PNG images for TRAY.

Problem Description
When the system version is higher than android Q, added packs(avoid_cache:true) disappears after reboot the system,but
when I set avoid_cache to false, the problem was solved

Reproduction Steps
When the system version is higher than android Q, added packs(avoid_cache:true) disappears after reboot the system,but
when I set avoid_cache to false, the problem was solved
I didn't have this kind of problem before android10.

@Notsfsssf Notsfsssf added the Android android issues label Feb 23, 2022
@Korogba
Copy link

Korogba commented Jun 5, 2024

Hi @Notsfsssf when caching is disabled, we will fetch stickers similar to adding a pack in the import flow. So you need to ensure your content provider always provides the needed assets. Check https://github.com/WhatsApp/stickers/tree/main/Android#modifying-the-contentsjson-file for use-cases where you might need to enable caching.

Feel free to re-open if this does not address your issue

@Korogba Korogba closed this as completed Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android android issues
Projects
None yet
Development

No branches or pull requests

3 participants