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