The integration guide is https://docs.firework.tv/flutter-sdk/integration-guide-v2
- Get the Firework app ID from our business team.
- In
./FireworkFlutterSDKSample/ios/Runner/Info-Debug.plist
and./FireworkFlutterSDKSample/ios/Runner/Info.plist
, set the value ofFireworkVideoAppID
key to the Firework app ID. - In
./FireworkFlutterSDKSample/android/app/build.gradle
, set the value offw_appid_production
to the Firework app ID.
cd FireworkFlutterSDKSample
flutter pub get
pod install --project-directory=ios
- Get the channel id and playlist id for the shopping playlist.
- In
./FireworkFlutterSDKSample/lib/assets/feed.json
, use the channel id and playlist id to update the value ofdefaultShoppingPlaylist
Besides that, you could also configure shopping playlist info by clicking the setting icon on the right side of the shopping page navigation bar.
cd FireworkFlutterSDKSample
- open the iOS simulator and execute
flutter run
in terminal
cd FireworkFlutterSDKSample
- open the Android simulator and execute
flutter run
in terminal