pubspec.yaml file in your Flutter project. Note that the path parameter is the path where the SDK file is decompressed to.dependencies:flutter:sdk: fluttergme:path: ../
pubspec.yaml file, run the flutter pub get command on the CLI to make the GME plugin in the project take effect (if the Flutter plugin is configured in your IDE, this command will be executed automatically once the file is saved).flutter pub get
pod install.
flutter permission-handler, you need to modify the project as follows to use the SDK for Android 31 or later (skip this step if the SDK is already in the project):
android/app/src/AndroidManifest.xml (skip this step if such permissions have been added):<uses-permission android:name="android.permission.RECORD_AUDIO" /><uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /><uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /><uses-permission android:name="android.permission.INTERNET" /><uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
Feedback