🔹通知
このプラグインのインストールステップとフルマークダウンガイドを含むセットアップ用の質問をコピーしてください。
🔔 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 | 通知用ヘルパーファイルの作成に使用するファイル (デフォルト: src/capgo-notifications.ts) |
| —強制 | boolean | 既存のヘルパーファイルを上書きします |
| —インストールをスキップ | boolean | 通知パッケージのインストールをスキップします |
| —同期をスキップ | boolean | Capacitor 同期をスキップします |