Skip to content
This repository was archived by the owner on Jan 30, 2024. It is now read-only.

Commit f04e272

Browse files
authored
chore: Support Flutter 2.10.0 (#42)
1 parent 7f57a4d commit f04e272

File tree

11 files changed

+21
-30
lines changed

11 files changed

+21
-30
lines changed

.github/workflows/format.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
- uses: actions/checkout@v2
1414
- uses: subosito/flutter-action@v1
1515
with:
16-
flutter-version: '2.8.1'
16+
flutter-version: '2.10.0'
1717
channel: 'stable'
1818
- run: flutter format . --set-exit-if-changed

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v2
1414
- uses: subosito/flutter-action@v1
1515
with:
16-
flutter-version: '2.8.1'
16+
flutter-version: '2.10.0'
1717
channel: 'stable'
1818
- run: flutter pub get
1919
- run: flutter analyze

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.4.4
2+
- Support Flutter 2.10.0
3+
- Update Android compileSdkVersion to 31 (Android 12)
4+
15
## 0.4.3
26

37
- Android: migrate from jcenter to mavenCentral

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Open Mail App Flutter
1+
# Open Mail App Flutter ![Flutter 2.10.0](https://img.shields.io/badge/Flutter-2.10.0-blue)
22
[![pub package](https://img.shields.io/pub/v/open_mail_app.svg?label=open_mail_app&color=blue)](https://pub.dev/packages/open_mail_app)
33

44
A boring but accurate name.

android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ apply plugin: 'com.android.library'
2525
apply plugin: 'kotlin-android'
2626

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

3030
sourceSets {
3131
main.java.srcDirs += 'src/main/kotlin'

example/android/app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
2626
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2727

2828
android {
29-
compileSdkVersion 30
29+
compileSdkVersion 31
3030

3131
sourceSets {
3232
main.java.srcDirs += 'src/main/kotlin'
@@ -40,7 +40,7 @@ android {
4040
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
4141
applicationId "com.homex.open_mail_app_example"
4242
minSdkVersion 16
43-
targetSdkVersion 30
43+
targetSdkVersion 31
4444
versionCode flutterVersionCode.toInteger()
4545
versionName flutterVersionName
4646
}

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

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
22
package="com.homex.open_mail_app_example">
3-
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
4-
calls FlutterMain.startInitialization(this); in its onCreate method.
5-
In most cases you can leave this as-is, but you if you want to provide
6-
additional functionality it is fine to subclass or reimplement
7-
FlutterApplication and put your custom class here. -->
83
<application
9-
android:name="io.flutter.app.FlutterApplication"
4+
android:name="${applicationName}"
105
android:label="open_mail_app_example"
116
android:icon="@mipmap/ic_launcher">
127
<activity
@@ -15,7 +10,8 @@
1510
android:theme="@style/LaunchTheme"
1611
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
1712
android:hardwareAccelerated="true"
18-
android:windowSoftInputMode="adjustResize">
13+
android:windowSoftInputMode="adjustResize"
14+
android:exported="true">
1915
<!-- Specifies an Android theme to apply to this Activity as soon as
2016
the Android process has started. This theme is visible to the user
2117
while the Flutter UI initializes. After that, this theme continues
@@ -24,15 +20,6 @@
2420
android:name="io.flutter.embedding.android.NormalTheme"
2521
android:resource="@style/NormalTheme"
2622
/>
27-
<!-- Displays an Android View that continues showing the launch screen
28-
Drawable until Flutter paints its first frame, then this splash
29-
screen fades out. A splash screen is useful to avoid any visual
30-
gap between the end of Android's launch screen and the painting of
31-
Flutter's first frame. -->
32-
<meta-data
33-
android:name="io.flutter.embedding.android.SplashScreenDrawable"
34-
android:resource="@drawable/launch_background"
35-
/>
3623
<intent-filter>
3724
<action android:name="android.intent.action.MAIN"/>
3825
<category android:name="android.intent.category.LAUNCHER"/>

example/ios/Podfile.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,26 @@ PODS:
22
- Flutter (1.0.0)
33
- open_mail_app (0.0.1):
44
- Flutter
5-
- url_launcher (0.0.1):
5+
- url_launcher_ios (0.0.1):
66
- Flutter
77

88
DEPENDENCIES:
99
- Flutter (from `Flutter`)
1010
- open_mail_app (from `.symlinks/plugins/open_mail_app/ios`)
11-
- url_launcher (from `.symlinks/plugins/url_launcher/ios`)
11+
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
1212

1313
EXTERNAL SOURCES:
1414
Flutter:
1515
:path: Flutter
1616
open_mail_app:
1717
:path: ".symlinks/plugins/open_mail_app/ios"
18-
url_launcher:
19-
:path: ".symlinks/plugins/url_launcher/ios"
18+
url_launcher_ios:
19+
:path: ".symlinks/plugins/url_launcher_ios/ios"
2020

2121
SPEC CHECKSUMS:
2222
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
2323
open_mail_app: 794172f6a22cd16319d3ddaf45e945b2f74952b0
24-
url_launcher: b6e016d912f04be9f5bf6e8e82dc599b7ba59649
24+
url_launcher_ios: 02f1989d4e14e998335b02b67a7590fa34f971af
2525

2626
PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c
2727

example/ios/Runner.xcodeproj/project.pbxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
97C146E61CF9000F007C117D /* Project object */ = {
164164
isa = PBXProject;
165165
attributes = {
166-
LastUpgradeCheck = 1020;
166+
LastUpgradeCheck = 1300;
167167
ORGANIZATIONNAME = "";
168168
TargetAttributes = {
169169
97C146ED1CF9000F007C117D = {

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

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

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: open_mail_app
22
description: This library provides the ability to query the device for installed email apps and open those apps
3-
version: 0.4.3
3+
version: 0.4.4
44
homepage: https://github.com/HomeXLabs/open-mail-app-flutter
55

66
environment:

0 commit comments

Comments
 (0)