react-native-whatsapp-stickers icon indicating copy to clipboard operation
react-native-whatsapp-stickers copied to clipboard

Check number of emoji's

Open mvanroon opened this issue 4 years ago • 0 comments

Currently, if more than three emoji's are provided for a certain sticker, the following error is thrown: "Error: an unknown error occured for whats app stickers". This is because WhatsApp doesn't allow more than three emoji's. Perhaps we can check the length of the list provided as the second argument of RNWhatsAppStickers.addSticker and throw an error if it's longer than 3?

mvanroon avatar Mar 28 '20 13:03 mvanroon