Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
flutter_jpush_vip
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_jpush_vip
Commits
9451e002
Commit
9451e002
authored
Mar 15, 2021
by
李增强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
m
parent
46d70639
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lib/flutter_jpush_vip.dart
lib/flutter_jpush_vip.dart
+3
-1
No files found.
lib/flutter_jpush_vip.dart
View file @
9451e002
...
...
@@ -47,9 +47,11 @@ class FlutterJpushVip {
_channel
.
setMethodCallHandler
((
call
)
{
if
(
call
.
method
==
'__JPUSH_MESSAGE__'
)
{
try
{
Map
map
=
call
.
arguments
;
Map
map
;
if
(
call
.
arguments
.
runtimeType
.
toString
().
contains
(
'String'
))
{
map
=
json
.
decode
(
call
.
arguments
);
}
else
{
map
=
call
.
arguments
;
}
var
n
=
_Notification
.
from
(
map
);
callback
(
n
);
...
...
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