Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
flutter_boost_1.22.4
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
1
Merge Requests
1
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_boost_1.22.4
Commits
5822c69d
Commit
5822c69d
authored
Feb 25, 2021
by
xgz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加回到前台事件
parent
081f7362
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
ios/Classes/Boost/FlutterBoostPlugin.m
ios/Classes/Boost/FlutterBoostPlugin.m
+6
-0
No files found.
ios/Classes/Boost/FlutterBoostPlugin.m
View file @
5822c69d
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
FlutterBoostPlugin
*
instance
=
[
self
.
class
sharedInstance
];
FlutterBoostPlugin
*
instance
=
[
self
.
class
sharedInstance
];
instance
.
methodChannel
=
channel
;
instance
.
methodChannel
=
channel
;
[
registrar
addMethodCallDelegate
:
instance
channel
:
channel
];
[
registrar
addMethodCallDelegate
:
instance
channel
:
channel
];
[
registrar
addApplicationDelegate
:
instance
];
}
}
-
(
void
)
handleMethodCall
:(
FlutterMethodCall
*
)
call
result
:(
FlutterResult
)
result
{
-
(
void
)
handleMethodCall
:(
FlutterMethodCall
*
)
call
result
:(
FlutterResult
)
result
{
...
@@ -215,4 +216,9 @@
...
@@ -215,4 +216,9 @@
self
.
methodChannel
=
nil
;
self
.
methodChannel
=
nil
;
self
.
application
=
nil
;
self
.
application
=
nil
;
}
}
#pragma mark appDelegate
-
(
void
)
applicationDidBecomeActive
:(
UIApplication
*
)
application
{
[
self
sendEvent
:
@"applicationDidBecomeActive"
arguments
:@{
@"status"
:
@"applicationDidBecomeActive"
}];
}
@end
@end
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