WhatsApp / stickers

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

[Android]There's problem with the sticker pack, can't be added to the whatsapp #610

Closed prabhashibuddhima closed 2 years ago

prabhashibuddhima commented 4 years ago

Specifications
OS Version: 9 pie Device Manufacturer: xiaomi redmi 7

Stickers

Problem Description
I'm trying to add my sticker pack to WhatsApp using ionic by referring the following link.

https://github.com/H4ad/cordova-whatsapp-sticker-plugin/blob/master/Android.md

but I got there's a problem with my pack and I can't add it to the WhatsApp. I tried to figure the issue by using the logs and here is what I got

2020-02-29 10:05:53.538 LL_I M [10080:WhatsApp Worker #502] ThirdPartyStickerManager/fetchPack/ com.nestamolt.martech.stickercontentprovider/aurdu
2020-02-29 10:05:53.549 LL_I M [10080:WhatsApp Worker #502] ThirdPartyStickerManager/fetchPack/not using sticker cache
2020-02-29 10:05:53.552 LL_E M [10080:WhatsApp Worker #502] StickerContentProviderFetcher/getThirdPartyAppVersionCode/app may have been deleted
2020-02-29 10:05:53.557 LL_E M [10080:WhatsApp Worker #502] ThirdPartyStickerFetcher/fetchStickerPackMetadata/fetched sticker pack is null, authority: com.nestamolt.martech.stickercontentprovider, thirdPartyAppVersionCode: null
2020-02-29 10:05:53.564 LL_I M [2:main] com.whatsapp.stickers.AddThirdPartyStickerPackActivity.onStart
2020-02-29 10:05:53.564 LL_I M [2:main] app-init/application foregrounded
2020-02-29 10:05:53.565 LL_I M [2:main] messageservice/startOnForeground success
2020-02-29 10:05:53.567 LL_E M [10080:WhatsApp Worker #502] AddThirdPartyStickerPackActivity/fetch sticker pack error:; exception=X.3Mk: Third party pack cannot be found, phone not in power saving mode, sdk: 28
### begin stack trace 2.20.47-play-release
Nullstr1ng commented 4 years ago

Anybody got a solution for this? We have an application for exporting stickers to WhatsApp and its written with Xamarin. What's weird is that when I use my device running Android 9, all of our stickers are exported without issue. When I use my Android 10 phone, this message "There's problem with the sticker pack, can't be added to the whatsapp" appears.

It's confusing without any conditional statements or version checking, two version have different results.