Skip to content

Commit ab2fcda

Browse files
authored
Merge pull request #108 from Rumpelstilzli/maxi
Maxi
2 parents 1e31f20 + 4050972 commit ab2fcda

151 files changed

Lines changed: 5993 additions & 3358 deletions

File tree

Some content is hidden

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

.ash_history

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exit

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@
6060
**/ios/Flutter/App.framework
6161
**/ios/Flutter/Flutter.framework
6262
**/ios/Flutter/Generated.xcconfig
63+
**/ios/Flutter/flutter_export_environment.sh
6364
**/ios/Flutter/app.flx
6465
**/ios/Flutter/app.zip
6566
**/ios/Flutter/flutter_assets/
66-
**/ios/Flutter/flutter_export_environment.sh
6767
**/ios/ServiceDefinitions.json
6868
**/ios/Runner/GeneratedPluginRegistrant.*
6969
**/ios/Flutter/Flutter.podspec
@@ -79,3 +79,4 @@
7979
# VSCode
8080
/.vscode/
8181
**/.vscode/launch.json
82+
.vscode/launch.json
1 Byte
Binary file not shown.

.gradle/5.6.2/gc.properties

Whitespace-only changes.

.vscode/launch.json

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

android/app/build.gradle

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ if (flutterVersionName == null) {
2222
}
2323

2424
apply plugin: 'com.android.application'
25+
apply plugin: 'kotlin-android'
2526
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2627

2728
def keystoreProperties = new Properties()
@@ -31,23 +32,17 @@ if (keystorePropertiesFile.exists()) {
3132
}
3233

