Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
197 commits
Select commit Hold shift + click to select a range
4c37ef3
Add compass_25 project
johnpryan Jun 23, 2025
1b98c96
moves samples to demos
ericwindmill Jun 24, 2025
dfbda48
Merge branch 'main' of https://github.com/flutter/demos into post-nex…
ericwindmill Jun 24, 2025
9025a69
Post next cleanup (#29)
ericwindmill Jun 24, 2025
f56558a
Add compass_25 project (#27)
ericwindmill Jun 24, 2025
8009d23
Update README.md
sethladd Jul 21, 2025
b7cba99
Bump form-data in /genkit_flutter_agentic_app/genkit_backend
dependabot[bot] Jul 22, 2025
263daee
Bump form-data in /genkit_flutter_agentic_app/genkit_backend (#30)
domesticmouse Jul 23, 2025
af0a114
add firebase ai live api plant identifier demo
khanhnwin Jul 30, 2025
2fbd600
rename project
khanhnwin Jul 30, 2025
2e8e928
clarify flutterfire configure instructions
khanhnwin Jul 30, 2025
a79355d
remove broken embed from README
khanhnwin Jul 30, 2025
e4b63d2
add permissions note in how to use instructions
khanhnwin Jul 30, 2025
e052b4b
add additional resources
khanhnwin Jul 30, 2025
53773aa
additional resources
khanhnwin Jul 30, 2025
c7582d3
Add Firebase AI Live API Plant Identifier Demo (#31)
khanhnwin Jul 31, 2025
fa53cbe
Update README.md
khanhnwin Jul 31, 2025
bf2a43a
Update README.md
khanhnwin Jul 31, 2025
2819159
Update README.md
khanhnwin Jul 31, 2025
737ae07
adds veggieseasons
ericwindmill Aug 18, 2025
9480146
adds veggieseasons (#32)
ericwindmill Aug 18, 2025
6c4fbda
Native interop demo calling JS code.
jwill Sep 10, 2025
9a8ed79
Removed generated files.
jwill Sep 10, 2025
f9fb854
rename dir to include native_interop
jwill Sep 10, 2025
4bd7f4c
leveldb native interop example
jwill Sep 10, 2025
2e59a45
Added graalvm native interop example calling dart->jvm->js (#34)
jwill Sep 10, 2025
7bd2104
leveldb native interop example (#35)
jwill Sep 10, 2025
2315673
firebase ai logic sample app
khanhnwin Sep 10, 2025
9fc28ec
Merge branch 'main' into firebase-ai-logic-showcase
khanhnwin Sep 10, 2025
c707f2e
remove windows build folder from vertex_ai_firebase_flutter_app
khanhnwin Sep 10, 2025
f90df72
Fix CI
domesticmouse Sep 11, 2025
ebc45b8
printf debugging
domesticmouse Sep 11, 2025
0e83cbc
Drop CI, it was only testing a single project anyway
domesticmouse Sep 11, 2025
9bb1be6
Also drop the workflow
domesticmouse Sep 11, 2025
ff5e892
Fix CI (#37)
domesticmouse Sep 11, 2025
81bbc90
add idx files for firebase ai logic showcase
HYACCCINT Sep 11, 2025
0e802ed
init dev nix
HYACCCINT Sep 11, 2025
d404d06
add firebase_options.dart
HYACCCINT Sep 11, 2025
ed78fcc
Merge branch 'main' into firebase-ai-logic-showcase
khanhnwin Sep 12, 2025
5e2e898
add idx files for firebase ai logic showcase (#38)
khanhnwin Sep 12, 2025
d515a8c
Firebase AI Logic Showcase (#36)
khanhnwin Sep 12, 2025
fa1a840
update extensions when opening in studio
HYACCCINT Sep 12, 2025
c57e424
update extensions when opening in studio (#40)
khanhnwin Sep 12, 2025
96d8de3
Firebase ai logic showcase (#41)
khanhnwin Sep 12, 2025
29a3f75
replace imagen with nano bana and add blaze warning
khanhnwin Sep 16, 2025
4f9cc3c
change blaze warning on individual demos
khanhnwin Sep 16, 2025
c33fcdf
text file
khanhnwin Sep 16, 2025
83d9484
remove warning property
khanhnwin Sep 16, 2025
3f332e5
Replace Imagen with Nano Banana & add a Blaze plan warning (#42)
khanhnwin Sep 16, 2025
f60ad86
blaze footer
khanhnwin Sep 16, 2025
21d6725
blaze footer (#43)
khanhnwin Sep 16, 2025
dda08ed
Add half second of silence on turn complete in Live API demo to fix G…
khanhnwin Oct 3, 2025
3139791
fix Gemini streaming audio output choppiness (#45)
khanhnwin Oct 3, 2025
58c67ee
making copy changes to the firebase_ai_logic_showcase demo. Does not …
apeynado Oct 6, 2025
dfaa675
fixed a bug with the blaze upgrade copy
apeynado Oct 6, 2025
0fd1bdd
making copy changes to the firebase_ai_logic_showcase demo. (#46)
khanhnwin Oct 6, 2025
d6c8189
Make Gemini Flash Image default selected model in chat demo
khanhnwin Oct 7, 2025
9577228
Add a dialog that tells users they can change model in chat demo
khanhnwin Oct 7, 2025
42502cf
Remove old Image generation demo and update chat tile to call out Nan…
khanhnwin Oct 7, 2025
03a244c
Make Blaze Warnings align center
khanhnwin Oct 7, 2025
968c783
Update more info modal with flutter/demos issues link
khanhnwin Oct 7, 2025
69746d0
Make Nano banana default chat demo (#47)
khanhnwin Oct 7, 2025
af01aa1
Update README to remove Imagen details and rename section
khanhnwin Oct 17, 2025
1fbfd1e
update hero image
khanhnwin Oct 17, 2025
81b8e09
Update HERO image + README to remove Imagen details and rename sectio…
khanhnwin Oct 17, 2025
8182542
updating the flutter AI playground's behavior and layout
apeynado Oct 24, 2025
7ddd102
making navigation and style changes to improve look and feel
apeynado Oct 24, 2025
3cf3f49
added the free trial promotion to the blaze warning banner
apeynado Oct 27, 2025
f800c75
add auto-reply
ericwindmill Oct 27, 2025
bae73ff
fix string in yaml
ericwindmill Oct 27, 2025
1266fa4
Add auto-reply (#55)
ericwindmill Oct 27, 2025
0a64cb8
updating the hero image to reflect the current UX
apeynado Oct 27, 2025
94a3ec9
actually making the UI responsive
apeynado Oct 27, 2025
fb32b52
make the banana bigger
apeynado Oct 27, 2025
e836a0e
updated hero image
apeynado Oct 27, 2025
6136796
removed the headers from each demo app
apeynado Oct 27, 2025
6c45eb4
adding vertical padding to a few demos
apeynado Oct 27, 2025
76f043f
update audio input sample rate
khanhnwin Oct 28, 2025
c9d47a7
putting back message input field in bottom navigation bar
khanhnwin Oct 28, 2025
4f00882
deleting unused imagen demo
khanhnwin Oct 28, 2025
b4f51bf
remove unused imports
khanhnwin Oct 28, 2025
5cd46db
remove padding from top of multimodal & live api demos
khanhnwin Oct 28, 2025
764d8c5
replace bottom nav bar with a hamburger menu + drawer
khanhnwin Oct 28, 2025
c6e9af4
Merge pull request #1 from apeynado/apeynado/main
apeynado Oct 28, 2025
94fec16
initial commit and successfully ran on the web
csells Nov 7, 2025
0db3aa8
removing web build folder; adding macos runner
csells Nov 7, 2025
747ec7b
tested on macos
csells Nov 7, 2025
c37023d
updated for mobile layout on step 5
csells Nov 7, 2025
40ab3c6
removing build folder from history
csells Nov 7, 2025
037ccdc
added iOS support
csells Nov 7, 2025
6ce10b8
add tool calling support with typed output aka something that gemini …
csells Nov 10, 2025
8f033aa
comments for clarify; verifying operation on all supported platforms
csells Nov 10, 2025
653f0d7
updated docs for dictionary API usage. tweak the usage frequency of t…
csells Nov 10, 2025
faa5053
readme
csells Nov 10, 2025
d593905
apply review feedback; refactor GeminiService to use a function call …
csells Nov 10, 2025
14261c4
Add copyright notices to all source files
csells Nov 10, 2025
961bc59
refactor the common UI and service code
cynthiajoan Nov 11, 2025
4f5bc1d
adding the crossword_companion sample (#61)
redbrogdon Nov 11, 2025
03ab41b
add a dialog to trigger the function call
cynthiajoan Nov 13, 2025
4d65d1a
refactor the repeat logic for different layout
cynthiajoan Nov 13, 2025
91272eb
more layout refactor
cynthiajoan Nov 13, 2025
0d933c3
update the initialize logic for live api demo
cynthiajoan Nov 13, 2025
15b3835
keep firebase_options.dart out of gitignore
cynthiajoan Nov 13, 2025
108e8f7
remove the start dialog for chat's function call
cynthiajoan Nov 13, 2025
5bd65ba
Bump js-yaml in /genkit_flutter_agentic_app/genkit_backend
dependabot[bot] Nov 16, 2025
fd5c0e3
remove stack and replace with individual demo
khanhnwin Nov 18, 2025
a960ac9
remove isSelected state from Live API Demo
khanhnwin Nov 18, 2025
d07d4a5
Merge pull request #2 from apeynado/apeynado/main
khanhnwin Nov 18, 2025
452c838
updating the flutter AI playground's behavior and layout (#52)
khanhnwin Nov 18, 2025
7373e98
remove reference to uninitialized var
khanhnwin Nov 18, 2025
ac9e11a
remove reference to uninitialized var (#65)
khanhnwin Nov 18, 2025
d0dbd76
Bump glob in /genkit_flutter_agentic_app/genkit_backend
dependabot[bot] Nov 19, 2025
4117e84
Bump node-forge in /genkit_flutter_agentic_app/genkit_backend
dependabot[bot] Nov 27, 2025
218ee9b
remove redundant function
csells Nov 30, 2025
1d22117
human in the loop via modal dialog
csells Dec 1, 2025
5834d8b
use mime type instead of hardcoding jpeg
csells Dec 1, 2025
88243a6
Fix unneccessary full rebuilds when resizing window
khanhnwin Dec 2, 2025
7524832
Add back Blaze Warning in Nano banana demo without using the redundan…
khanhnwin Dec 2, 2025
2d67629
add firebase ai logic logo and divider to navigation rail
khanhnwin Dec 2, 2025
1918517
Fix Firebase AI logic playground responsive & blaze warning (#69)
khanhnwin Dec 2, 2025
79940a9
refactor: use Gemini 2.5 Flash Native Audio for Live API demo
thatfiredev Dec 10, 2025
ac50b8d
refactor: use Gemini 2.5 Flash Native Audio for Live API demo (#71)
khanhnwin Dec 10, 2025
441b41f
updating the hero image with latest improvements
apeynado Dec 12, 2025
9e2d6ad
updating the hero image with latest improvements (#72)
khanhnwin Dec 12, 2025
822d75a
Update Live API Demo model: gemini-2.5-flash-native-audio-preview-12-…
khanhnwin Dec 13, 2025
4fb9bfa
Update Live API Demo model (#73)
khanhnwin Dec 13, 2025
d2c79cf
Bump @trpc/server and genkit-cli
dependabot[bot] Dec 16, 2025
18e93d5
Bump js-yaml from 4.1.0 to 4.1.1 in /genkit_flutter_agentic_app/genki…
domesticmouse Dec 18, 2025
e454965
Bump glob from 10.4.5 to 10.5.0 in /genkit_flutter_agentic_app/genkit…
domesticmouse Dec 18, 2025
c7ae28a
Bump node-forge from 1.3.1 to 1.3.2 in /genkit_flutter_agentic_app/ge…
domesticmouse Dec 18, 2025
98764be
Bump @trpc/server and genkit-cli in /genkit_flutter_agentic_app/genki…
domesticmouse Dec 18, 2025
991c9cb
Bump jws in /genkit_flutter_agentic_app/genkit_backend
dependabot[bot] Dec 18, 2025
d1a5f0f
Bump jws in /genkit_flutter_agentic_app/genkit_backend (#70)
domesticmouse Dec 18, 2025
68cb674
Bump hono in /genkit_flutter_agentic_app/genkit_backend
dependabot[bot] Jan 13, 2026
2005bb2
doc: replace pub run with dart run
sigurdm Jan 22, 2026
32ac65a
Bump hono from 4.11.1 to 4.11.4 in /genkit_flutter_agentic_app/genkit…
ericwindmill Jan 22, 2026
f277691
Replace `pub run` usage with `dart run` (#76)
parlough Jan 27, 2026
ba54f89
Bump @modelcontextprotocol/sdk
dependabot[bot] Feb 4, 2026
22d9483
Housekeeping of native interop demos
jwill Feb 11, 2026
5663c09
added Toast demo
jwill Feb 11, 2026
f243100
added demo launching an Android Activity from Dart with JNI
jwill Feb 13, 2026
ab1c8a8
Update build.gradle.kts
jwill Feb 17, 2026
e2cc6a9
baseline of notifications plugin
jwill Feb 20, 2026
5d1065f
Bump ajv in /genkit_flutter_agentic_app/genkit_backend
dependabot[bot] Feb 22, 2026
e9524ec
housekeeping
jwill Feb 23, 2026
2a04e8a
baseline of permissions plugin
jwill Feb 23, 2026
99be1a4
permissions plugin request flow done
jwill Feb 24, 2026
58822f1
Updated dart interop example to use jnigen dart api
jwill Feb 24, 2026
52c8ee3
Delete permissions_plugin_method_channel.dart
jwill Feb 25, 2026
450c326
Update main.dart
jwill Feb 25, 2026
1d4a55d
New native interop demos and refactoring of older examples. (#84)
jwill Feb 25, 2026
8f2f6ac
Update README.md
jwill Feb 25, 2026
fb21d94
Merge branch 'main' of https://github.com/flutter/demos
jwill Feb 25, 2026
1069683
Update to Nano Banana 2
khanhnwin Feb 26, 2026
588cd70
Update to Nano Banana 2 (#85)
khanhnwin Feb 26, 2026
4da0069
Bump minimatch in /genkit_flutter_agentic_app/genkit_backend
dependabot[bot] Mar 1, 2026
b7ea86b
Add .sh scripts to configure, run and deploy in CLI environments
kotl Mar 6, 2026
e2b9e79
Add .sh scripts to configure, run and deploy in CLI environments (#91)
khanhnwin Mar 10, 2026
6c17b44
Bump hono in /genkit_flutter_agentic_app/genkit_backend
dependabot[bot] Mar 11, 2026
6aaff38
Bump fast-xml-parser and @google-cloud/storage
dependabot[bot] Mar 19, 2026
0d2b51f
Bump minimatch from 9.0.5 to 9.0.9 in /genkit_flutter_agentic_app/gen…
ericwindmill Mar 23, 2026
9bc4548
Bump fast-xml-parser and @google-cloud/storage in /genkit_flutter_age…
ericwindmill Mar 23, 2026
dce0832
Bump hono from 4.11.4 to 4.12.7 in /genkit_flutter_agentic_app/genkit…
ericwindmill Mar 23, 2026
b5c9d4f
Merge branch 'main' into dependabot/npm_and_yarn/genkit_flutter_agent…
ericwindmill Mar 23, 2026
2df8744
Bump @modelcontextprotocol/sdk from 1.25.1 to 1.26.0 in /genkit_flutt…
ericwindmill Mar 23, 2026
f220b94
Bump ajv from 8.17.1 to 8.18.0 in /genkit_flutter_agentic_app/genkit_…
ericwindmill Mar 23, 2026
7ebcee2
Add dash_shop app
johnpryan Apr 14, 2026
5b8e38f
Add dash_shop app (#102)
ericwindmill Apr 14, 2026
5f52847
Move the DevTools companion app from https://github.com/elliette/devt…
elliette Apr 14, 2026
a60381d
Move `devtools_companion` app to `devexp_demos` (#104)
elliette Apr 14, 2026
6f0cffa
Bump protobufjs in /genkit_flutter_agentic_app/genkit_backend
dependabot[bot] May 13, 2026
9a72df8
Bump protobufjs from 7.4.0 to 7.5.8 in /genkit_flutter_agentic_app/ge…
ericwindmill May 13, 2026
2670286
Fix issue with thumbnailer dsependency
kotl Jun 2, 2026
d652edd
Update gemini 2.5 models with their 3.1 / 3.5 equivalents for firebas…
kotl Jun 2, 2026
5b17b86
checkpoint of genui workshop
jwill Jun 2, 2026
37c8a40
Update Gemini models, fix dependency library issue for firebase_ai_lo…
khanhnwin Jun 9, 2026
a8969e0
Comment out Live API demo until Appcheck is enforced by default
khanhnwin Jun 9, 2026
b2867ea
Comment out Live API demo until Appcheck is enforced by default (#123)
khanhnwin Jun 9, 2026
d2a9543
Baseline commit
jwill Jun 13, 2026
ca54ef7
Removed macos dir as it doesn't work with the permissions plugin I'm …
jwill Jun 13, 2026
b973d82
Basic UI for requesting permission and simple state storage.
jwill Jun 13, 2026
d7373af
feat: Add EventKit bindings generator script
jwill Jun 13, 2026
14b21a4
Update .gitignore
jwill Jun 13, 2026
a60bdf4
Refactor EventKit integration to use modern FFI Objective-C bindings
jwill Jun 13, 2026
7ef9154
feat: display date and time for calendar events
jwill Jun 13, 2026
df8f3c8
feat: add interactive dialog for creating calendar events
jwill Jun 13, 2026
abb55f1
Adds iOS Calendar Demo using ffigen (#125)
jwill Jun 13, 2026
4fd7b87
Update README for ios interop demo
jwill Jun 17, 2026
9e9cc21
adds snapshot of genlatte
craiglabenz Jun 18, 2026
e5770fa
adds license headers
craiglabenz Jun 18, 2026
133aacf
adds snapshot of genlatte (#127)
craiglabenz Jun 18, 2026
116b146
IO Connect updates
jwill Jun 22, 2026
8b4bc7f
Added a human-in-the-loop example (#68)
craiglabenz Jun 24, 2026
6d92f66
update genui_workshop for I/O Connect (#131)
thatfiredev Jun 25, 2026
664181c
Adding ADK skill
redbrogdon Jun 25, 2026
cd02e37
Adds an ADK-related skill for reference in an upcoming blog post. (#132)
redbrogdon Jun 26, 2026
0d1a1e6
Add terms and conditions agreement document
filforopen-source Jul 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 23 additions & 0 deletions .github/workflows/auto-reply.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Auto Reply to New PRs

on:
pull_request:
types: [opened]

jobs:
welcome:
runs-on: ubuntu-latest
permissions:
pull-requests: write # Grant write permission for creating comments
steps:
- name: Post Welcome Message
uses: actions/github-script@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: "Thank you for opening this Pull Request! This repository is for demo purposes only. It's not maintained and there is no CI or merge rules. If you have permissions, you're free to merge the PR without review. If you'd like a review, please explicitly request it."
})
38 changes: 0 additions & 38 deletions .github/workflows/main.yml

This file was deleted.

8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,11 @@ yarn.lock
!**/ios/**/default.pbxuser
!**/ios/**/default.perspectivev3
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
/graalvm_test/build
/graalvm_test_native_interop/build
crossword_companion/firebase.json
crossword_companion/lib/firebase_options.dart
native_interop_demos/ios_calendar_demo/lib/eventkit_bindings.dart
native_interop_demos/ios_calendar_demo/ios/Runner/eventkit_wrapper.m
native_interop_demos/ios_calendar_demo/ios/Runner/eventkit_wrapper.swift
/native_interop_demos/ios_calendar_demo/temp
45 changes: 45 additions & 0 deletions compass_25/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.build/
.buildlog/
.history
.svn/
.swiftpm/
migrate_working_dir/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/

# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.pub-cache/
.pub/
/build/

# Symbolication related
app.*.symbols

# Obfuscation related
app.*.map.json

# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release
30 changes: 30 additions & 0 deletions compass_25/.metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled and should not be manually edited.

version:
revision: "fce807530a201ddbd18d66be2b3295bbe209f389"
channel: "beta"

project_type: app

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: fce807530a201ddbd18d66be2b3295bbe209f389
base_revision: fce807530a201ddbd18d66be2b3295bbe209f389
- platform: ios
create_revision: fce807530a201ddbd18d66be2b3295bbe209f389
base_revision: fce807530a201ddbd18d66be2b3295bbe209f389

# User provided section

# List of Local paths (relative to this file) that should be
# ignored by the migrate tool.
#
# Files that are not part of the templates will be ignored by default.
unmanaged_files:
- 'lib/main.dart'
- 'ios/Runner.xcodeproj/project.pbxproj'
6 changes: 6 additions & 0 deletions compass_25/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# compass

A Flutter sample demonstrating adaptive Material and Cupertino widgets,
Firebase integration, and a custom brand-rich design.

![Screenshot](docs/walkthrough.gif)
4 changes: 4 additions & 0 deletions compass_25/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
include: package:flutter_lints/flutter.yaml
analyzer:
errors:
library_private_types_in_public_api: ignore
14 changes: 14 additions & 0 deletions compass_25/android/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
gradle-wrapper.jar
/.gradle
/captures/
/gradlew
/gradlew.bat
/local.properties
GeneratedPluginRegistrant.java
.cxx/

# Remember to never publicly share your keystore.
# See https://flutter.dev/to/reference-keystore
key.properties
**/*.keystore
**/*.jks
47 changes: 47 additions & 0 deletions compass_25/android/app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
plugins {
id("com.android.application")
// START: FlutterFire Configuration
id("com.google.gms.google-services")
// END: FlutterFire Configuration
id("kotlin-android")
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
id("dev.flutter.flutter-gradle-plugin")
}

android {
namespace = "com.example.cupertino_compass"
compileSdk = flutter.compileSdkVersion
ndkVersion = "27.0.12077973"

compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
}

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "com.example.cupertino_compass"
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = 23
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName
}

buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig = signingConfigs.getByName("debug")
}
}
}

flutter {
source = "../.."
}
29 changes: 29 additions & 0 deletions compass_25/android/app/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"project_info": {
"project_number": "1025902230344",
"project_id": "compass-ios-455022",
"storage_bucket": "compass-ios-455022.firebasestorage.app"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:1025902230344:android:5623a28d48302226b6117d",
"android_client_info": {
"package_name": "com.example.cupertino_compass"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyD5s-frlzmlN8xRuClgdZPJ00HKZVgBd7A"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": []
}
}
}
],
"configuration_version": "1"
}
7 changes: 7 additions & 0 deletions compass_25/android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
36 changes: 36 additions & 0 deletions compass_25/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:label="cupertino_compass"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop"
android:taskAffinity=""
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<meta-data
android:name="flutterEmbedding"
android:value="2" />
</application>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<queries>
<intent>
<action android:name="android.intent.action.PROCESS_TEXT"/>
<data android:mimeType="text/plain"/>
</intent>
</queries>
</manifest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package com.example.cupertino_compass

import io.flutter.embedding.android.FlutterActivity

class MainActivity : FlutterActivity()
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="?android:colorBackground" />

<!-- You can insert your own image assets here -->
<!-- <item>
<bitmap
android:gravity="center"
android:src="@mipmap/launch_image" />
</item> -->
</layer-list>
12 changes: 12 additions & 0 deletions compass_25/android/app/src/main/res/drawable/launch_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@android:color/white" />

<!-- You can insert your own image assets here -->
<!-- <item>
<bitmap
android:gravity="center"
android:src="@mipmap/launch_image" />
</item> -->
</layer-list>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions compass_25/android/app/src/main/res/values-night/styles.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
<!-- Show a splash screen on the activity. Automatically removed when
the Flutter engine draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Flutter UI initializes, as well as behind your Flutter UI while its
running.

This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
</resources>
18 changes: 18 additions & 0 deletions compass_25/android/app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
<style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
<!-- Show a splash screen on the activity. Automatically removed when
the Flutter engine draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Flutter UI initializes, as well as behind your Flutter UI while its
running.

This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
</resources>
7 changes: 7 additions & 0 deletions compass_25/android/app/src/profile/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
Loading