Skip to content

Commit da7c48c

Browse files
committed
Upgrade for new flutter version & new mobile impl
1 parent 2c4e9fb commit da7c48c

File tree

13 files changed

+35
-27
lines changed

13 files changed

+35
-27
lines changed

dargon2_flutter/dargon2_flutter/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.3.0
2+
- **Breaking** AGP version for your project must be > 4.2
3+
- Supports higher AGP versions
4+
15
## 3.2.0
26
- Fixed broken web features in debug mode
37

dargon2_flutter/dargon2_flutter/example/android/app/build.gradle

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,15 @@ apply plugin: 'com.android.application'
2525
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2626

2727
android {
28-
compileSdkVersion 29
28+
compileSdkVersion 31
2929

30-
lintOptions {
31-
disable 'InvalidPackage'
32-
}
30+
namespace 'com.tejasmehta.dargon2_flutter_example'
3331

3432
defaultConfig {
3533
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
3634
applicationId "com.tejasmehta.dargon2_flutter_example"
3735
minSdkVersion 16
38-
targetSdkVersion 29
36+
targetSdkVersion 31
3937
versionCode flutterVersionCode.toInteger()
4038
versionName flutterVersionName
4139
}
@@ -47,6 +45,10 @@ android {
4745
signingConfig signingConfigs.debug
4846
}
4947
}
48+
namespace 'com.tejasmehta.dargon2_flutter_example'
49+
lint {
50+
disable 'InvalidPackage'
51+
}
5052
}
5153

5254
flutter {

dargon2_flutter/dargon2_flutter/example/android/app/src/debug/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.tejasmehta.dargon2_flutter_example">
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
32
<!-- Flutter needs it to communicate with the running application
43
to allow setting breakpoints, to provide hot reload, etc.
54
-->

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.tejasmehta.dargon2_flutter_example">
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
32
<application
43
android:label="dargon2_flutter_example"
54
android:icon="@mipmap/ic_launcher">
@@ -9,7 +8,8 @@
98
android:theme="@style/LaunchTheme"
109
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
1110
android:hardwareAccelerated="true"
12-
android:windowSoftInputMode="adjustResize">
11+
android:windowSoftInputMode="adjustResize"
12+
android:exported="true">
1313
<!-- Specifies an Android theme to apply to this Activity as soon as
1414
the Android process has started. This theme is visible to the user
1515
while the Flutter UI initializes. After that, this theme continues

dargon2_flutter/dargon2_flutter/example/android/app/src/profile/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.tejasmehta.dargon2_flutter_example">
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
32
<!-- Flutter needs it to communicate with the running application
43
to allow setting breakpoints, to provide hot reload, etc.
54
-->

dargon2_flutter/dargon2_flutter/example/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
}
66

77
dependencies {
8-
classpath 'com.android.tools.build:gradle:4.0.2'
8+
classpath 'com.android.tools.build:gradle:8.0.2'
99
}
1010
}
1111

@@ -24,6 +24,6 @@ subprojects {
2424
project.evaluationDependsOn(':app')
2525
}
2626

27-
task clean(type: Delete) {
27+
tasks.register("clean", Delete) {
2828
delete rootProject.buildDir
2929
}

dargon2_flutter/dargon2_flutter/example/android/gradle.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ org.gradle.jvmargs=-Xmx1536M
22
android.useAndroidX=true
33
android.enableJetifier=true
44
android.enableR8=true
5+
android.defaults.buildfeatures.buildconfig=true
6+
android.nonTransitiveRClass=false
7+
android.nonFinalResIds=false
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#Fri Jun 23 08:50:38 CEST 2017
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip

dargon2_flutter/dargon2_flutter/example/ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ EXTERNAL SOURCES:
2222
SPEC CHECKSUMS:
2323
Argon2Swift: 99482c1b8122a03524b61e41c4903a9548e7c33b
2424
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
25-
integration_test: a1e7d09bd98eca2fc37aefd79d4f41ad37bdbbe5
25+
integration_test: 13825b8a9334a850581300559b8839134b124670
2626

2727
PODFILE CHECKSUM: d136788676b2ff35bfb9e7c7b33e834ee14e6940
2828

29-
COCOAPODS: 1.11.3
29+
COCOAPODS: 1.12.0

dargon2_flutter/dargon2_flutter/example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 50;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -214,10 +214,12 @@
214214
/* Begin PBXShellScriptBuildPhase section */
215215
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
216216
isa = PBXShellScriptBuildPhase;
217+
alwaysOutOfDate = 1;
217218
buildActionMask = 2147483647;
218219
files = (
219220
);
220221
inputPaths = (
222+
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
221223
);
222224
name = "Thin Binary";
223225
outputPaths = (
@@ -228,6 +230,7 @@
228230
};
229231
9740EEB61CF901F6004384FC /* Run Script */ = {
230232
isa = PBXShellScriptBuildPhase;
233+
alwaysOutOfDate = 1;
231234
buildActionMask = 2147483647;
232235
files = (
233236
);

0 commit comments

Comments
 (0)