0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Flutter】inapp_webviewの使用で ITMS-91061: Missing privacy manifest の警告が来る

Posted at

iOSの審査に出すと問題があるといわれる

iOSの審査に提出
ITMS-91061: Missing privacy manifest - Your app includes “Frameworks/OrderedSet.framework/OrderedSet”, which includes OrderedSet, an SDK that was identified in the documentation as a privacy-impacting third-party SDK. Starting November 12, 2024, if a new app includes a privacy-impacting SDK, or an app update adds a new privacy-impacting SDK, the SDK must include a privacy manifest file. Please contact the provider of the SDK that includes this file to get an updated SDK version with a privacy manifest. For more details about this policy, including a list of SDKs that are required to include signatures and manifests, visit: https://developer.apple.com/support/third-party-SDK-requirements.

原因はflutter_inappwebview

issuesとして挙げられていた。ここによると、OrderedSetv6.0.2でPrivacyManifestは追加されているが、inappwebviewの更新がないために、OrderedSet5.0.0を読み込むためにPrivacyManifestの対応ができていないというものです。

解決方法

inappwebviewが更新されるまではレポジトリをフォークし、自分でOrderedSetの依存関係を編集することで解決するしかなさそう。
https://github.com/Cmirai39/flutter_inappwebview
上のレポジトリは自分が編集したものです。pubspec.yamlを下のように変更することで自分が編集したレポジトリ経由でinstallできます。

pubspec.yaml
dependencies:
    #flutter_inappwebview: ^6.0.0 
    flutter_inappwebview:
        git: 
          url: https://github.com/Cmirai39/flutter_inappwebview #OrderedSetのバージョン対応するまで自分のリポジトリを使う
          path: flutter_inappwebview

再インストールしてちゃんと、編集後のレポジトリが読み込まれているか確認しましょう。Vscodeの場合は左側のDependenciesタブのdirect dependenciesの中にあるflutter_inappwebviewフォルダの中にあるpubspec.yamlがCmirai39の下のやつを読み込むように変わっていれば、ちゃんと読み込めています。

flutter_inappwebview_platform_interface: 
    git: 
      url: https://github.com/Cmirai39/flutter_inappwebview
      path: flutter_inappwebview_platform_interface
  flutter_inappwebview_android: 
    git: 
      url: https://github.com/Cmirai39/flutter_inappwebview
      path: flutter_inappwebview_android
  flutter_inappwebview_ios: 
    git: 
      url: https://github.com/Cmirai39/flutter_inappwebview
      path: flutter_inappwebview_ios
  flutter_inappwebview_macos:
    git: 
      url: https://github.com/Cmirai39/flutter_inappwebview
      path: flutter_inappwebview_macos
  flutter_inappwebview_web:
    git: 
      url: https://github.com/Cmirai39/flutter_inappwebview
      path: flutter_inappwebview_web
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?