Skip to content

Commit 9b8e078

Browse files
Merge pull request #2 from certainlyWrong/dev
Dev
2 parents 54df1c2 + 78b33bd commit 9b8e078

59 files changed

Lines changed: 6257 additions & 879 deletions

Some content is hidden

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

README.md

Lines changed: 252 additions & 317 deletions
Large diffs are not rendered by default.

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ android {
3535
// declared in /android/app/build.gradle file of the Flutter project.
3636
// Replace it with a version number if this plugin requires a specific NDK version.
3737
// (e.g. ndkVersion "23.1.7779620")
38-
ndkVersion = android.ndkVersion
38+
ndkVersion = "27.0.12077973"
3939

4040
// Invoke the shared CMake build with the Android Gradle Plugin.
4141
externalNativeBuild {
@@ -59,7 +59,7 @@ android {
5959

6060
dependencies {
6161
// Isso baixa o AAR automaticamente do Maven Central
62-
implementation 'com.microsoft.onnxruntime:onnxruntime-android:1.24.1'
62+
// implementation 'com.microsoft.onnxruntime:onnxruntime:1.24.1'
6363
}
6464

6565
defaultConfig {
24.4 MB
Binary file not shown.
27.8 MB
Binary file not shown.

example/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
firebase.json
2+
13
# Miscellaneous
24
*.class
35
*.log

example/android/app/build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
plugins {
22
id("com.android.application")
3+
// START: FlutterFire Configuration
4+
id("com.google.gms.google-services")
5+
// END: FlutterFire Configuration
36
id("kotlin-android")
47
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
58
id("dev.flutter.flutter-gradle-plugin")
@@ -8,7 +11,7 @@ plugins {
811
android {
912
namespace = "com.example.flutter_ort_plugin_example"
1013
compileSdk = flutter.compileSdkVersion
11-
ndkVersion = flutter.ndkVersion
14+
ndkVersion = "27.0.12077973"
1215

1316
compileOptions {
1417
sourceCompatibility = JavaVersion.VERSION_17
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
{
2+
"project_info": {
3+
"project_number": "937764727202",
4+
"project_id": "famachappp",
5+
"storage_bucket": "famachappp.firebasestorage.app"
6+
},
7+
"client": [
8+
{
9+
"client_info": {
10+
"mobilesdk_app_id": "1:937764727202:android:efbb5e2f34b17b269e6afb",
11+
"android_client_info": {
12+
"package_name": "com.example.flutter_ort_plugin_example"
13+
}
14+
},
15+
"oauth_client": [
16+
{
17+
"client_id": "937764727202-jluoj660eq1uk63vi5u0gtm6s6gq9lhc.apps.googleusercontent.com",
18+
"client_type": 3
19+
}
20+
],
21+
"api_key": [
22+
{
23+
"current_key": "AIzaSyC-U3XdG9nu6rIPJglFeqipQec7JoOmb6E"
24+
}
25+
],
26+
"services": {
27+
"appinvite_service": {
28+
"other_platform_oauth_client": [
29+
{
30+
"client_id": "937764727202-jluoj660eq1uk63vi5u0gtm6s6gq9lhc.apps.googleusercontent.com",
31+
"client_type": 3
32+
},
33+
{
34+
"client_id": "937764727202-8evo2ln1qcbtq579obgm7c46j7muvvu3.apps.googleusercontent.com",
35+
"client_type": 2,
36+
"ios_info": {
37+
"bundle_id": "com.iagro.famachapp"
38+
}
39+
}
40+
]
41+
}
42+
}
43+
},
44+
{
45+
"client_info": {
46+
"mobilesdk_app_id": "1:937764727202:android:b0fc63614912bdbc9e6afb",
47+
"android_client_info": {
48+
"package_name": "com.iagro.famachapp"
49+
}
50+
},
51+
"oauth_client": [
52+
{
53+
"client_id": "937764727202-jluoj660eq1uk63vi5u0gtm6s6gq9lhc.apps.googleusercontent.com",
54+
"client_type": 3
55+
}
56+
],
57+
"api_key": [
58+
{
59+
"current_key": "AIzaSyC-U3XdG9nu6rIPJglFeqipQec7JoOmb6E"
60+
}
61+
],
62+
"services": {
63+
"appinvite_service": {
64+
"other_platform_oauth_client": [
65+
{
66+
"client_id": "937764727202-jluoj660eq1uk63vi5u0gtm6s6gq9lhc.apps.googleusercontent.com",
67+
"client_type": 3
68+
},
69+
{
70+
"client_id": "937764727202-8evo2ln1qcbtq579obgm7c46j7muvvu3.apps.googleusercontent.com",
71+
"client_type": 2,
72+
"ios_info": {
73+
"bundle_id": "com.iagro.famachapp"
74+
}
75+
}
76+
]
77+
}
78+
}
79+
}
80+
],
81+
"configuration_version": "1"
82+
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2+
<uses-permission android:name="android.permission.CAMERA"/>
23
<application
34
android:label="flutter_ort_plugin_example"
45
android:name="${applicationName}"

example/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-all.zip

example/android/settings.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ pluginManagement {
2020
plugins {
2121
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
2222
id("com.android.application") version "8.11.1" apply false
23+
// START: FlutterFire Configuration
24+
id("com.google.gms.google-services") version("4.3.15") apply false
25+
// END: FlutterFire Configuration
2326
id("org.jetbrains.kotlin.android") version "2.2.20" apply false
2427
}
2528

0 commit comments

Comments
 (0)