Firebase Dynamic Links と Instant Apps を併用する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
警告: Google Play Instant はご利用いただけなくなります。2025 年 12 月より、Google Play を通じて Instant Apps を公開できなくなり、すべての Google Play 開発者サービス Instant API が機能しなくなります。ユーザーには、あらゆるメカニズムを使用して Google Play からインスタント アプリが提供されなくなります。
この変更は、デベロッパーからのフィードバックと、Google Play インスタントの導入以来、エコシステムの改善に継続的に投資してきたことに基づいて行われます。
引き続き最も効果的にユーザーを獲得するために、デベロッパーは、ディープリンクを使用して、ユーザーを通常のアプリやゲームに誘導し、必要に応じて特定のジャーニーや機能にリダイレクトすることをおすすめします。
Branch などのディープリンク ライブラリは、Google Play Instant に対応しています。
現在のディープリンク ソリューションが表示されない場合、または Google Play Instant に対応していない場合は、Firebase Dynamic Links の使用を検討してください。このページでは、Instant App プロジェクトで Firebase Dynamic Links をセットアップする方法について説明します。
主なメリット
- リンクを Firebase Dynamic Links でラップすると、リンクをクリックしたときに常に Instant App に移動することが保証されます。そうしないと、アプリがリンクを Instant App ではなくアプリ内ブラウザで開くように強制する可能性があります。Firebase Dynamic Links を使用すると、リンクのクリック時の動作を制御できます。
- Firebase Dynamic Links を使用すると、クリック、初回起動、再起動、インストールなどのイベントを分析できます。Dynamic Links イベントは Firebase 向け Google アナリティクスにも記録されます。
Firebase Dynamic Links を Instant App プロジェクトに統合する
Firebase Dynamic Links は、標準の Android アプリの統合と同じ方法で、Instant App プロジェクトと統合できます。
Firebase Dynamic Links に統合すると、後は Instant Apps リンクに androidFallbackLink パラメータを設定するだけです。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-27 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-27 UTC。"],[],[],null,["# Use Firebase Dynamic Links with instant apps\n\n**Warning:** Google Play Instant will no longer be available. Starting December 2025,\nInstant Apps cannot be published through Google Play, and all\n[Google Play services Instant APIs](https://developers.google.com/android/reference/com/google/android/gms/instantapps/package-summary)\nwill no longer work. Users will no longer be served Instant Apps by Play using any\nmechanism.\n\nWe're making this change based on developer feedback and our continuous investments\nto improve the ecosystem since the introduction of Google Play Instant.\n\nTo continue optimizing for user growth, we encourage developers to refer users to\ntheir regular app or game, using [deeplinks](https://support.google.com/googleplay/android-developer/answer/12463044)\nto redirect them to specific journeys or features when relevant.\n\nSeveral deep linking libraries are compatible with Google Play Instant\nsuch as [Branch](https://branch.io).\n\nIf your current deep linking solution isn't listed or if you find that it\ndoesn't work with Google Play Instant, consider using Firebase Dynamic\nLinks. This page describes how to set up Firebase Dynamic Links in an instant\napp project.\n\n### Key benefits\n\n- **Wrapping your links with Firebase Dynamic Links guarantees that clicks on\n links always take users to your instant app.** Otherwise, apps can force links to be opened inside an in-app browser instead of an instant app. Firebase Dynamic Links allows you to control the behavior of clicks on links.\n- **Firebase Dynamic Links allows you to track analytics on events like clicks,\n first-opens, re-opens, and installs.** Dynamic Links events also are recorded in Google Analytics for Firebase.\n\n### Integrating Firebase Dynamic Links with an instant app project\n\nYou can integrate Firebase Dynamic Links with your instant app project the same way\nyou would [integrate a standard Android app](https://firebase.google.com/docs/dynamic-links/android/receive).\n\nAfter you integrate with Firebase Dynamic Links, you just have to set the [androidFallbackLink\nparameter](https://firebase.google.com/docs/reference/dynamic-links/link-shortener)\nto your Instant Apps link."]]