3334
android {
34-
compileSdkVersion 28
35-
36-
/*sourceSets {
35+
compileSdkVersion 30
36+
37+
sourceSets {
3738
main.java.srcDirs += 'src/main/kotlin'
38-
}*/
39-
40-
lintOptions {
41-
disable 'InvalidPackage'
4239
}
4340
defaultConfig {
44-
applicationId "ch.morea.morea"
45-
minSdkVersion 16
46-
targetSdkVersion 29
41+
applicationId "productions.morea.app"
42+
minSdkVersion 21
43+
targetSdkVersion 30
4744
versionCode flutterVersionCode.toInteger()
4845
versionName flutterVersionName
49-
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
50-
multiDexEnabled true
5146
}
5247
signingConfigs {
5348
release {
@@ -75,14 +70,11 @@ flutter {
7570
}
7671

7772
dependencies {
78-
testImplementation 'junit:junit:4.12'
73+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
74+
/*testImplementation 'junit:junit:4.12'
7975
androidTestImplementation 'androidx.test:runner:1.1.1'
8076
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
8177
82-
//implementation 'com.google.firebase:firebase-core:16.0.9'
83-
implementation 'androidx.multidex:multidex'
84-
//implementation 'com.google.firebase:firebase-auth:17.0.0'
85-
//implementation 'com.google.firebase:firebase-analytics:16.0.0'
78+
implementation 'androidx.multidex:multidex'*/
8679
}
8780
apply plugin: 'com.google.gms.google-services'
88-
//apply plugin: 'kotlin-android'

android/app/google-services.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
11
{
22
"project_info": {
3-
"project_number": "782312393773",
4-
"firebase_url": "https://pfadi-morea.firebaseio.com",
5-
"project_id": "pfadi-morea",
6-
"storage_bucket": "pfadi-morea.appspot.com"
3+
"project_number": "891584307361",
4+
"firebase_url": "https://morea-8f840.firebaseio.com",
5+
"project_id": "morea-8f840",
6+
"storage_bucket": "morea-8f840.appspot.com"
77
},
88
"client": [
99
{
1010
"client_info": {
11-
"mobilesdk_app_id": "1:782312393773:android:c10f471f8f449c59373ca4",
11+
"mobilesdk_app_id": "1:891584307361:android:7d2290de7384810ed010e0",
1212
"android_client_info": {
13-
"package_name": "ch.morea.morea"
13+
"package_name": "productions.morea.app"
1414
}
1515
},
1616
"oauth_client": [
1717
{
18-
"client_id": "782312393773-s4133bc25e5j1afsqon6d8rdpjs1pg5s.apps.googleusercontent.com",
18+
"client_id": "891584307361-pskmvh6daubc7jtl1boe1i2gcr4qc6r1.apps.googleusercontent.com",
1919
"client_type": 3
2020
}
2121
],
2222
"api_key": [
2323
{
24-
"current_key": "AIzaSyDHVCZ-RGqcuvKXQqtXZivnEcYLbFcNZPk"
24+
"current_key": "AIzaSyBXKlAMZwb8l2A863s0Odh_nAW4IHF2kso"
2525
}
2626
],
2727
"services": {
2828
"appinvite_service": {
2929
"other_platform_oauth_client": [
3030
{
31-
"client_id": "782312393773-s4133bc25e5j1afsqon6d8rdpjs1pg5s.apps.googleusercontent.com",
31+
"client_id": "891584307361-pskmvh6daubc7jtl1boe1i2gcr4qc6r1.apps.googleusercontent.com",
3232
"client_type": 3
3333
},
3434
{
35-
"client_id": "782312393773-j08q5fos63cl88m2iuaogr89else5uhi.apps.googleusercontent.com",
35+
"client_id": "891584307361-eg7gmf0975qnufrkgmsita1uh4jnf8ij.apps.googleusercontent.com",
3636
"client_type": 2,
3737
"ios_info": {
38-
"bundle_id": "ch.morea.app"
38+
"bundle_id": "productions.morea.app"
3939
}
4040
}
4141
]

android/app/src/debug/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="ch.morea.morea">
2+
package="productions.morea.app">
33
<!-- Flutter needs it to communicate with the running application
44
to allow setting breakpoints, to provide hot reload, etc.
55
-->

android/app/src/main/AndroidManifest.xml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="ch.morea.morea">
2+
package="productions.morea.app">
33

44
<!-- The INTERNET permission is required for development. Specifically,
55
flutter needs it to communicate with the running application
@@ -14,10 +14,11 @@
1414
additional functionality it is fine to subclass or reimplement
1515
FlutterApplication and put your custom class here. -->
1616
<application
17-
android:name="io.flutter.app.FlutterApplication"
18-
android:icon="@mipmap/ic_launcher"
19-
android:label="Pfadi Morea"
20-
android:roundIcon="@mipmap/ic_morea_launcher_round">
17+
android:icon="@mipmap/launcher_icon"
18+
android:label="Morea">
19+
<meta-data
20+
android:name="flutterEmbedding"
21+
android:value="2" />
2122
<meta-data
2223
android:name="com.google.firebase.messaging.default_notification_icon"
2324
android:resource="@drawable/ic_stat_ic_notification" />
@@ -27,10 +28,15 @@
2728
android:name="com.google.firebase.messaging.default_notification_color"
2829
android:resource="@color/colorCustomNotification" />
2930

31+
<meta-data
32+
android:name="com.google.android.geo.API_KEY"
33+
android:value="AIzaSyBFvIWmgunjzx7l8TytZg4vPQ7Tgg2k6V0" />
34+
3035
<activity
3136
android:name=".MainActivity"
3237
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density"
3338
android:hardwareAccelerated="true"
39+
android:screenOrientation="portrait"
3440
android:launchMode="singleTop"
3541
android:theme="@style/LaunchTheme"
3642
android:windowSoftInputMode="adjustResize">
@@ -50,4 +56,4 @@
5056
</activity>
5157
<activity android:name="com.apptreesoftware.barcodescan.BarcodeScannerActivity" />
5258
</application>
53-
</manifest>
59+
</manifest>

android/app/src/main/java/ch/morea/morea/MainActivity.java

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

0 commit comments

Comments
 (0)