mirror of
https://github.com/expo/config-plugins.git
synced 2026-11-15 03:38:06 -10:00
### @config-plugins/ios-stickers [1.0.2](https://github.com/expo/config-plugins/compare/@config-plugins/[email protected]...@config-plugins/[email protected]) (2022-03-22)
### Other chores
* git ignore build folders ([#59](https://github.com/expo/config-plugins/issues/59)) ([d6050be](https://github.com/expo/config-plugins/commit/d6050beb2a5c68dc59287c27ec388c2002ec7904))
@config-plugins/ios-stickers
Config plugin to auto configure iOS iMessage stickers
Install
Tested against Expo SDK 44
yarn add @config-plugins/ios-stickers
Example
In your app.json plugins array:
[
"@config-plugins/ios-stickers",
{
"name": "Stickers!",
"icon": "./assets/imessage-icon.png",
"columns": 4,
"stickers": [
"./assets/stickers/annoyed.png",
"./assets/stickers/cuddle.png",
"./assets/stickers/crazy.png",
"./assets/stickers/cant.png",
"./assets/stickers/donno.png",
"./assets/stickers/cozzy.png",
"./assets/stickers/dork.png",
"./assets/stickers/focus.png",
"./assets/stickers/avocool.png",
"./assets/stickers/coder-girl.png",
"./assets/stickers/teapot.png"
]
}
]
- name: defaults to the iOS app name
- icon: defaults to the iOS app icon
- columns: number of stickers to render, defaults to
3iirc. - stickers: local file paths or remote URLs, or
{ image: "...", name: "...", accessibilityLabel: "..." }. Order is preserved.