Skip to content

Commit fbde578

Browse files
author
afjal1
committed
Added MacOs Support to permission_handler
1 parent cd1ed1b commit fbde578

File tree

6 files changed

+223
-27
lines changed

6 files changed

+223
-27
lines changed

macos/Flutter/GeneratedPluginRegistrant.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import flutter_local_notifications
1212
import flutter_native_timezone
1313
import package_info_plus
1414
import path_provider_foundation
15+
import permission_handler_apple
1516
import shared_preferences_foundation
1617
import url_launcher_macos
1718

@@ -23,6 +24,7 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
2324
FlutterNativeTimezonePlugin.register(with: registry.registrar(forPlugin: "FlutterNativeTimezonePlugin"))
2425
FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin"))
2526
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
27+
PermissionHandlerPlugin.register(with: registry.registrar(forPlugin: "PermissionHandlerPlugin"))
2628
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
2729
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
2830
}

macos/Podfile.lock

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
PODS:
2+
- connectivity_plus (0.0.1):
3+
- FlutterMacOS
4+
- ReachabilitySwift
5+
- file_picker_writable (0.0.1):
6+
- FlutterMacOS
7+
- file_selector_macos (0.0.1):
8+
- FlutterMacOS
9+
- flutter_local_notifications (0.0.1):
10+
- FlutterMacOS
11+
- flutter_native_timezone (0.0.1):
12+
- FlutterMacOS
13+
- FlutterMacOS (1.0.0)
14+
- package_info_plus (0.0.1):
15+
- FlutterMacOS
16+
- path_provider_foundation (0.0.1):
17+
- Flutter
18+
- FlutterMacOS
19+
- permission_handler_apple (0.0.1):
20+
- FlutterMacOS
21+
- ReachabilitySwift (5.0.0)
22+
- shared_preferences_foundation (0.0.1):
23+
- Flutter
24+
- FlutterMacOS
25+
- url_launcher_macos (0.0.1):
26+
- FlutterMacOS
27+
28+
DEPENDENCIES:
29+
- connectivity_plus (from `Flutter/ephemeral/.symlinks/plugins/connectivity_plus/macos`)
30+
- file_picker_writable (from `Flutter/ephemeral/.symlinks/plugins/file_picker_writable/macos`)
31+
- file_selector_macos (from `Flutter/ephemeral/.symlinks/plugins/file_selector_macos/macos`)
32+
- flutter_local_notifications (from `Flutter/ephemeral/.symlinks/plugins/flutter_local_notifications/macos`)
33+
- flutter_native_timezone (from `Flutter/ephemeral/.symlinks/plugins/flutter_native_timezone/macos`)
34+
- FlutterMacOS (from `Flutter/ephemeral`)
35+
- package_info_plus (from `Flutter/ephemeral/.symlinks/plugins/package_info_plus/macos`)
36+
- path_provider_foundation (from `Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin`)
37+
- permission_handler_apple (from `Flutter/ephemeral/.symlinks/plugins/permission_handler_apple/macos`)
38+
- shared_preferences_foundation (from `Flutter/ephemeral/.symlinks/plugins/shared_preferences_foundation/darwin`)
39+
- url_launcher_macos (from `Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos`)
40+
41+
SPEC REPOS:
42+
trunk:
43+
- ReachabilitySwift
44+
45+
EXTERNAL SOURCES:
46+
connectivity_plus:
47+
:path: Flutter/ephemeral/.symlinks/plugins/connectivity_plus/macos
48+
file_picker_writable:
49+
:path: Flutter/ephemeral/.symlinks/plugins/file_picker_writable/macos
50+
file_selector_macos:
51+
:path: Flutter/ephemeral/.symlinks/plugins/file_selector_macos/macos
52+
flutter_local_notifications:
53+
:path: Flutter/ephemeral/.symlinks/plugins/flutter_local_notifications/macos
54+
flutter_native_timezone:
55+
:path: Flutter/ephemeral/.symlinks/plugins/flutter_native_timezone/macos
56+
FlutterMacOS:
57+
:path: Flutter/ephemeral
58+
package_info_plus:
59+
:path: Flutter/ephemeral/.symlinks/plugins/package_info_plus/macos
60+
path_provider_foundation:
61+
:path: Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin
62+
permission_handler_apple:
63+
:path: Flutter/ephemeral/.symlinks/plugins/permission_handler_apple/macos
64+
shared_preferences_foundation:
65+
:path: Flutter/ephemeral/.symlinks/plugins/shared_preferences_foundation/darwin
66+
url_launcher_macos:
67+
:path: Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos
68+
69+
SPEC CHECKSUMS:
70+
connectivity_plus: 18d3c32514c886e046de60e9c13895109866c747
71+
file_picker_writable: 91694d55c22f8430d4be119f0afb49755e65cd0c
72+
file_selector_macos: 468fb6b81fac7c0e88d71317f3eec34c3b008ff9
73+
flutter_local_notifications: 3805ca215b2fb7f397d78b66db91f6a747af52e4
74+
flutter_native_timezone: 3a4724189c47dea215bb3e168e555e18308d312c
75+
FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24
76+
package_info_plus: 02d7a575e80f194102bef286361c6c326e4c29ce
77+
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
78+
permission_handler_apple: fa7012038b5aa4ed34436aa5aa4e943f94b32417
79+
ReachabilitySwift: 985039c6f7b23a1da463388634119492ff86c825
80+
shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126
81+
url_launcher_macos: d2691c7dd33ed713bf3544850a623080ec693d95
82+
83+
PODFILE CHECKSUM: 236401fc2c932af29a9fcf0e97baeeb2d750d367
84+
85+
COCOAPODS: 1.14.3

