Stickers: Third party pack cannot be found likely because the corresponding app is restricted

Created on 14 Dec 2019  路  23Comments  路  Source: WhatsApp/stickers

I'm reporting a new issue here because I think this is a new problem.

Third-party pack cannot be found likely because the corresponding app is restricted

I've managed to consistently replicate the issue. I will add the first sticker pack to WhatsApp successfully, however, when adding the second pack it fails with the above error, however, when I kill the app and re-open it and try to add the second pack again it passes. If I then try to add a third sticker pack it fails again with the same error. Kill the app, works and so forth. Is this a problem with WhatsApp trying to restrict the number of sticker packs being added in a certain time frame or is this something else?

My issue has nothing to do with the power-saving mode. I've tried these steps too. https://github.com/WhatsApp/stickers/issues/468

Please see my implementation for WhatsApp Stickers: https://pub.dev/packages/flutter_whatsapp_stickers

It's driving me crazy and I cannot figure out what the problem is.

Android bug

Most helpful comment

Hey Guys, sorry, have been busy with internal development stuff, I will take a look and let you know.

All 23 comments

Hi @vincekruger,
thank you for reporting this!

Could you please tell us:

  • The WhatsApp version you are using
  • Your Android version
  • Your mobile phone vendor and model
  • Do you have multiple or modified versions of WhatsApp installed on your phone?

Thanks 馃憤

Same here I have the same problem. When I add a new pack I need to remove the application from the background threads and reopen it to add a new pack.
WhatsApp version: 2.19.360
Android Version: 7.1.1
Mobile phone vendor and model: Samsung A7 2016
I don't have multiple versions of WhatsApp.

Please give me a solution.

Hi @MarvinJWendt ,
I have the same problem.Can you please tell me the cause of this issue.
Thanks you

Hi @marwanzak and @ubutt9dtech,

If you have the same problem please open a new Issue and provide every information that is asked for. Also, please include if you have multiple or modified versions of WhatsApp installed. Thanks :)

This also happens to me with this flutter sticker implementation

@sidoruvigo yes I am also facing same issue :disappointed:

@MarvinJWendt

Super delayed response to my original post. Sorry about that.

WhatsApp version: Latest
Android version: 8.0.0
Mobile phone vendor and model: Huawei PRA-LX1
Do you have multiple or modified versions of WhatsApp installed on your phone? Single Version. Consumer (Beta)

I have this problem too. =(
WhatsApp version: Latest
Android version 8.1.0
Mobile phone vendor and model: Moto G5S Plus
I don't have any another whatsapp version in my cellphone

I will mark this as a bug, as it seems to occur often.

/cc @simonzhexu

Thanks, @MarvinJWendt.

Do we have a general timeline on bugs like this?

@vincekruger I am sorry, I cannot tell you how long this will take. Simon has to look into it and as it seems he's busy at the moment.
If there's an update I'll post it here :)

Hey Guys, sorry, have been busy with internal development stuff, I will take a look and let you know.

@simonzhexu Thank! Appreciate it.

Same issue.

WhatsApp version: Latest
Android version: 9.0.0
Mobile phone vendor and model: Redmi Note 7 Pro
Do you have multiple or modified versions of WhatsApp installed on your phone? Single Version.

@Purus any luck? I'm using the same phone model as you and facing the same issue

@simonzhexu I've narrowed this issue down a little.

I load sticker packs remotely and store these in internal storage. I then update the main contents.json file.

It seems that this new file update is cached somewhere along the line.
If I query this using adb shell I can see the updated version.

Guys any progress at solving this? Im having the same issue.

So I've managed to resolve this for my issue. I was getting this error because I was adding stickers packs to my config file dynamically after the content provider was created and not refreshing the content provider. There is a check in the content provider to serve was is already loaded, I simply removed that.

So I've managed to resolve this for my issue. I was getting this error because I was adding stickers packs to my config file dynamically after the content provider was created and not refreshing the content provider. There is a check in the content provider to serve was is already loaded, I simply removed that.

where is the check happening exactly? Can you point me at the line in StickerContentProvider class

E/AddStickerPackActivity: Validation failed:Third party pack cannot be found likely because the corresponding app is restricted, sdk: 29 ,power saving mode: false
Im still getting this in my log cat

What changes i have made in the original project is I have changed all the layout, I have just added a Button in my main activity and on the clicking the button

@Override public void onClick(View v) { addStickerPackToWhatsApp("1", "Adi"); } }); }

I just call the function to add my sticker pack giving the identifier and pack name. I have done this for testing purpose only. Actually I want to call this function from my unity project later, as I will be passing this native project as a plugin there. My current project was working two days before. But after then I have been constantly getting "There's a problem with this sticker pack and it cant be added to Whatsapp". Im very new to working on Android. Thanks for any help!

E/AddStickerPackActivity: Validation failed:Third party pack cannot be found likely because the corresponding app is restricted, sdk: 29 ,power saving mode: false
Im still getting this in my log cat

What changes i have made in the original project is I have changed all the layout, I have just added a Button in my main activity and on the clicking the button

@Override public void onClick(View v) { addStickerPackToWhatsApp("1", "Adi"); } }); }

I just call the function to add my sticker pack giving the identifier and pack name. I have done this for testing purpose only. Actually I want to call this function from my unity project later, as I will be passing this native project as a plugin there. My current project was working two days before. But after then I have been constantly getting "There's a problem with this sticker pack and it cant be added to Whatsapp". Im very new to working on Android. Thanks for any help!

I have to used same method as you say it working when i add sticker from assets it was working but when i have to create my custome stickerpack and add to it whatsapp then getting same issue "Third party pack cannot be found likely because the corresponding app is restricted, sdk: 29 ,power saving mode: false"

That seems to be a constant issue. No solutions found yet. For custom made sticker packs on runtime

Was this page helpful?
0 / 5 - 0 ratings