InstatApps

FlutterでInstantAppsを作ってリリースしたときのログ

Reference:

手順

  1. 対象アプリ.リリース.設定.詳細設定.フォームファクタ.Google Play Instantを有効化
  2. アプリ実装
  3. index.htmlbase.hrefを無効化 -> flutter build web
  4. AndroidStdio作業
    1. SDK Manager.Instant Apps Development SDKをインストール
    2. androidディレクトリ右クリック -> Refactor.Enable Instant Apps Support
    3. Tools.App Links Assistants
      • Step1:
        • http://xxxxxx.com -> .MainActivity
        • https://xxxxxx.com -> .MainActivity
      • Step2:
        1. .well-known/assetlinks.jsonとしてファイルを生成し、サイトへ配置
          https://developers.google.com/digital-asset-links/tools/generator?hl=jaopen in new window ※サイト所有者確認の場合、android:host="XXX"は不要?
        2. SearchConsoleでサイト所有者の確認を行う
        3. 対象アプリ.リリース.設定.詳細設定.アプリのインデックス登録でHTTP/HTTPSサイトの所有者確認依頼を送る
        4. 対象アプリ.リリース.設定.アプリの完全性.アプリの署名.Digital Asset Links JSONをホストに配置
          (サイト所有者確認の場合、不要?)
        5. ブラウザからDigital Asset Links APIで確認する
          • HTTP:https://digitalassetlinks.googleapis.com/v1/statements:list?source.web.site=http://xxxxxx.com:80&relation=delegate_permission/common.handle_all_urls
          • HTTPS:https://digitalassetlinks.googleapis.com/v1/statements:list?source.web.site=https://xxxxxx.com:443&relation=delegate_permission/common.handle_all_urls
    4. adb shell am start -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d "https://xxxxxx.com:443/"
  5. PlayConsole.製品版.XXXXXXから通常アプリをリリース
  6. PlayConsole.製品版.InstantAppsのみからリリース
Last Updated:
Contributors: AkitoYamashita