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
724e3271
Unverified
Commit
724e3271
authored
May 02, 2024
by
Maurits van Beusekom
Committed by
GitHub
May 02, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removes Android v1 embedding (#1318)
parent
bbcd26c3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
25 deletions
+6
-25
permission_handler_android/CHANGELOG.md
+5
-0
permission_handler_android/android/src/main/java/com/baseflow/permissionhandler/PermissionHandlerPlugin.java
+0
-24
permission_handler_android/pubspec.yaml
+1
-1
No files found.
permission_handler_android/CHANGELOG.md
View file @
724e3271
## 12.0.6
*
Removes deprecated support for Android V1 embedding as support will be removed from Flutter (see
[
flutter/flutter#144726
](
https://github.com/flutter/flutter/pull/144726
)
).
## 12.0.5
*
Upgrades Gradle and Android Gradle plugin.
...
...
permission_handler_android/android/src/main/java/com/baseflow/permissionhandler/PermissionHandlerPlugin.java
View file @
724e3271
...
...
@@ -30,30 +30,6 @@ public final class PermissionHandlerPlugin implements FlutterPlugin, ActivityAwa
@Nullable
private
MethodCallHandlerImpl
methodCallHandler
;
/**
* Registers a plugin implementation that uses the stable {@code io.flutter.plugin.common}
* package.
*
* <p>Calling this automatically initializes the plugin. However plugins initialized this way
* won't react to changes in activity or context, unlike {@link PermissionHandlerPlugin}.
*/
@SuppressWarnings
(
"deprecation"
)
public
static
void
registerWith
(
io
.
flutter
.
plugin
.
common
.
PluginRegistry
.
Registrar
registrar
)
{
final
PermissionHandlerPlugin
plugin
=
new
PermissionHandlerPlugin
();
plugin
.
pluginRegistrar
=
registrar
;
plugin
.
permissionManager
=
new
PermissionManager
(
registrar
.
context
());
plugin
.
registerListeners
();
plugin
.
startListening
(
registrar
.
context
(),
registrar
.
messenger
());
if
(
registrar
.
activeContext
()
instanceof
Activity
)
{
plugin
.
startListeningToActivity
(
registrar
.
activity
()
);
}
}
@Override
public
void
onAttachedToEngine
(
@NonNull
FlutterPluginBinding
binding
)
{
this
.
permissionManager
=
new
PermissionManager
(
binding
.
getApplicationContext
());
...
...
permission_handler_android/pubspec.yaml
View file @
724e3271
name
:
permission_handler_android
description
:
Permission plugin for Flutter. This plugin provides the Android API to request and check permissions.
homepage
:
https://github.com/baseflow/flutter-permission-handler
version
:
12.0.
5
version
:
12.0.
6
environment
:
sdk
:
"
>=2.15.0
<4.0.0"
...
...
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