How can I create a second JSON Array, can I get example code
Do you mean: "how can I add more than one stickers pack in the contents.json"? ๐ค
yes bro :d
Create Another Folder inside assets with name 2 .
Put your stickers inside the folder .
After that modify the contents.json like i provided .
ExampleJSON.txt
Same as @suriya27 but formatted correctly for better readability:
{
"android_play_store_link": "",
"ios_app_store_link": "",
"sticker_packs": [
{
"identifier": "1",
"name": "Cuppy",
"publisher": "Jane Doe",
"tray_image_file": "tray_Cuppy.png",
"publisher_email": "",
"publisher_website": "",
"privacy_policy_website": "",
"license_agreement_website": "",
"stickers": [
{
"image_file": "01_Cuppy_smile.webp",
"emojis": ["โ", "๐"]
},
{
"image_file": "02_Cuppy_lol.webp",
"emojis": ["๐", "๐"]
},
{
"image_file": "03_Cuppy_rofl.webp",
"emojis": ["๐", "๐"]
},
{
"image_file": "04_Cuppy_sad.webp",
"emojis": ["๐ฉ", "๐ฐ"]
},
{
"image_file": "05_Cuppy_cry.webp",
"emojis": ["๐ญ", "๐ง"]
}
]
},
{
"identifier": "2",
"name": "Cuppy2",
"publisher": "John Doe",
"tray_image_file": "tray_Cuppy.png",
"publisher_email": "",
"publisher_website": "",
"privacy_policy_website": "",
"license_agreement_website": "",
"stickers": [
{
"image_file": "21_Cuppy_hi.webp",
"emojis": ["๐", "๐"]
},
{
"image_file": "22_Cuppy_bye.webp",
"emojis": ["๐", "๐"]
},
{
"image_file": "23_Cuppy_greentea.webp",
"emojis": ["๐ต", "๐"]
},
{
"image_file": "24_Cuppy_phone.webp",
"emojis": ["๐ฑ", "๐ฆ"]
}
]
}
]
}
In this case, for consistency you should put your second sticker pack in a 2 folder. I'm not sure if you are required to do this on Android.
Oh Thank You so much, It worked XD