Skip to content

Commit 161977a

Browse files
authored
Merge pull request #42 from simonoppowa/develop
Develop
2 parents 16b9ed0 + 4e9cccf commit 161977a

File tree

65 files changed

+374
-407
lines changed

Some content is hidden

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

65 files changed

+374
-407
lines changed

.github/workflows/default_workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup Flutter
2828
uses: subosito/flutter-action@v2
2929
with:
30-
flutter-version: '3.x'
30+
flutter-version: '3.19'
3131
channel: 'stable'
3232
cache: true
3333

android/app/build.gradle

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
plugins {
2+
id "com.android.application"
3+
id "kotlin-android"
4+
id "dev.flutter.flutter-gradle-plugin"
5+
}
6+
17
def localProperties = new Properties()
28
def localPropertiesFile = rootProject.file('local.properties')
39
if (localPropertiesFile.exists()) {
@@ -12,11 +18,6 @@ if (keystorePropertiesFile.exists()) {
1218
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
1319
}
1420

15-
def flutterRoot = localProperties.getProperty('flutter.sdk')
16-
if (flutterRoot == null) {
17-
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
18-
}
19-
2021
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
2122
if (flutterVersionCode == null) {
2223
flutterVersionCode = '1'
@@ -27,12 +28,8 @@ if (flutterVersionName == null) {
2728
flutterVersionName = '1.0'
2829
}
2930

30-
apply plugin: 'com.android.application'
31-
apply plugin: 'kotlin-android'
32-
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
33-
3431
android {
35-
compileSdkVersion 33
32+
compileSdkVersion 34
3633
ndkVersion flutter.ndkVersion
3734

3835
compileOptions {
@@ -51,7 +48,7 @@ android {
5148
defaultConfig {
5249
applicationId "com.opennutritracker.ont.opennutritracker"
5350
minSdkVersion 21
54-
targetSdkVersion 33
51+
targetSdkVersion 34
5552
versionCode flutterVersionCode.toInteger()
5653
versionName flutterVersionName
5754
}
@@ -77,5 +74,5 @@ flutter {
7774
}
7875

7976
dependencies {
80-
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
77+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.22"
8178
}

android/build.gradle

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
buildscript {
2-
ext.kotlin_version = '1.8.22'
3-
repositories {
4-
google()
5-
mavenCentral()
6-
}
7-
8-
dependencies {
9-
classpath 'com.android.tools.build:gradle:7.1.2'
10-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11-
}
12-
}
13-
141
allprojects {
152
repositories {
163
google()

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-7.4-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-all.zip

android/settings.gradle

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,26 @@
1-
include ':app'
1+
pluginManagement {
2+
def flutterSdkPath = {
3+
def properties = new Properties()
4+
file("local.properties").withInputStream { properties.load(it) }
5+
def flutterSdkPath = properties.getProperty("flutter.sdk")
6+
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
7+
return flutterSdkPath
8+
}
9+
settings.ext.flutterSdkPath = flutterSdkPath()
210

3-
def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
4-
def properties = new Properties()
11+
includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle")
512

6-
assert localPropertiesFile.exists()
7-
localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
13+
repositories {
14+
google()
15+
mavenCentral()
16+
gradlePluginPortal()
17+
}
18+
}
819

9-
def flutterSdkPath = properties.getProperty("flutter.sdk")
10-
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
11-
apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
20+
plugins {
21+
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
22+
id "com.android.application" version "7.1.2" apply false
23+
id "org.jetbrains.kotlin.android" version "1.8.22" apply false
24+
}
25+
26+
include ":app"

ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>11.0</string>
24+
<string>12.0</string>
2525
</dict>
2626
</plist>

ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
# platform :ios, '11.0'
2+
platform :ios, '14.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

ios/Podfile.lock

Lines changed: 33 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ PODS:
66
- Flutter
77
- flutter_secure_storage (6.0.0):
88
- Flutter
9-
- FMDB (2.7.5):
10-
- FMDB/standard (= 2.7.5)
11-
- FMDB/standard (2.7.5)
12-
- GoogleDataTransport (9.2.5):
9+
- GoogleDataTransport (9.3.0):
1310
- GoogleUtilities/Environment (~> 7.7)
1411
- nanopb (< 2.30910.0, >= 2.30908.0)
1512
- PromisesObjC (< 3.0, >= 1.2)
@@ -30,11 +27,11 @@ PODS:
3027
- GoogleToolboxForMac/Defines (= 2.3.2)
3128
- "GoogleToolboxForMac/NSString+URLArguments (= 2.3.2)"
3229
- "GoogleToolboxForMac/NSString+URLArguments (2.3.2)"
33-
- GoogleUtilities/Environment (7.11.5):
30+
- GoogleUtilities/Environment (7.12.0):
3431
- PromisesObjC (< 3.0, >= 1.2)
35-
- GoogleUtilities/Logger (7.11.5):
32+
- GoogleUtilities/Logger (7.12.0):
3633
- GoogleUtilities/Environment
37-
- GoogleUtilities/UserDefaults (7.11.5):
34+
- GoogleUtilities/UserDefaults (7.12.0):
3835
- GoogleUtilities/Logger
3936
- GoogleUtilitiesComponents (1.1.0):
4037
- GoogleUtilities/Logger
@@ -57,35 +54,35 @@ PODS:
5754
- GTMSessionFetcher/Core (< 3.0, >= 1.1)
5855
- MLImage (= 1.0.0-beta4)
5956
- MLKitCommon (~> 9.0)
60-
- mobile_scanner (3.2.0):
57+
- mobile_scanner (3.5.6):
6158
- Flutter
6259
- GoogleMLKit/BarcodeScanning (~> 4.0.0)
63-
- nanopb (2.30909.0):
64-
- nanopb/decode (= 2.30909.0)
65-
- nanopb/encode (= 2.30909.0)
66-
- nanopb/decode (2.30909.0)
67-
- nanopb/encode (2.30909.0)
60+
- nanopb (2.30909.1):
61+
- nanopb/decode (= 2.30909.1)
62+
- nanopb/encode (= 2.30909.1)
63+
- nanopb/decode (2.30909.1)
64+
- nanopb/encode (2.30909.1)
6865
- package_info_plus (0.4.5):
6966
- Flutter
7067
- path_provider_foundation (0.0.1):
7168
- Flutter
7269
- FlutterMacOS
7370
- PromisesObjC (2.3.1)
74-
- Sentry/HybridSDK (8.9.1):
75-
- SentryPrivate (= 8.9.1)
71+
- Sentry/HybridSDK (8.20.0):
72+
- SentryPrivate (= 8.20.0)
7673
- sentry_flutter (0.0.1):
7774
- Flutter
7875
- FlutterMacOS
79-
- Sentry/HybridSDK (= 8.9.1)
80-
- SentryPrivate (8.9.1)
76+
- Sentry/HybridSDK (= 8.20.0)
77+
- SentryPrivate (8.20.0)
8178
- shared_preferences_foundation (0.0.1):
8279
- Flutter
8380
- FlutterMacOS
8481
- sign_in_with_apple (0.0.1):
8582
- Flutter
8683
- sqflite (0.0.3):
8784
- Flutter
88-
- FMDB (>= 2.7.5)
85+
- FlutterMacOS
8986
- url_launcher_ios (0.0.1):
9087
- Flutter
9188
- webview_flutter_wkwebview (0.0.1):
@@ -102,13 +99,12 @@ DEPENDENCIES:
10299
- sentry_flutter (from `.symlinks/plugins/sentry_flutter/ios`)
103100
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
104101
- sign_in_with_apple (from `.symlinks/plugins/sign_in_with_apple/ios`)
105-
- sqflite (from `.symlinks/plugins/sqflite/ios`)
102+
- sqflite (from `.symlinks/plugins/sqflite/darwin`)
106103
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
107104
- webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/ios`)
108105

109106
SPEC REPOS:
110107
trunk:
111-
- FMDB
112108
- GoogleDataTransport
113109
- GoogleMLKit
114110
- GoogleToolboxForMac
@@ -146,42 +142,41 @@ EXTERNAL SOURCES:
146142
sign_in_with_apple:
147143
:path: ".symlinks/plugins/sign_in_with_apple/ios"
148144
sqflite:
149-
:path: ".symlinks/plugins/sqflite/ios"
145+
:path: ".symlinks/plugins/sqflite/darwin"
150146
url_launcher_ios:
151147
:path: ".symlinks/plugins/url_launcher_ios/ios"
152148
webview_flutter_wkwebview:
153149
:path: ".symlinks/plugins/webview_flutter_wkwebview/ios"
154150

155151
SPEC CHECKSUMS:
156152
app_links: 5ef33d0d295a89d9d16bb81b0e3b0d5f70d6c875
157-
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
153+
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
158154
flutter_keyboard_visibility: 0339d06371254c3eb25eeb90ba8d17dca8f9c069
159155
flutter_secure_storage: 23fc622d89d073675f2eaa109381aefbcf5a49be
160-
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
161-
GoogleDataTransport: 54dee9d48d14580407f8f5fbf2f496e92437a2f2
156+
GoogleDataTransport: 57c22343ab29bc686febbf7cbb13bad167c2d8fe
162157
GoogleMLKit: 2bd0dc6253c4d4f227aad460f69215a504b2980e
163158
GoogleToolboxForMac: 8bef7c7c5cf7291c687cf5354f39f9db6399ad34
164-
GoogleUtilities: 13e2c67ede716b8741c7989e26893d151b2b2084
159+
GoogleUtilities: 0759d1a57ebb953965c2dfe0ba4c82e95ccc2e34
165160
GoogleUtilitiesComponents: 679b2c881db3b615a2777504623df6122dd20afe
166161
GTMSessionFetcher: 3a63d75eecd6aa32c2fc79f578064e1214dfdec2
167162
MLImage: 7bb7c4264164ade9bf64f679b40fb29c8f33ee9b
168163
MLKitBarcodeScanning: 04e264482c5f3810cb89ebc134ef6b61e67db505
169164
MLKitCommon: c1b791c3e667091918d91bda4bba69a91011e390
170165
MLKitVision: 8baa5f46ee3352614169b85250574fde38c36f49
171-
mobile_scanner: 47056db0c04027ea5f41a716385542da28574662
172-
nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431
173-
package_info_plus: fd030dabf36271f146f1f3beacd48f564b0f17f7
174-
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
166+
mobile_scanner: 38dcd8a49d7d485f632b7de65e4900010187aef2
167+
nanopb: d4d75c12cd1316f4a64e3c6963f879ecd4b5e0d5
168+
package_info_plus: 115f4ad11e0698c8c1c5d8a689390df880f47e85
169+
path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147c
175170
PromisesObjC: c50d2056b5253dadbd6c2bea79b0674bd5a52fa4
176-
Sentry: e3203780941722a1fcfee99e351de14244c7f806
177-
sentry_flutter: 8f0ffd53088e6a4d50c095852c5cad9e4405025c
178-
SentryPrivate: 5e3683390f66611fc7c6215e27645873adb55d13
179-
shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126
171+
Sentry: a8d7b373b9f9868442b02a0c425192f693103cbf
172+
sentry_flutter: 03e7660857a8cdb236e71456a7e8447b65c8a788
173+
SentryPrivate: 006b24af16828441f70e2ab6adf241bd0a8ad130
174+
shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695
180175
sign_in_with_apple: f3bf75217ea4c2c8b91823f225d70230119b8440
181-
sqflite: 31f7eba61e3074736dff8807a9b41581e4f7f15a
182-
url_launcher_ios: 08a3dfac5fb39e8759aeb0abbd5d9480f30fc8b4
183-
webview_flutter_wkwebview: 2e2d318f21a5e036e2c3f26171342e95908bd60a
176+
sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eec
177+
url_launcher_ios: bbd758c6e7f9fd7b5b1d4cde34d2b95fcce5e812
178+
webview_flutter_wkwebview: be0f0d33777f1bfd0c9fdcb594786704dbf65f36
184179

185-
PODFILE CHECKSUM: aa3b1d9cb94e8055dc6468141196cf9e4c8e33df
180+
PODFILE CHECKSUM: e60e17f8bfffff789408fce3f968c37c5c63400e
186181

187-
COCOAPODS: 1.12.1
182+
COCOAPODS: 1.15.2

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
97C146E61CF9000F007C117D /* Project object */ = {
156156
isa = PBXProject;
157157
attributes = {
158-
LastUpgradeCheck = 1300;
158+
LastUpgradeCheck = 1510;
159159
ORGANIZATIONNAME = "";
160160
TargetAttributes = {
161161
97C146ED1CF9000F007C117D = {
@@ -342,7 +342,7 @@
342342
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
343343
GCC_WARN_UNUSED_FUNCTION = YES;
344344
GCC_WARN_UNUSED_VARIABLE = YES;
345-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
345+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
346346
MTL_ENABLE_DEBUG_INFO = NO;
347347
SDKROOT = iphoneos;
348348
SUPPORTED_PLATFORMS = iphoneos;
@@ -428,7 +428,7 @@
428428
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
429429
GCC_WARN_UNUSED_FUNCTION = YES;
430430
GCC_WARN_UNUSED_VARIABLE = YES;
431-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
431+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
432432
MTL_ENABLE_DEBUG_INFO = YES;
433433
ONLY_ACTIVE_ARCH = YES;
434434
SDKROOT = iphoneos;
@@ -477,7 +477,7 @@
477477
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
478478
GCC_WARN_UNUSED_FUNCTION = YES;
479479
GCC_WARN_UNUSED_VARIABLE = YES;
480-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
480+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
481481
MTL_ENABLE_DEBUG_INFO = NO;
482482
SDKROOT = iphoneos;
483483
SUPPORTED_PLATFORMS = iphoneos;

ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1300"
3+
LastUpgradeVersion = "1510"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

0 commit comments

Comments
 (0)