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.plistand./FireworkFlutterSDKSample/ios/Runner/Info.plist, set the value ofFireworkVideoAppIDkey to the Firework app ID. - In
./FireworkFlutterSDKSample/android/app/build.gradle, set the value offw_appid_productionto the Firework app ID.
cd FireworkFlutterSDKSampleflutter pub getpod 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 ofdefaultShoppingPlaylistBesides 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 runin terminal
cd FireworkFlutterSDKSample- open the Android simulator and execute
flutter runin terminal