๐น ์๋ฆผ
์ด ํ๋ฌ๊ทธ์ธ์ ์ค์น ๋จ๊ณ์ ์ ์ฒด ๋งํฌ๋ค์ด ๊ฐ์ด๋๋ฅผ ํฌํจํ ์ค์ ํ๋กฌํํธ๋ฅผ ๋ณต์ฌํ์ธ์.
๐ 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 | ์๋ฆผ ํจํค์ง๋ฅผ ์ค์นํ์ง ์์ |
| โ๋๊ธฐํ ์๋ต | boolean | Capacitor ๋๊ธฐํ ์๋ต |