AgoraIO-Community / Agora-Flutter-Quickstart

Quickstart guide for the Agora Flutter SDK(Android/iOS)
MIT License
509 stars 192 forks source link

Latest working version #230

Closed manjufy closed 3 years ago

manjufy commented 3 years ago

The existing solution did not work with the following spec

Flutter 2.2.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision d79295af24 (10 days ago) • 2021-06-11 08:56:01 -0700
Engine • revision 91c9fc8fe0
Tools • Dart 2.13.3

Hence the changes.

Also, the following commands could help to remove stale packages and install clean version of the dependanices

rm -rf /YourUserPath/.pub-cache
rm -rf ~/Library/Developer/Xcode/DerivedData
rm ios/Podfile
rm ios/Podfile.lock
rm pubspec.lock
rm -rf ios/Pods
rm -rf ios/Runner.xcworkspace
flutter clean
flutter build ios
flutter clean
flutter run
LichKing-2234 commented 3 years ago

Thanks for your PR!

LichKing-2234 commented 3 years ago

But the 4.0.1 version only supports flutter2. The best way is to refer to the example in the SDK repository. This quick start is out of date.

LichKing-2234 commented 3 years ago

I have reverted this merge.

manjufy commented 3 years ago

I have reverted this merge.

Oh, No worries. Sorry about that. I spent a lot of time making it work on my machine :-). All looks good. Thanks for the updates.