Skip to content

Commit 0ad3117

Browse files
committed
Merge remote-tracking branch 'origin/main' into pv/bump-sdk-4.12.2
2 parents ae79b59 + 2d21e22 commit 0ad3117

File tree

73 files changed

+4190
-189
lines changed

Some content is hidden

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

73 files changed

+4190
-189
lines changed

.github/workflows/flutter-ci.yml

Lines changed: 936 additions & 0 deletions
Large diffs are not rendered by default.

.github/workflows/pr-checks.yml

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

flutter_app/.metadata

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# This file should be version controlled and should not be manually edited.
55

66
version:
7-
revision: "603104015dd692ea3403755b55d07813d5cf8965"
7+
revision: "ea121f8859e4b13e47a8f845e4586164519588bc"
88
channel: "stable"
99

1010
project_type: app
@@ -13,11 +13,14 @@ project_type: app
1313
migration:
1414
platforms:
1515
- platform: root
16-
create_revision: 603104015dd692ea3403755b55d07813d5cf8965
17-
base_revision: 603104015dd692ea3403755b55d07813d5cf8965
18-
- platform: web
19-
create_revision: 603104015dd692ea3403755b55d07813d5cf8965
20-
base_revision: 603104015dd692ea3403755b55d07813d5cf8965
16+
create_revision: ea121f8859e4b13e47a8f845e4586164519588bc
17+
base_revision: ea121f8859e4b13e47a8f845e4586164519588bc
18+
- platform: macos
19+
create_revision: ea121f8859e4b13e47a8f845e4586164519588bc
20+
base_revision: ea121f8859e4b13e47a8f845e4586164519588bc
21+
- platform: windows
22+
create_revision: ea121f8859e4b13e47a8f845e4586164519588bc
23+
base_revision: ea121f8859e4b13e47a8f845e4586164519588bc
2124

2225
# User provided section
2326

flutter_app/android/.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
gradle-wrapper.jar
21
/.gradle
32
/captures/
4-
/gradlew
5-
/gradlew.bat
63
/local.properties
74
GeneratedPluginRegistrant.java
85
settings-gradle.lockfile

flutter_app/android/app/build.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ android {
4242
targetSdkVersion flutter.targetSdkVersion
4343
versionCode localProperties.getProperty('flutter.versionCode')?.toInteger() ?: 1
4444
versionName localProperties.getProperty('flutter.versionName') ?: "1.0.0"
45+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
4546
}
4647

4748
buildTypes {
@@ -55,4 +56,12 @@ android {
5556

5657
flutter {
5758
source '../..'
59+
}
60+
61+
dependencies {
62+
testImplementation 'junit:junit:4.13.2'
63+
// Note: androidx.test versions are constrained by Flutter's integration_test package
64+
// Cannot upgrade beyond these versions due to strict version requirements
65+
androidTestImplementation 'androidx.test:runner:1.2.0'
66+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
5867
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package com.example.flutter_quickstart;
2+
3+
import androidx.test.rule.ActivityTestRule;
4+
import dev.flutter.plugins.integration_test.FlutterTestRunner;
5+
import org.junit.Rule;
6+
import org.junit.runner.RunWith;
7+
import com.example.flutter_quickstart.MainActivity;
8+
9+
@RunWith(FlutterTestRunner.class)
10+
public class MainActivityTest {
11+
@Rule
12+
public ActivityTestRule<MainActivity> rule = new ActivityTestRule<>(MainActivity.class, true, false);
13+
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
<application
3131
android:label="flutter_quickstart"
3232
android:name="${applicationName}"
33-
android:icon="@mipmap/ic_launcher">
33+
android:icon="@mipmap/ic_launcher"
34+
android:usesCleartextTraffic="true">
3435
<activity
3536
android:name=".MainActivity"
3637
android:exported="true"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<network-security-config>
3+
<base-config cleartextTrafficPermitted="true">
4+
<trust-anchors>
5+
<certificates src="system" />
6+
<certificates src="user" />
7+
</trust-anchors>
8+
</base-config>
9+
<domain-config cleartextTrafficPermitted="true">
10+
<domain includeSubdomains="true">ditto.live</domain>
11+
<domain includeSubdomains="true">cloud.ditto.live</domain>
12+
</domain-config>
13+
</network-security-config>
42.6 KB
Binary file not shown.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
44
networkTimeout=10000
5+
validateDistributionUrl=true
56
zipStoreBase=GRADLE_USER_HOME
67
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)