🔹 通知
このプラグインのセットアップコマンドとインストール手順、そしてマークダウンガイドを含むセットアップコマンドをコピーしてください。
🔔 Capgoのネイティブ通知をCapacitorアプリにセットアップしてください。
⚙️ セットアップ
セクションのタイトル “ ⚙️ セットアップ”npx @capgo/cli@latest notifications setupInstall the Capgo notifications plugin, add Capacitor config, create a helper file, and run Capacitor sync. Before sending production notifications, configure Android and iOS push credentials in the Capgo app Notifications tab.
例:
npx @capgo/cli@latest notifications setup com.example.appオプション:
| パラメーター | タイプ | 説明 |
|---|---|---|
| サーバーURL | string | Capgo API サーバーURL |
| —ファイル | string | capgo 通知用ヘルパーファイルを作成するためのファイル (デフォルト: src/capgo-notifications.ts) |
| —強制 | boolean | 既存のヘルパーファイルが存在する場合に上書きする |
| —インストールをスキップ | boolean | 通知パッケージのインストールをスキップ |
| __CAPGO_KEEP_0__ 同期をスキップ | boolean | Skip Capacitor sync |