Closed ameralzarouni closed 5 years ago
Have you checked that all stickers are 512x512px and the tray icon is 96x96px?
Yes, and they are all below 50 kB even though the requirement is under 100 kb
Is there a solution to this problem? Anyone? I don't think it's complicated problem. We just need to know what could be the problem...
What version of iOS are you using?
I am using iOS 11.x
My device is not jailbroken. 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.
I tried it on an iPhone 6S running iOS 10.x and I have the same problem.
To all that say theWebP framework not being imported is the problem, it is not the problem for us, nor is the file or image sizes The WebP framework has already been loaded and the images are under 100 kB.
same problem here
@WhatsApp This is taking too long to solve!
Seriously! Does anybody have a clue what might be the problem?
This happened when running the provided pack without any modifications (apart from changing the bundle identifier) iOS 12.1.1 - Whatsapp - 2.18.101
To anyone having this issue, we need logs to debug this:
@amrit-1901 yeah done. Hopefully this gets resolved at the earliest. Thank you.
@amrit-1901 Done
@ameralzarouni Your WEBP image fails our integrity check. Did you use a PNG image and let the app do the conversion or did you use a straight WEBP image?
The other ticket I've got is about the stickers count being more than 30 (31 to be exact). I'm not sure if it was @lonesnipers since the names were different.
@amrit-1901 I've sent a screenshot for a football club sticker app. What is the issue with mine? I've used png images and converted them to webp in Android sdk. There are 11 stickers in total.
I have not received your ticket. Can you try send it again (with the word "github" in the description)? In the meantime, can you try using your original PNG images and let the app do the conversion?
Hi, I've sent it again with the word github specified twice. The description starts with:
[Android]Error: There's a problem with this sticker pack and it can't be added to WhatsApp
email: dsouzasanford@hotmail.com
I tried using the original png images, but the app doesn't get installed. It gives an error: App not installed.
@amrit-1901 I sent my logs as well, hope you can help. The description is Getting the "problem with this sticker pack" error as noted in GitHub. Trying to package stickers with our native app. Would love some guidance, thanks!
email: rakesh@startincle.com
@amrit-1901 I am using Paint.Net to edit the images with a plugin to save as WebP.
Update: I managed to get the stickers working by uploading them as png in Xcode and not as WebP.
PNG is working fine, the problem only appears when using webp. Still waiting fixes for that...
PNG images are eventually converted into WEBP when sent to WhatsApp, so either our validation is missing something or the converters produce a faulty WEBP image. Can you attach the problematic WEBP images? We can figure out what's wrong with them.
@ameralzarouni or @chr0m1ng was this on Android? How were you able to avoid getting this error: contents.json file has some issues: image file for stickers should be webp files, image file is: 01.png
? The app failed to start after that error.
Also, I noticed that some of you are complaining about Android instead of iOS. @simonzhexu can take care of that issue. However, please for anyone new having this issue, please create a separate issue for Android: it makes it much easier to manage.
There is a separate one for Android, but nobody is replying there. So, we are writing about it here.
For Android, follow this, https://github.com/WhatsApp/stickers/issues/104#issuecomment-437459131 and comment in https://github.com/WhatsApp/stickers/issues/104
@ameralzarouni or @chr0m1ng was this on Android? How were you able to avoid getting this error:
contents.json file has some issues: image file for stickers should be webp files, image file is: 01.png
? The app failed to start after that error.
your sticker files need to be in webp. Follow the read me to convert png to webp please.
@simonzhexu I tried using WebP images in the app but they give the error this issue is about. When I used PNG images without converting them, they worked perfectly well and I didn’t get any error.
I am developing for iOS and using PNG, and still getting this error :(
Also having this problem, just sent logs. I have 2 own stickers in webp using the suggested Photoshop plugin. Both are under 100 kb and are exactly 512x512. Then I also have one of the sample stickers added to the pack in png as the artist isn't done with the rest yet.
Edit: If I export to 8-bit png it works just fine.
Also having this problem, just sent logs. I have 2 own stickers in webp using the suggested Photoshop plugin. Both are under 100 kb and are exactly 512x512. Then I also have one of the sample stickers added to the pack in png as the artist isn't done with the rest yet.
Edit: If I export to 8-bit png it works just fine.
Had to use fresh download and now it is working with the same images I tried earlier!!!!
I used 8-bit PNG and it worked perfectly
@simonzhexu I tried using WebP images in the app but they give the error this issue is about. When I used PNG images without converting them, they worked perfectly well and I didn’t get any error.
Your content.json should reference the file in .webp not .png, if those are sticker files.
Seems like the import statement at YYImageCoder.m is case sensitive.
Changing from webp to WebP for all the imports in this class works for me.
I also had this problem and fixed it by changing the bundle identifier to something completely different. Apparently they are doing a contains()
, so simply adding one character (like I did before) won't help.
@simonhexu By using PNG images and referencing them as .png worked perfectly on iOS, when I used webp, it didn’t work.
My problem was uploading the app to the itunes connect. Do this happened to you?
@sanestani Apple has started removing all WhatsApp stickers apps from the App Store because they violate their guidelines.
@Alex193a Yes, I know, but is there any way to fix this?
@sanestani I don't think, WhatsApp will have to create a universal app, probably. The current method of adding stickers is totally wrong, it surprises me that they have not figured it out yet.
I am facing the same error. I am opening what's app from my iMessage extension. I am following the advanced development tutorial and successfully created a sticker pack. It opens what's app, I get the message, importing sticker pack and then it says "There's a problem importing this sticker pack." I am using png images and all images are less than 50kb and are 512x512. I know there is no problem in images because the same work for android. But I am not able to get them to work on ios.
same problem with me, @BhaktiKarva and the others. Waiting WhatsApp's Team.
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.
https://github.com/WhatsApp/stickers/issues/104#issuecomment-437459131
@amrit-1901 Is it possible to also get this on the iOS version of WhatsApp?
To anyone having this issue, we need logs to debug this:
- Right after you see the "There's a problem with this sticker pack and it can't be added to WhatsApp" alert, tap OK
- While still remaining in WhatsApp, go to Settings->Help->Contact Us
- Describe this issue and make sure to write the word "GitHub" somewhere in your description (this will make sure we can prioritize your support tickets)
I did what you asked and it generated a log file, attached it in the mail and was sent. I went trough the generated log file and found this :
2018-11-20 11:57:14.709 [ 370559] [mms (QOS:…TED)] [F] LL_A mms-session//conn-info/route-request/response/endpoints: 2 duration: 0.317987
2018-11-20 11:57:14.818 [ 363501] [main-thread ] [F] LL_E* wamediaimgops/verify-webp-file/failed 214
2018-11-20 11:57:14.818 [ 363501] [main-thread ] [F] LL_A* third-party-sticker-validating//failed to verify sticker image webp file
2018-11-20 11:57:14.854 [ 363501] [main-thread ] [F] LL_A* app/open-url/third-party-sticker: invalid sticker pack
2018-11-20 11:57:14.856 [ 363501] [main-thread ] [F] LL_A* alert: [There's a problem with this sticker pack and it can't be added to WhatsApp.] [(null)]
I am not sure as to what is this error, but one or more of my stickers is not proper, that is why I think I am facing error. What do you think?
I was finally able to solve my problem! This is what I did
Note : I am opening this from my iMessage extension and not from a container app and it still works for me. You may be getting different errors, but this helps in getting the logs and identifying why it is not importing packs.
Hope this helps!
@BhaktiKarva Using 8-bit PNG images instead of webp should work.
I tried with 8-bit PNG, doesn't worked.
I have a 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. The tray icon is 11 kb.