Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
permission_handler
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
songyanzhi
permission_handler
Commits
deb17dc7
Unverified
Commit
deb17dc7
authored
Nov 15, 2021
by
Maurits van Beusekom
Committed by
GitHub
Nov 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update gradle version (#732)
* Update gradle version * Fix analysis in example app
parent
71356fe9
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
26 additions
and
64 deletions
+26
-64
permission_handler/CHANGELOG.md
+4
-0
permission_handler/android/build.gradle
+10
-22
permission_handler/example/analysis_options.yaml
+0
-29
permission_handler/example/android/app/build.gradle
+5
-4
permission_handler/example/android/build.gradle
+3
-5
permission_handler/example/android/gradle.properties
+1
-1
permission_handler/example/android/gradle/wrapper/gradle-wrapper.properties
+2
-2
permission_handler/pubspec.yaml
+1
-1
No files found.
permission_handler/CHANGELOG.md
View file @
deb17dc7
## 8.3.0
*
Updated Android Gradle Plugin to 4.1.0 and Gradle Wrapper to 6.7 which is inline with the current Flutter stable version (Flutter 2.5.3).
## 8.2.6
## 8.2.6
*
Fixed broken androidx migration link in the README.md.
*
Fixed broken androidx migration link in the README.md.
...
...
permission_handler/android/build.gradle
View file @
deb17dc7
group
'com.baseflow.permissionhandler'
group
'com.baseflow.permissionhandler'
version
'1.0
-SNAPSHOT
'
version
'1.0'
def
args
=
[
"-Xlint:deprecation"
,
"-Xlint:unchecked"
,
"-Werror"
]
def
args
=
[
"-Xlint:deprecation"
,
"-Xlint:unchecked"
,
"-Werror"
]
buildscript
{
buildscript
{
repositories
{
repositories
{
google
()
google
()
jcenter
()
mavenCentral
()
maven
{
url
'https://maven.google.com'
}
}
}
dependencies
{
dependencies
{
classpath
'com.android.tools.build:gradle:4.
0.2
'
classpath
'com.android.tools.build:gradle:4.
1.0
'
}
}
}
}
rootProject
.
allprojects
{
rootProject
.
allprojects
{
repositories
{
repositories
{
google
()
google
()
jcenter
()
mavenCentral
()
}
}
}
}
...
@@ -30,24 +29,12 @@ apply plugin: 'com.android.library'
...
@@ -30,24 +29,12 @@ apply plugin: 'com.android.library'
android
{
android
{
compileSdkVersion
31
compileSdkVersion
31
defaultConfig
{
minSdkVersion
16
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
}
lintOptions
{
disable
'InvalidPackage'
}
compileOptions
{
compileOptions
{
sourceCompatibility
=
'1.8'
sourceCompatibility
JavaVersion
.
VERSION_1_8
targetCompatibility
=
'1.8'
targetCompatibility
JavaVersion
.
VERSION_1_8
}
}
}
dependencies
{
defaultConfig
{
implementation
'androidx.annotation:annotation:1.2.0'
minSdkVersion
16
implementation
'androidx.core:core:1.6.0'
}
}
repositories
{
google
()
}
}
\ No newline at end of file
permission_handler/example/analysis_options.yaml
deleted
100644 → 0
View file @
71356fe9
# This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
# invoked from the command line by running `flutter analyze`.
# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
include
:
package:flutter_lints/flutter.yaml
linter
:
# The lint rules applied to this project can be customized in the
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
# included above or to enable additional rules. A list of all available lints
# and their documentation is published at
# https://dart-lang.github.io/linter/lints/index.html.
#
# Instead of disabling a lint rule for the entire project in the
# section below, it can also be suppressed for a single line of code
# or a specific dart file by using the `// ignore: name_of_lint` and
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
# producing the lint.
rules
:
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
permission_handler/example/android/app/build.gradle
View file @
deb17dc7
...
@@ -27,11 +27,13 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
...
@@ -27,11 +27,13 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
31
compileSdkVersion
31
lintOptions
{
compileOptions
{
disable
'InvalidPackage'
sourceCompatibility
JavaVersion
.
VERSION_1_8
targetCompatibility
JavaVersion
.
VERSION_1_8
}
}
defaultConfig
{
defaultConfig
{
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"com.baseflow.permissionhandler.example"
applicationId
"com.baseflow.permissionhandler.example"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
31
targetSdkVersion
31
...
@@ -50,4 +52,4 @@ android {
...
@@ -50,4 +52,4 @@ android {
flutter
{
flutter
{
source
'../..'
source
'../..'
}
}
\ No newline at end of file
permission_handler/example/android/build.gradle
View file @
deb17dc7
buildscript
{
buildscript
{
repositories
{
repositories
{
google
()
google
()
jcenter
()
mavenCentral
()
}
}
dependencies
{
dependencies
{
classpath
'com.android.tools.build:gradle:4.
0.2
'
classpath
'com.android.tools.build:gradle:4.
1.0
'
}
}
}
}
allprojects
{
allprojects
{
repositories
{
repositories
{
google
()
google
()
jcenter
()
mavenCentral
()
}
}
}
}
rootProject
.
buildDir
=
'../build'
rootProject
.
buildDir
=
'../build'
subprojects
{
subprojects
{
project
.
buildDir
=
"${rootProject.buildDir}/${project.name}"
project
.
buildDir
=
"${rootProject.buildDir}/${project.name}"
}
subprojects
{
project
.
evaluationDependsOn
(
':app'
)
project
.
evaluationDependsOn
(
':app'
)
}
}
...
...
permission_handler/example/android/gradle.properties
View file @
deb17dc7
org.gradle.jvmargs
=
-Xmx1536M
org.gradle.jvmargs
=
-Xmx1536M
android.enableJetifier
=
true
android.useAndroidX
=
true
android.useAndroidX
=
true
android.enableJetifier
=
true
permission_handler/example/android/gradle/wrapper/gradle-wrapper.properties
View file @
deb17dc7
#
Thu May 16 14:57:52 BST 2019
#
Fri Jun 23 08:50:38 CEST 2017
distributionBase
=
GRADLE_USER_HOME
distributionBase
=
GRADLE_USER_HOME
distributionPath
=
wrapper/dists
distributionPath
=
wrapper/dists
zipStoreBase
=
GRADLE_USER_HOME
zipStoreBase
=
GRADLE_USER_HOME
zipStorePath
=
wrapper/dists
zipStorePath
=
wrapper/dists
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-6.
1.1
-all.zip
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-6.
7
-all.zip
permission_handler/pubspec.yaml
View file @
deb17dc7
name
:
permission_handler
name
:
permission_handler
description
:
Permission plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to request and check permissions.
description
:
Permission plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to request and check permissions.
version
:
8.
2.6
version
:
8.
3.0
homepage
:
https://github.com/baseflowit/flutter-permission-handler
homepage
:
https://github.com/baseflowit/flutter-permission-handler
flutter
:
flutter
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment