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