This is a flutter wrapper around Blockly Games for use on android or ios devices.
- Flutter
- [Dart](https://dart.dev/get-dart
Android Development Follow docs at: https://docs.flutter.dev/get-started/install/windows#install-android-studio
If Android Studio already installed then setup wizard will not run, and instead should manually install required components from sdk manager (e.g. Android SDK, Android SDK Command-line Tools, Android SDK Build-Tools)
May also want to install flutter plugin from File -> Settings -> Plugins
https://plugins.jetbrains.com/plugin/9212-flutter
- Clone Repo
git clone --depth 1 https://github.com/supportingami/sami-programming
- Install dependencies
yarn install
flutter run
- Node
- Yarn
-
Download the required assets from https://github.com/google/blockly-games/wiki/Offline
-
Copy assets to
assets/blockly-games
(overwrite existing files) -
Generate files list
yarn install
node scripts/generateAssetList.js
Using android studio run the debug build, or create a signed release for the play store
NOTE - for running the app you can open android studio on main folder
If trying to edit gradle build or image assets easier to open within child android
folder
Versioning should be handled by updating the pubspec.yaml file
version: 1.0.2+2
Where version name is given by 3-digit number, and build number by what follows +
If this does not work, manually add to android/local.properties
flutter.versionName=1.0.2
flutter.versionCode=2