react-native-whatsapp-stickers
react-native-whatsapp-stickers copied to clipboard
Check number of emoji's
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?