Error appears after hitting the Add to WhatsApp button. Tried thrice making from scratch but displays the same error. Any suggestions?
Some image inside that icon pack is bigger than 100kb
facing the same issue, even I resize my image to 20kb, and even change the limits as below:
` static let MaxStickerFileSize: Int = 200 * 1024
static let MaxTrayImageFileSize: Int = 60 * 1024
static let TrayImageDimensions: CGSize = CGSize(width: 100, height: 100)
static let ImageDimensions: CGSize = CGSize(width: 100, height: 100)
`
still getting the same error
I have the same problem, the app launches and works, the Add to WhatsApp button works, but WhatsApp gives the following error on iPhone X: There's a problem with this sticker pack and it can't be added to WhatsApp. I've checked and all the stickers are less than 50 kb.
Some image inside that icon pack is bigger than 100kb
No, All the images are below 100KB and 512x512 as per the instructions. Tray icon is 96x96 and less than 50KB. I don't think there's any issue with the size of the image. I'ts something else.
Can anybody from WhatsApp answer this?
"There's a problem with this sticker pack and it can't be added to WhatsApp" can be shown by a myriad of issues, so it's difficult to say without more information. It seems like the most common reasons are that images are too big or they forgot to change the bundle identifier of the project to not include the default one.
The images are the correct size and the bundle identifier has been changed.
Yes the bundle identifier has been changed. There are no issues with the images either. Is there any other possibility or any possible error?
Don't use PNG File in sticker pack , use webp only
Only the tray icon is png. All sticker png images were converted to webp.
All my photos are webp, and for the tray I tried with webp and png, and they all work in the app but don't get added to WhatsApp.
All my photos are webp, and for the tray I tried with webp and png, and they all work in the app but don't get added to WhatsApp.
No , I mean , If you are using Png change to webp , And vice versa
I saved them directly as webp and not as png. I didn’t convert them.
Are you using iOS 9 or below?
No, I am using iOS11.x
My device is not jail broken. How do I import WebP framework? I just edited the metadata and changed the sticker files.
Just checked again, the WebP framework is in the project. I am still getting this error for both of my sticker packs. If it helps, I am using WebP images. I am on iOS and using Xcode.
My device is not jail broken. How do I import WebP framework? I just edited the metadata and changed the sticker files.
The WebP framework not being imported is not the problem for me, nor is the file or image sizes The WebP framework has already been loaded and the images are under 100 kB.
In my case, I copied a part of source code into my own project and this occurred in ios. I think it is because of missing webp.framework. After linked the framework, it becomes ok.
If you are using the sample stricter app, you can change the bundle ID first (or again), then clean the project and try it again
The bundleID has been changed and the WebP framework has been imported from the beginning. This is not the problem
@simonzhexu continuing the discussion on #127 here in this android thread.
@simonzhexu your help will be much appreciated sir.
If you build a debug version of sticker app, and try to add to WhatsApp. When the add fails, you will get a dialog that tells you what was wrong. In order to build a debug version, change your build variants in Android studio, and click run.
facing the same issue, even I resize my image to 20kb, and even change the limits as below:
` static let MaxStickerFileSize: Int = 200 * 1024
static let MaxTrayImageFileSize: Int = 60 * 1024 static let TrayImageDimensions: CGSize = CGSize(width: 100, height: 100) static let ImageDimensions: CGSize = CGSize(width: 100, height: 100)`
still getting the same error
changing the limit is not the way to fix it. Even if you change your limit in the sticker app. WhatsApp will verify the sticker pack using the old limit. And your pack will fail it.
@simonzhexu running the sample app works, but I'm trying to integrate the sticker pack into our existing app, as described in the "Advanced Development" section. My method to do so is
public void addWhatsAppStickers() {
Intent intent = new Intent();
intent.setAction("com.whatsapp.intent.action.ENABLE_STICKER_PACK");
intent.putExtra("sticker_pack_id", "com.vlipsy.wastickers");
intent.putExtra("sticker_pack_authority", BuildConfig.APPLICATION_ID + "stickercontentprovider");
intent.putExtra("sticker_pack_name", "Ellie");
getReactApplicationContext().startActivity(intent);
}
Does the fetchStickerPacks static method need to be run sometime?
Some potentially relevant logs:
018-11-09 15:06:14.136 1200-3329/? I/ActivityManager: START u0 {act=com.whatsapp.intent.action.ENABLE_STICKER_PACK cmp=com.whatsapp/.stickers.AddThirdPartyStickerPackActivity (has extras)} from uid 10495
2018-11-09 15:06:14.367 1200-1252/? I/ActivityManager: Displayed com.whatsapp/.stickers.AddThirdPartyStickerPackActivity: +181ms
2018-11-09 15:06:15.910 613-631/? W/SurfaceFlinger: Attempting to set client state on removed layer: com.whatsapp/com.whatsapp.stickers.AddThirdPartyStickerPackActivity#0
2018-11-09 15:06:15.911 613-631/? W/SurfaceFlinger: Attempting to destroy on removed layer: com.whatsapp/com.whatsapp.stickers.AddThirdPartyStickerPackActivity#0
@simonzhexu running the sample app works, but I'm trying to integrate the sticker pack into our existing app, as described in the "Advanced Development" section. My method to do so is
public void addWhatsAppStickers() { Intent intent = new Intent(); intent.setAction("com.whatsapp.intent.action.ENABLE_STICKER_PACK"); intent.putExtra("sticker_pack_id", "com.vlipsy.wastickers"); intent.putExtra("sticker_pack_authority", BuildConfig.APPLICATION_ID + "stickercontentprovider"); intent.putExtra("sticker_pack_name", "Ellie"); getReactApplicationContext().startActivity(intent); }Does the
fetchStickerPacksstatic method need to be run sometime?
No, all you need is to implement the ContentProvider and call the intent to add to WhatsApp.
If you have used the sample app template, please check the logcat error message with the following text: Validation failed.
If you have not used the sample app, then please check the intent result after add sticker packs, the returned intent will contain a string extra with the key "validation_error", the value of this will tell you the reason.
Guys is there any solution for resizing "webp" images?
eg: some images are 512x480 and i want to make it 512x512 since it is already "webp file", do you have any idea about this guys ?
Thanks
@diepox convert it into png in android studio. Change it to 512x512 in photoshop. Convert to webp again in AS. Seems lengthy but will hardly take 5 mins.
@lonesnipers There are too many stickers, but thanks anyways ^_^
building a debug version solved the issue. Thanks @simonzhexu
Follow these steps:
Hope this helps!!
If you have used the sample app template, please check the logcat error message with the following text: Validation failed.
If you have not used the sample app, then please check the intent result after add sticker packs, the returned intent will contain a string extra with the key "validation_error", the value of this will tell you the reason.
==>
but data not reurns "validation_error" key and not getting proper issue, every time when press add button it shows message "There's a problem with this sticker pack and it can't be added to WhatsApp"
please help to understand
mail me on : [email protected]
building a debug version
@lonesnipers Could you please let us know what was the problem in your case?
We have a similar problem but I don't see any useful messages in debug version logs.
Ohh that issue solved after verification of every small part of code
That message is show me when try to add pack to What'sApp because I placed
empty string in publisher in contents.json
=> But now another issue is getting while I update my app to api based app,
I am not getting the flow of app means how to store stickers and how to
bind those packs to whatsApp when trying to add.
Please help if you have any solutions
Thanks for reporting. I will check and fix.
hello
every think is work and folder 1 add to whatsapp but folder 2,3,4,5 is cant add and show me this Message(There's a problem with this sticker pack and it can't be added to whatsapp)
how ican fix that ??