macos/Runner.xcodeproj/project.pbxproj

Lines changed: 97 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; };
2828
33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; };
2929
33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; };
30+
3C28F85C73F0954E92217847 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B66B08AE0997A20094424E90 /* Pods_RunnerTests.framework */; };
31+
F38E75515C6318D162BC4F4F /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5FC9FB5A43CE8DADEB93105D /* Pods_Runner.framework */; };
3032
/* End PBXBuildFile section */
3133

3234
/* Begin PBXContainerItemProxy section */
@@ -64,7 +66,7 @@
6466
331C80D7294CF71000263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
6567
333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; };
6668
335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = "<group>"; };
67-
33CC10ED2044A3C60003C045 /* taskwarriorflutter.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "taskwarriorflutter.app"; sourceTree = BUILT_PRODUCTS_DIR; };
69+
33CC10ED2044A3C60003C045 /* taskwarriorflutter.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = taskwarriorflutter.app; sourceTree = BUILT_PRODUCTS_DIR; };
6870
33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
6971
33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = "<group>"; };
7072
33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
@@ -76,28 +78,52 @@
7678
33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = "<group>"; };
7779
33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = "<group>"; };
7880
33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = "<group>"; };
81+
4B9D0F6A1A347726A5468ECC /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = "<group>"; };
82+
5FC9FB5A43CE8DADEB93105D /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
83+
6A0E3991D2B304BA78D2D9AD /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = "<group>"; };
84+
778DE529EF5058D118C3DAAC /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
7985
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = "<group>"; };
86+
8DD06E6598B49F18D691C166 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
8087
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = "<group>"; };
88+
B66B08AE0997A20094424E90 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
89+
BE199DA6B5823F63FD4A5226 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
90+
E23D159C6E39B903CE5D2B10 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = "<group>"; };
8191
/* End PBXFileReference section */
8292

8393
/* Begin PBXFrameworksBuildPhase section */
8494
331C80D2294CF70F00263BE5 /* Frameworks */ = {
8595
isa = PBXFrameworksBuildPhase;
8696
buildActionMask = 2147483647;
8797
files = (
98+
3C28F85C73F0954E92217847 /* Pods_RunnerTests.framework in Frameworks */,
8899
);
89100
runOnlyForDeploymentPostprocessing = 0;
90101
};
91102
33CC10EA2044A3C60003C045 /* Frameworks */ = {
92103
isa = PBXFrameworksBuildPhase;
93104
buildActionMask = 2147483647;
94105
files = (
106+
F38E75515C6318D162BC4F4F /* Pods_Runner.framework in Frameworks */,
95107
);
96108
runOnlyForDeploymentPostprocessing = 0;
97109
};
98110
/* End PBXFrameworksBuildPhase section */
99111

