๐น ์๋ฆผ
์ค์น
๐ Set up Capgo native notifications in your Capacitor app.
โ๏ธ ์ค์
์ค์ npx @capgo/cli@latest notifications setupCapgo ์๋ฆผ ํ๋ฌ๊ทธ์ธ์ ์ค์นํ์ธ์, Capacitor ์ค์ ์ ์ถ๊ฐํ์ธ์, ๋์ฐ๋ฏธ ํ์ผ์ ์์ฑํ์ธ์, ๊ทธ๋ฆฌ๊ณ Capacitor ๋๊ธฐํ๋ฅผ ์คํํ์ธ์. ์ ํ ์๋ฆผ์ ์ ์กํ๊ธฐ ์ ์ Android ๋ฐ iOS ํธ์ ์ธ์ฆ์๋ฅผ Capgo ์ฑ ์๋ฆผ ํญ์์ ๊ตฌ์ฑํ์ธ์.
์์:
npx @capgo/cli@latest notifications setup com.example.app์ต์ :
| ๋งค๊ฐ ๋ณ์ | ํ์ | ์ค๋ช |
|---|---|---|
| ์๋ฒ URL | string | Capgo API ์๋ฒ URL |
| ํ์ผ | string | capgo ์๋ฆผ์ ์์ฑํ๋ ๋์ฐ๋ฏธ ํ์ผ |
| ๊ฐ์ | boolean | ์ด๋ฏธ ์กด์ฌํ๋ ๋์ฐ๋ฏธ ํ์ผ์ ๋ฎ์ด์ฐ๊ธฐ |
| ์ค์น ์๋ต | boolean | ์๋ฆผ ํจํค์ง ์ค์น๋ฅผ ์๋ต |
| __CAPGO_KEEP_0__ ๋๊ธฐํ๋ฅผ ์๋ต | boolean | Skip Capacitor sync |