If you modify AndroidManifest.xml or Plist.info or something, you need to hard reboot the emulator; run flutter clean && flutter pub get; and then rebuild. There's tons of cache in tons of different places that gets replaced in tons of different ways.
This client uses Flutter to support frontends on iOS, Android, and web.
https://docs.flutter.dev/get-started/install/macos
flutter doctor
flutter create .
This lets us attach to Firebase. First, make sure you've got a non-system Ruby and cocoapods installed. Next, run the following, reproduced here verbatim from the fireflutter docs:
# Install the CLI if not already done so
dart pub global activate flutterfire_cli
# Run the `configure` command, select a Firebase project and platforms
flutterfire configure
This will generate lib/firebase_options.dart
.
The flutterfire configure
will barf unless you install xcodeproj beforehand:
gem install xcodeproj cocoapods
Don't use system Ruby, that's a no-no.
brew install ruby
- Update the path env var to have
/usr/local/opt/ruby/bin
- Update the path env var to have
(gem environment gemdir)/bin
- https://mac.install.guide/faq/do-not-use-mac-system-ruby/index.html
- https://mac.install.guide/ruby/13.html
- https://codelabs.developers.google.com/codelabs/flutter-codelab-first?continue=https%3A%2F%2Fdevelopers.google.com%2Flearn%2Fpathways%2Fintro-to-flutter%23codelab-https%3A%2F%2Fcodelabs.developers.google.com%2Fcodelabs%2Fflutter-codelab-first#2
- https://firebase.flutter.dev/docs/overview/#initialization
open -a Simulator
flutter run
Configure via command pallete -> launch.json in vscode.
- MPROTOCOL default https
- MSERVER default dev.chatmoshi.com
- MPORT default 443
If in debug (non-release) build mode,
- MREMOTEAUTH default false i.e. use emulator
- MREMOTEFIRESTORE default false i.e. use emulator
- Enable virtual microphone uses host audio input in the 'Microphone' submenu of the '...' expandable in the emulator toolbar. Otherwise the emulator mic will pick up only silence (static).
In vim,
:FlutterRun -d chrome
https://medium.com/flutter-community/flutter-code-organization-revised-b09ad5cef7f6
Add the tag to ios/Runner/Info.plist
.
Add the PERMISSION_
declaration in ios/Podfile
.
Clear the Xcode build files so the new permissions get propagated:
flutter clean
SKU: 1BB43674-A8CF-40DF-8EF0-2732C514EBD4
- https://firebase.google.com/docs/crashlytics/get-started?platform=flutter
- https://pub.dev/documentation/firebase_crashlytics/latest/
- git branch name is
feature/crashlytics
firebase crashlytics:symbols:upload \
--app=1:638882664430:android:ecae935915cf5f24ea88ff \
PATH/TO/symbols