Skip to content

Commit

Permalink
flutter_custom_tabs example gradle and com.github.droibit:customtabsl…
Browse files Browse the repository at this point in the history
…auncher package upgrade
  • Loading branch information
Suat Keskin committed Aug 24, 2023
1 parent 9d92cf2 commit 690bf83
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
7 changes: 4 additions & 3 deletions flutter_custom_tabs/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:4.1.3'
classpath 'com.android.tools.build:gradle:8.1.1'
}
}

Expand All @@ -23,7 +23,8 @@ rootProject.allprojects {
apply plugin: 'com.android.library'

android {
compileSdkVersion 30
namespace "com.github.droibit.plugins.customtabs"
compileSdk 34

defaultConfig {
minSdkVersion 16
Expand All @@ -37,6 +38,6 @@ android {
}

dependencies {
api 'com.github.droibit:customtabslauncher:1.6.0'
api 'com.github.droibit:customtabslauncher:1.7.0'
}
}
1 change: 1 addition & 0 deletions flutter_custom_tabs/android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
12 changes: 6 additions & 6 deletions flutter_custom_tabs/example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,13 @@ apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 30

lintOptions {
disable 'InvalidPackage'
}
namespace "com.github.droibit.flutter.plugins.customtabs.example"
compileSdkVersion 34

defaultConfig {
applicationId "com.github.droibit.flutter.plugins.customtabs.example"
minSdkVersion 16
targetSdkVersion 30
targetSdkVersion 34
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
Expand All @@ -45,6 +42,9 @@ android {
signingConfig signingConfigs.debug
}
}
lint {
disable 'InvalidPackage'
}
}

flutter {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.github.droibit.flutter.plugins.customtabs.example">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.github.droibit.flutter.plugins.customtabs.example">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<!-- The INTERNET permission is required for development. Specifically,
flutter needs it to communicate with the running application
Expand All @@ -21,12 +20,13 @@
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale"
android:hardwareAccelerated="true"
android:exported="true"
android:windowSoftInputMode="adjustResize">
<!-- This keeps the window background of the activity showing
until Flutter renders its first frame. It can be removed if
there is no splash screen (such as the default splash screen
defined in @style/LaunchTheme). -->

<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.github.droibit.flutter.plugins.customtabs.example">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
Expand Down
4 changes: 2 additions & 2 deletions flutter_custom_tabs/example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath 'com.android.tools.build:gradle:8.1.1'
}
}

Expand All @@ -25,6 +25,6 @@ subprojects {
project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
tasks.register("clean", Delete) {
delete rootProject.buildDir
}

0 comments on commit 690bf83

Please sign in to comment.