amplitude / Amplitude-Flutter

Official Amplitude Flutter SDK
https://developers.amplitude.com/docs/flutter-setup
MIT License
116 stars 73 forks source link

Migration guider to 4 ver #199

Closed andim27 closed 1 month ago

andim27 commented 2 months ago

1) Please check/correct all what your write in migration on real project The migration guide does not show correct way to upgrade Example: Base_event not included (check Initialisation section)

2) ios: error: CDN: trunk Repo update failed - 6 error(s): CDN: trunk URL couldn't be downloaded: CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/f/4/d/Amplitude/8.19.3/Amplitude.podspec.json Response: Failure when receiving data

Mercy811 commented 2 months ago

Hi @andim27, BaseEvent is covered in logEvent() section. The Flutter 4.x should use Amplitude-Swift instead of Amplitude-iOS (which is used by old Flutter SDK <=v3.x). Please make sure you updated the dependency by following https://amplitude.com/docs/sdks/analytics/flutter/flutter-sdk-4-0-migration-guide#dependencies

Mercy811 commented 1 month ago

Close this issue as no updates. Feel free to reopen it!