WhatsApp / stickers

This repository contains the iOS and Android sample apps and API for creating third party sticker packs for WhatsApp.
Other
2.73k stars 1.7k forks source link

[Android]What is the 'identifier' variable in the method definition : protected void addStickerPackToWhatsApp(String identifier, String stickerPackName) #179

Closed Adarshkl closed 5 years ago

Adarshkl commented 5 years ago

image What exactly is 'identify' parameter here? When I debug the code, it shows a value of '1'. Is it the folder name where all the stickers are put inside the project?

simonzhexu commented 5 years ago

it is the folder name, yes. You also use that in content.json.

ansarisufiyan777 commented 5 years ago

Can we use a single folder name for multiple sticker packs?

eg: { "android_play_store_link": "https://play.google.com/store/apps/details?id\u003dcom.myapp", "ios_app_store_link": "https://itunes.apple.com/app/myapp/id123456", "sticker_packs": [ { "identifier": "shared", "license_agreement_website": "https://myproject.com/license", "name": "Whatsapp stickers", "privacy_policy_website": "https://myproject.com/legal", "publisher": "Asna Soft.", "publisher_email": "contact@myproject.com", "publisher_website": "https://myproject.com", "stickers": [], "tray_image_file": "picture1169841196712507257png" } , { "identifier": "shared", "license_agreement_website": "https://myproject.com/license", "name": "Whatsapp stickers", "privacy_policy_website": "https://myproject.com/legal", "publisher": "Asna Soft.", "publisher_email": "contact@myproject.com", "publisher_website": "https://myproject.com", "stickers": [], "tray_image_file": "picture1169841196712507257png" } ] }