hello
every think is work and folder 1 add to whatsapp but folder 2,3,4,5 is cant add and show me this Message(There's a problem with this sticker pack and it can't be added to whatsapp)
how ican fix that ??
just Check .json file, Identifier, name, publisher and tray_image_icon are must to add and check the pack name is same as Identifier
im getting this error plzz help me:
exception fetching input stream uri:content://ne.stickers.whatsapp.com.whatsappstickers.WhatsAppLicensedCode.StickerContentProvider/stickers_asset/b7a29678-e7ae-4182-87d0-f1e9fa66e7e6/0, exception message: fd must not be null
I published a sticker app on google play store, I'm only getting this error from users with galaxy s8+ (android 8.0)
Internal classes have JsonReader to read json data,JsonReader not read data
from json file
On Jan 9, 2019 10:49 AM, "Ravi" notifications@github.com wrote:
im getting this error plzz help me:
exception fetching input stream uri:content://ne.stickers.
whatsapp.com.whatsappstickers.WhatsAppLicensedCode.StickerContentProvider/
stickers_asset/b7a29678-e7ae-4182-87d0-f1e9fa66e7e6/0, exception message:
fd must not be null—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/WhatsApp/stickers/issues/104#issuecomment-452575447,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ahu4cjk0Veli9U04ovTAI9XDswWDcd6Bks5vBXvhgaJpZM4YDqh3
.
I published a sticker app on google play store, I'm only getting this error from users with galaxy s8+ (android 8.0)
Im having this issue too with Samsung devices, Galaxy S9+, Grand Prime Plus, Galaxy J4 Core, J5, Galaxy J7, Galaxy A7, Galaxy J6+, Galaxy J3, with Android 8 and 8.1, have you solved this?
Could be they are using a not offical whatsapp app
On Tue, May 7, 2019 at 10:04 PM Ferdari notifications@github.com wrote:
I published a sticker app on google play store, I'm only getting this
error from users with galaxy s8+ (android 8.0)Im having this issue too with Samsung devices, Galaxy J4 Core, Galaxy J7
with Android 8.1 have you solved this?—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/WhatsApp/stickers/issues/104#issuecomment-490318838,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK457SNSFUDQW2GT6LHQXNLPUIYMRANCNFSM4GAOVB3Q
.
I asked everyone, i confirmed they using the official version, it only happen on Samsung devices.
Be sure if they can install another sticker packs
On Wed, May 8, 2019 at 11:43 PM Ferdari notifications@github.com wrote:
I asked everyone, i confirmed they using the official version, it only
happen on Samsung devices.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/WhatsApp/stickers/issues/104#issuecomment-490732011,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK457SN4Z6M4UAS2NPXNET3PUOMXNANCNFSM4GAOVB3Q
.
Try to Pack Size Small.
I asked everyone, i confirmed they using the official version, it only happen on Samsung devices.
Hi, sorry to bother, I got the same issue. All the size of the images are correct, and most users can download the stickers but some cannot. Is there any solution now? Ask users to upgrade their Android version or reinstall Whatsapp or WAStickerAPP? Thank you!
Hey @fionawen96, this Issue is kinda old and inactive. A lot of problems in this issue got solved already, could you take a look at those comments:
Maybe they can help you.
If your problem doesn't solve, it would be good if you could open a new issue, so that we don't annoy the people here who don't have the problem anymore.
Also you could post some error logs (e.g. logcat) in the new Issue then, to help both of us to resolve it :)
hello
every think is work and folder 1 add to whatsapp but folder 2,3,4,5 is cant add and show me this Message(There's a problem with this sticker pack and it can't be added to whatsapp)
how ican fix that ??
you can solve this problem with actual gbwhatsapp mod?
Got the same problem with the import of one Sticker pack. Since the latest WhatsApp update. :-(
Checked my Sticker App and everything seems to be o.k. Weeks ago it worked fine.
check your tray icon which need to be 96*96 and also check your stickers size and dimension, size must be less then 100kb and dimension will 512 512, and also check the file type, tray icon file type is png and stickers file type is webp... and most common check your content json file for stickers name etc
Most helpful comment
Guys is there any solution for resizing "webp" images?
eg: some images are 512x480 and i want to make it 512x512 since it is already "webp file", do you have any idea about this guys ?
Thanks