100112
/* Begin PBXGroup section */
113+
0EF37E389A60FE96C438BA82 /* Pods */ = {
114+
isa = PBXGroup;
115+
children = (
116+
BE199DA6B5823F63FD4A5226 /* Pods-Runner.debug.xcconfig */,
117+
8DD06E6598B49F18D691C166 /* Pods-Runner.release.xcconfig */,
118+
778DE529EF5058D118C3DAAC /* Pods-Runner.profile.xcconfig */,
119+
6A0E3991D2B304BA78D2D9AD /* Pods-RunnerTests.debug.xcconfig */,
120+
4B9D0F6A1A347726A5468ECC /* Pods-RunnerTests.release.xcconfig */,
121+
E23D159C6E39B903CE5D2B10 /* Pods-RunnerTests.profile.xcconfig */,
122+
);
123+
name = Pods;
124+
path = Pods;
125+
sourceTree = "<group>";
126+
};
101127
331C80D6294CF71000263BE5 /* RunnerTests */ = {
102128
isa = PBXGroup;
103129
children = (
@@ -125,6 +151,7 @@
125151
331C80D6294CF71000263BE5 /* RunnerTests */,
126152
33CC10EE2044A3C60003C045 /* Products */,
127153
D73912EC22F37F3D000D13A0 /* Frameworks */,
154+
0EF37E389A60FE96C438BA82 /* Pods */,
128155
);
129156
sourceTree = "<group>";
130157
};
@@ -175,6 +202,8 @@
175202
D73912EC22F37F3D000D13A0 /* Frameworks */ = {
176203
isa = PBXGroup;
177204
children = (
205+
5FC9FB5A43CE8DADEB93105D /* Pods_Runner.framework */,
206+
B66B08AE0997A20094424E90 /* Pods_RunnerTests.framework */,
178207
);
179208
name = Frameworks;
180209
sourceTree = "<group>";
@@ -186,6 +215,7 @@
186215
isa = PBXNativeTarget;
187216
buildConfigurationList = 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
188217
buildPhases = (
218+
DCC4966A050A74D5B878E5D9 /* [CP] Check Pods Manifest.lock */,
189219
331C80D1294CF70F00263BE5 /* Sources */,
190220
331C80D2294CF70F00263BE5 /* Frameworks */,
191221
331C80D3294CF70F00263BE5 /* Resources */,
@@ -204,11 +234,13 @@
204234
isa = PBXNativeTarget;
205235
buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */;
206236
buildPhases = (
237+
8B30488A27B6BF83378E55CA /* [CP] Check Pods Manifest.lock */,
207238
33CC10E92044A3C60003C045 /* Sources */,
208239
33CC10EA2044A3C60003C045 /* Frameworks */,
209240
33CC10EB2044A3C60003C045 /* Resources */,
210241
33CC110E2044A8840003C045 /* Bundle Framework */,
211242
3399D490228B24CF009A79C7 /* ShellScript */,
243+
70403CC254FC200AE98F2D9C /* [CP] Embed Pods Frameworks */,
212244
);
213245
buildRules = (
214246
);
@@ -328,6 +360,67 @@
328360
shellPath = /bin/sh;
329361
shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire";
330362
};
363+
70403CC254FC200AE98F2D9C /* [CP] Embed Pods Frameworks */ = {
364+
isa = PBXShellScriptBuildPhase;
365+
buildActionMask = 2147483647;
366+
files = (
367+
);
368+
inputFileListPaths = (
369+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
370+
);
371+
name = "[CP] Embed Pods Frameworks";
372+
outputFileListPaths = (
373+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
374+
);
375+
runOnlyForDeploymentPostprocessing = 0;
376+
shellPath = /bin/sh;
377+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
378+
showEnvVarsInLog = 0;
379+
};
380+
8B30488A27B6BF83378E55CA /* [CP] Check Pods Manifest.lock */ = {
381+
isa = PBXShellScriptBuildPhase;
382+
buildActionMask = 2147483647;
383+
files = (
384+
);
385+
inputFileListPaths = (
386+
);
387+
inputPaths = (
388+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
389+
"${PODS_ROOT}/Manifest.lock",
390+
);
391+
name = "[CP] Check Pods Manifest.lock";
392+
outputFileListPaths = (
393+
);
394+
outputPaths = (
395+
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
396+
);
397+
runOnlyForDeploymentPostprocessing = 0;
398+
shellPath = /bin/sh;
399+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
400+
showEnvVarsInLog = 0;
401+
};
402+
DCC4966A050A74D5B878E5D9 /* [CP] Check Pods Manifest.lock */ = {
403+
isa = PBXShellScriptBuildPhase;
404+
buildActionMask = 2147483647;
405+
files = (
406+
);
407+
inputFileListPaths = (
408+
);
409+
inputPaths = (
410+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
411+
"${PODS_ROOT}/Manifest.lock",
412+
);
413+
name = "[CP] Check Pods Manifest.lock";
414+
outputFileListPaths = (
415+
);
416+
outputPaths = (
417+
"$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt",
418+
);
419+
runOnlyForDeploymentPostprocessing = 0;
420+
shellPath = /bin/sh;
421+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
422+
showEnvVarsInLog = 0;
423+
};
331424
/* End PBXShellScriptBuildPhase section */
332425

333426
/* Begin PBXSourcesBuildPhase section */
@@ -379,6 +472,7 @@
379472
/* Begin XCBuildConfiguration section */
380473
331C80DB294CF71000263BE5 /* Debug */ = {
381474
isa = XCBuildConfiguration;
475+
baseConfigurationReference = 6A0E3991D2B304BA78D2D9AD /* Pods-RunnerTests.debug.xcconfig */;
382476
buildSettings = {
383477
BUNDLE_LOADER = "$(TEST_HOST)";
384478
CURRENT_PROJECT_VERSION = 1;
@@ -393,6 +487,7 @@
393487
};
394488
331C80DC294CF71000263BE5 /* Release */ = {
395489
isa = XCBuildConfiguration;
490+
baseConfigurationReference = 4B9D0F6A1A347726A5468ECC /* Pods-RunnerTests.release.xcconfig */;
396491
buildSettings = {
397492
BUNDLE_LOADER = "$(TEST_HOST)";
398493
CURRENT_PROJECT_VERSION = 1;
@@ -407,6 +502,7 @@
407502
};
408503
331C80DD294CF71000263BE5 /* Profile */ = {
409504
isa = XCBuildConfiguration;
505+
baseConfigurationReference = E23D159C6E39B903CE5D2B10 /* Pods-RunnerTests.profile.xcconfig */;
410506
buildSettings = {
411507
BUNDLE_LOADER = "$(TEST_HOST)";
412508
CURRENT_PROJECT_VERSION = 1;

macos/Runner.xcworkspace/contents.xcworkspacedata

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pubspec.lock

Lines changed: 30 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -763,43 +763,48 @@ packages:
763763
permission_handler:
764764
dependency: "direct main"
765765
description:
766-
name: permission_handler
767-
sha256: bc56bfe9d3f44c3c612d8d393bd9b174eb796d706759f9b495ac254e4294baa5
768-
url: "https://pub.dev"
769-
source: hosted
770-
version: "10.4.5"
766+
path: permission_handler
767+
ref: master
768+
resolved-ref: "5f9cd3a698dd64975f68a36c581a1097bc47563c"
769+
url: "https://github.com/bvoq/flutter-permission-handler.git"
770+
source: git
771+
version: "10.2.0"
771772
permission_handler_android:
772773
dependency: transitive
773774
description:
774-
name: permission_handler_android
775-
sha256: "59c6322171c29df93a22d150ad95f3aa19ed86542eaec409ab2691b8f35f9a47"
776-
url: "https://pub.dev"
777-
source: hosted
778-
version: "10.3.6"
775+
path: permission_handler_android
776+
ref: master
777+
resolved-ref: "5f9cd3a698dd64975f68a36c581a1097bc47563c"
778+
url: "https://github.com/bvoq/flutter-permission-handler.git"
779+
source: git
780+
version: "10.2.0"
779781
permission_handler_apple:
780782
dependency: transitive
781783
description:
782-
name: permission_handler_apple
783-
sha256: "99e220bce3f8877c78e4ace901082fb29fa1b4ebde529ad0932d8d664b34f3f5"
784-
url: "https://pub.dev"
785-
source: hosted
786-
version: "9.1.4"
784+
path: permission_handler_apple
785+
ref: master
786+
resolved-ref: "5f9cd3a698dd64975f68a36c581a1097bc47563c"
787+
url: "https://github.com/bvoq/flutter-permission-handler.git"
788+
source: git
789+
version: "9.0.7"
787790
permission_handler_platform_interface:
788791
dependency: transitive
789792
description:
790-
name: permission_handler_platform_interface
791-
sha256: "6760eb5ef34589224771010805bea6054ad28453906936f843a8cc4d3a55c4a4"
792-
url: "https://pub.dev"
793-
source: hosted
794-
version: "3.12.0"
793+
path: permission_handler_platform_interface
794+
ref: master
795+
resolved-ref: "5f9cd3a698dd64975f68a36c581a1097bc47563c"
796+
url: "https://github.com/bvoq/flutter-permission-handler.git"
797+
source: git
798+
version: "3.9.0"
795799
permission_handler_windows:
796800
dependency: transitive
797801
description:
798-
name: permission_handler_windows
799-
sha256: cc074aace208760f1eee6aa4fae766b45d947df85bc831cde77009cdb4720098
800-
url: "https://pub.dev"
801-
source: hosted
802-
version: "0.1.3"
802+
path: permission_handler_windows
803+
ref: master
804+
resolved-ref: "5f9cd3a698dd64975f68a36c581a1097bc47563c"
805+
url: "https://github.com/bvoq/flutter-permission-handler.git"
806+
source: git
807+
version: "0.1.2"
803808
petitparser:
804809
dependency: transitive
805810
description:

pubspec.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,12 @@ dependencies:
3737
loggy: ^2.0.1+1
3838
package_info_plus: ^4.0.2
3939
pem: ^2.0.1
40-
permission_handler: ^10.2.0
40+
# permission_handler: ^10.2.0
41+
permission_handler:
42+
git:
43+
url: https://github.com/bvoq/flutter-permission-handler.git
44+
path: permission_handler
45+
ref: master
4146
shared_preferences: ^2.0.13
4247
shared_preferences_web: ^2.0.3
4348
sizer: ^2.0.15

0 commit comments

Comments
 (0)