Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
flutter-scheme
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
flutter-plugin
flutter-scheme
Commits
deffc52e
Commit
deffc52e
authored
Jun 08, 2021
by
汪林玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复Scheme
parent
26fe180f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
ios/Classes/FlutterSchemePlugin.h
ios/Classes/FlutterSchemePlugin.h
+3
-1
ios/Classes/FlutterSchemePlugin.m
ios/Classes/FlutterSchemePlugin.m
+6
-4
No files found.
ios/Classes/FlutterSchemePlugin.h
View file @
deffc52e
...
...
@@ -8,4 +8,6 @@
+
(
_Nullable
instancetype
)
sharedInstance
;
-
(
BOOL
)
application
:(
UIApplication
*
)
application
continueUserActivity
:(
NSUserActivity
*
)
userActivity
restorationHandler
:(
void
(
^
)(
NSArray
*
_Nonnull
))
restorationHandler
;
@end
\ No newline at end of file
ios/Classes/FlutterSchemePlugin.m
View file @
deffc52e
...
...
@@ -106,7 +106,7 @@ static id _instance;
return
NO
;
}
}
return
YES
;
return
NO
;
}
-
(
void
)
scene
:(
UIScene
*
)
scene
continueUserActivity
:(
NSUserActivity
*
)
userActivity
API_AVAILABLE
(
ios
(
13
.
0
)){
...
...
@@ -119,13 +119,13 @@ static id _instance;
#pragma mark - handleOpenURL
-
(
BOOL
)
application
:(
UIApplication
*
)
application
handleOpenURL
:(
NSURL
*
)
url
{
[
self
foundSchemeURL
:
url
];
return
YES
;
return
NO
;
}
#pragma mark - openURL
-
(
BOOL
)
application
:(
UIApplication
*
)
application
openURL
:(
NSURL
*
)
url
options
:(
NSDictionary
<
UIApplicationOpenURLOptionsKey
,
id
>
*
)
options
{
[
self
foundSchemeURL
:
url
];
return
YES
;
return
NO
;
}
-
(
FlutterError
*
)
onListenWithArguments
:(
id
)
arguments
eventSink
:(
FlutterEventSink
)
events
{
...
...
@@ -137,4 +137,6 @@ static id _instance;
_eventSink
=
nil
;
return
nil
;
}
@end
\ No newline at end of file
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