revert build fixes, downgrade permission_handler (sdk 30)

This commit is contained in:
unknown 2021-11-02 22:10:35 +01:00
parent 8df77b5c06
commit 40f3d2159a
4 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="hu.filc.naplo">
<application android:label="Filc Napló" android:icon="@mipmap/ic_launcher" android:requestLegacyExternalStorage="true">
<activity android:exported="false" android:name=".MainActivity" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize">
<activity android:name=".MainActivity" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize">
<meta-data android:name="io.flutter.embedding.android.NormalTheme" android:resource="@style/NormalTheme" />
<intent-filter>
<action android:name="android.intent.action.MAIN"/>

View File

@ -2,8 +2,8 @@ buildscript {
ext.kotlin_version = '1.3.50'
ext {
compileSdkVersion = 31
targetSdkVersion = 31
compileSdkVersion = 30
targetSdkVersion = 30
appCompatVersion = "1.1.0"
}
@ -13,7 +13,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.2'
classpath 'com.android.tools.build:gradle:4.1.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
@ -33,8 +33,8 @@ subprojects {
afterEvaluate {project ->
if (project.plugins.hasPlugin('android') || project.plugins.hasPlugin('android-library')) {
android {
compileSdkVersion 31
buildToolsVersion '31.0.0'
compileSdkVersion 30
buildToolsVersion '30.0.3'
}
}
}

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip

View File

@ -32,7 +32,7 @@ dependencies:
html: ^0.15.0
open_file: ^3.2.1
path_provider: ^2.0.2
permission_handler: ^8.1.4+2
permission_handler: 8.1.2
share_plus: ^3.0.4
package_info_plus: ^1.0.6
connectivity_plus: ^2.0.2