Skip to content

Commit 66ab725

Browse files
authored
Remove io sample (#2490)
This sample has been moved to my personal Github, because we shouldn't maintain samples that are tied to events. - Moved sample to personal repo - Removed sample from this repo - Updated README here and the link to this repo in the YouTube video
1 parent 36b4e6e commit 66ab725

File tree

171 files changed

+10
-8595
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+10
-8595
lines changed

ai_recipe_generation/.gitignore

Lines changed: 0 additions & 45 deletions
This file was deleted.

ai_recipe_generation/.metadata

Lines changed: 0 additions & 45 deletions
This file was deleted.

ai_recipe_generation/README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
1-
This is a demo app created for the Google I/O talk "Gemini API and Flutter: Practical, AI-driven apps with Google AI tools"
1+
# Sample retired
22

3-
Check out the [the prompt we used on Google AI Studio](https://aistudio.google.com/app/prompts/1RsTAt6_N8BPhXbrrd8gSJcdeuYV834kf).
3+
The `ai_recipe_generation` sample has been retired.
44

5-
## Running the app
5+
The sample was written for an event (Google IO 2024). Per our policies,
6+
we don't maintain samples that are tied to events.
67

7-
Before running the app:
8-
* Get an API key from [ai.google.dev](ai.google.dev).
9-
* Create a Firebase project, and install the Flutter Firebase CLI, and configure the platforms that you want to run this app on. You can find instructions by following [steps 2-4 of the Get to know Firebase for Flutter](https://firebase.google.com/codelabs/firebase-get-to-know-flutter?hl=en#2) codelab.
8+
This sample has been copied to [another repository](https://github.com/ericwindmill/gemini_recipe_generation). It will not be updated to reflect changes to Gemini.
109

11-
Then, pass the API key in with dart define when running the app:
12-
13-
```bash
14-
flutter run --dart-define=API_KEY=your_api_key
15-
```
10+
## Other Gemini resources
1611

12+
The following resources can assist you in integrating Gemini with Flutter:
1713

14+
* [gemini_tasks sample](https://github.com/flutter/samples/tree/main/gemini_tasks) is a Gemini sample in this repository.
15+
* [google_generative_ai package](https://pub.dev/packages/google_generative_ai) is the package that Flutter apps use to integrate with gemini, and it has additional samples.
16+
* The [google-gemini github](https://github.com/google-gemini) has additional Flutter samples.

ai_recipe_generation/analysis_options.yaml

Lines changed: 0 additions & 1 deletion
This file was deleted.

ai_recipe_generation/android/.gitignore

Lines changed: 0 additions & 13 deletions
This file was deleted.

ai_recipe_generation/android/app/build.gradle

Lines changed: 0 additions & 67 deletions
This file was deleted.

ai_recipe_generation/android/app/google-services.json

Lines changed: 0 additions & 29 deletions
This file was deleted.

ai_recipe_generation/android/app/src/debug/AndroidManifest.xml

Lines changed: 0 additions & 7 deletions
This file was deleted.

ai_recipe_generation/android/app/src/main/AndroidManifest.xml

Lines changed: 0 additions & 33 deletions
This file was deleted.

ai_recipe_generation/android/app/src/main/kotlin/com/example/gemini_io_talk/MainActivity.kt

Lines changed: 0 additions & 6 deletions
This file was deleted.

ai_recipe_generation/android/app/src/main/res/drawable-v21/launch_background.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.

ai_recipe_generation/android/app/src/main/res/drawable/launch_background.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

ai_recipe_generation/android/app/src/main/res/values-night/styles.xml

Lines changed: 0 additions & 18 deletions
This file was deleted.

ai_recipe_generation/android/app/src/main/res/values/styles.xml

Lines changed: 0 additions & 18 deletions
This file was deleted.

ai_recipe_generation/android/app/src/profile/AndroidManifest.xml

Lines changed: 0 additions & 7 deletions
This file was deleted.

ai_recipe_generation/android/build.gradle

Lines changed: 0 additions & 30 deletions
This file was deleted.

ai_recipe_generation/android/gradle.properties

Lines changed: 0 additions & 3 deletions
This file was deleted.

ai_recipe_generation/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)