Amplitude-Flutter icon indicating copy to clipboard operation
Amplitude-Flutter copied to clipboard

Wrong minimum deployment target in docs for sdk v. 4

Open ospaarmann opened this issue 1 year ago • 2 comments

Expected Behavior

Following the installation or migration guide in the official docs should allow me to install the Amplitude Flutter SDK 4.0

Current Behavior

  • The docs specify iOS 10.0 as the minimum deployment target.
  • The amplitude podspecs specify iOS 13 as the minimum deployment target.
  • On pod install I received this error:
🤷 ❯ pod install
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "amplitude_flutter":
  In Podfile:
    amplitude_flutter (from `.symlinks/plugins/amplitude_flutter/ios`)

Specs satisfying the `amplitude_flutter (from `.symlinks/plugins/amplitude_flutter/ios`)` dependency were found, but they required a higher minimum deployment target.

Possible Solution

Update the docs to include

Add platform :ios, '13.0' to your Podfile.

Steps to Reproduce

  1. Follow the steps in the installation guide
  2. Set platform :ios, '10.0' in the podfile
  3. Run pod install
  4. No further steps

Environment

  • SDK Version: 4.0.0-beta.5
  • Flutter Version: 3.22.2

ospaarmann avatar Jul 08 '24 13:07 ospaarmann

Thank you for creating this issue @ospaarmann . YOu're right, the min version should be 13 and not 10. We'll update the docs soon.

izaaz avatar Jul 08 '24 15:07 izaaz

Hi @ospaarmann, both the Flutter 4.x installation and migration docs are updated.

Mercy811 avatar Jul 25 '24 00:07 Mercy811