A new Flutter project.
Setup flutter sdk: https://docs.flutter.dev/get-started/install
flutter pub get- cd ios
pod install- Open iOS Simulator or Android Studio simulator
flutter run
Command to generate files:
dart run build_runner build --delete-conflicting-outputs/bin/zsh ./localization_update.sh<- Command to upload new translation from https://localise.biz/ or you can go to the file and run the script right from there
- Get exported build from Unity:
UnityLibrary - Place the
/UnityLibraryin/ios/UnityIntegration - Open
Runner.xcworskspacein XCode - In
Unity-iPhone/Data, tickUnityFramework
- Select Runner, go to
General -> Frameworks, Libraries, and Embedded Contentand addUnityFramework.
Also go to Unity-iPhone/Frameworks and drag all the Frameworks into Runner
- Trigger Play on an iPhone device only, no simulators.
- Get exported build from Unity:
UnityLibrary - Place the
/UnityLibraryin/android/UnityIntegration - Open
build.gradlefile on/android/UnityIntegration/UnityLibrary - Modify the dependencies project path
implementation project('AgoraRtcEngineKit.plugin'), to thisimplementation project(':AgoraRtcEngineKit.plugin')
- Compile and run
In order to generate a signed bundle, you'll need key.properties and upload-keystore.jks in the /android directory.
Ask the team for these files.
The command to generate the bundle is:
flutter build appbundle --release --dart-define=APP_ENV=prod
The important part being --dart-define=APP_ENV=prod, ensuring the bundle will run in production mode.
This flag can also be used with flutter run.


