Stock Master Tracker docs
v2.0.0
Get help
● Start · Before you begin

Requirements
tools, versions, accounts.

What you need on macOS, Windows or Linux, which versions the code expects, and which services cost money.

01Tools and versions

ToolVersionWhere the code says so
Flutter (stable)3.41 or newer. Checked here with 3.41.4app/pubspec.yaml (flutter: ">=3.41.0")
Dart^3.7 (comes with Flutter)app/pubspec.yaml (sdk: ^3.7.0)
Node.js and npmThe current LTS release, and at least Node 22. The console runs on Node 22 or newer; the Cloud Functions runtime is set to nodejs22. Checked here with Node 22.22.2admin/package.json (engines >=22), firebase/functions/package.json (engines 22), firebase/firebase.json (runtime)
Firebase CLIfirebase-tools 14 or newer; npm i -g firebase-toolsREADME.md
FlutterFire CLIFor flutterfire configure; dart pub global activate flutterfire_cliapp/lib/firebase_options.dart
AndroidAndroid Studio with Android SDK 36 and JDK 17 or newer. minSdk 24 (Android 7.0), compileSdk 36, targetSdk 36app/android/app/build.gradle.kts
iOSiOS 15.0 or newer (app and widget extension). A Mac with Xcode 16 or newer (App Store uploads need the Xcode version Apple currently requires) and CocoaPods 1.16 or newerapp/ios/Podfile (platform :ios, '15.0')
Java21 or newer, only for the Firebase emulators and the console's emulator testREADME.md
DockerOptional, to run the console in a containeradmin/Dockerfile
Newer Node versions

The console and the functions were built and run with Node 22. If your computer has a newer LTS, the console and the local API should run on it, but this was not tested here. The deployed Cloud Functions use the runtime named in firebase/firebase.json; change it only to a runtime Firebase lists as supported.

02macOS, Windows and Linux

macOSWindows 10 or 11Linux (64-bit)
Example build, web, local API, consoleYesYesYes
Android appYesYesYes
iOS app and widgetYes: needs XcodeNo: Apple only allows iOS builds on a MacNo
Deploy to FirebaseYesYesYes

Install Flutter from the official guide for your system (flutter.dev, "Install"), then run flutter doctor and fix what it lists for the platforms you build. Node.js comes from nodejs.org (the LTS installer) on every system.

  • macOS: Xcode from the App Store, then sudo gem install cocoapods or brew install cocoapods. In a terminal that is not set to UTF-8, CocoaPods can fail; see Troubleshooting.
  • Windows: use PowerShell. Commands with export become $env:NAME="value". Shell scripts such as tool/check_ad_ids.sh need Git Bash or WSL. Keep the project path short and without spaces.
  • Linux: install the packages flutter doctor asks for (for example clang, cmake and ninja-build are only needed for Linux desktop builds, not for Android or web).

Check what you have:

flutter --version
flutter doctor
node --version
firebase --version
java -version