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
5f6052f1
Commit
5f6052f1
authored
Oct 16, 2021
by
汪林玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支持null-safety
parent
38ead6fd
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
55 additions
and
55 deletions
+55
-55
.gitignore
.gitignore
+1
-0
example/pubspec.lock
example/pubspec.lock
+21
-21
ios/flutter_jpush_vip.podspec
ios/flutter_jpush_vip.podspec
+1
-1
lib/flutter_jpush_vip.dart
lib/flutter_jpush_vip.dart
+9
-9
pubspec.lock
pubspec.lock
+20
-20
pubspec.yaml
pubspec.yaml
+3
-4
No files found.
.gitignore
View file @
5f6052f1
...
...
@@ -5,3 +5,4 @@
.pub/
build/
.vscode/
example/pubspec.lock
View file @
5f6052f1
...
...
@@ -7,42 +7,42 @@ packages:
name: async
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.
5.0-nullsafety
.1"
version: "2.
8
.1"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.0
-nullsafety.1
"
version: "2.1.0"
characters:
dependency: transitive
description:
name: characters
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.1.0
-nullsafety.3
"
version: "1.1.0"
charcode:
dependency: transitive
description:
name: charcode
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.
2.0-nullsafety
.1"
version: "1.
3
.1"
clock:
dependency: transitive
description:
name: clock
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.1.0
-nullsafety.1
"
version: "1.1.0"
collection:
dependency: transitive
description:
name: collection
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.15.0
-nullsafety.3
"
version: "1.15.0"
cupertino_icons:
dependency: "direct main"
description:
...
...
@@ -56,7 +56,7 @@ packages:
name: fake_async
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.2.0
-nullsafety.1
"
version: "1.2.0"
flutter:
dependency: "direct main"
description: flutter
...
...
@@ -68,7 +68,7 @@ packages:
path: ".."
relative: true
source: path
version: "
0.0.1
"
version: "
1.0.0
"
flutter_test:
dependency: "direct dev"
description: flutter
...
...
@@ -80,21 +80,21 @@ packages:
name: matcher
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.12.10
-nullsafety.1
"
version: "0.12.10"
meta:
dependency: transitive
description:
name: meta
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.
3.0-nullsafety.3
"
version: "1.
7.0
"
path:
dependency: transitive
description:
name: path
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.8.0
-nullsafety.1
"
version: "1.8.0"
sky_engine:
dependency: transitive
description: flutter
...
...
@@ -106,56 +106,56 @@ packages:
name: source_span
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.8.
0-nullsafety.2
"
version: "1.8.
1
"
stack_trace:
dependency: transitive
description:
name: stack_trace
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.10.0
-nullsafety.1
"
version: "1.10.0"
stream_channel:
dependency: transitive
description:
name: stream_channel
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.0
-nullsafety.1
"
version: "2.1.0"
string_scanner:
dependency: transitive
description:
name: string_scanner
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.1.0
-nullsafety.1
"
version: "1.1.0"
term_glyph:
dependency: transitive
description:
name: term_glyph
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.2.0
-nullsafety.1
"
version: "1.2.0"
test_api:
dependency: transitive
description:
name: test_api
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.
2.19-nullsafety
.2"
version: "0.
4
.2"
typed_data:
dependency: transitive
description:
name: typed_data
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.3.0
-nullsafety.3
"
version: "1.3.0"
vector_math:
dependency: transitive
description:
name: vector_math
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.0
-nullsafety.3
"
version: "2.1.0"
sdks:
dart: ">=2.1
0.0-110 <2.11
.0"
flutter: ">=1.1
0
.0"
dart: ">=2.1
2.0 <3.0
.0"
flutter: ">=1.1
7
.0"
ios/flutter_jpush_vip.podspec
View file @
5f6052f1
...
...
@@ -4,7 +4,7 @@
#
Pod
::
Spec
.
new
do
|
s
|
s
.
name
=
'flutter_jpush_vip'
s
.
version
=
'
0.0.1
'
s
.
version
=
'
1.0.0
'
s
.
summary
=
'极光推送厂商版'
s
.
description
=
<<-
DESC
极光推送厂商版
...
...
lib/flutter_jpush_vip.dart
View file @
5f6052f1
...
...
@@ -33,7 +33,7 @@ class FlutterJpushVip {
}
/// 获取注册ID
static
Future
<
String
>
getRegistrationID
()
{
static
Future
<
String
?
>
getRegistrationID
()
{
return
_channel
.
invokeMethod
(
'getRegistrationID'
);
}
...
...
@@ -59,14 +59,14 @@ class FlutterJpushVip {
print
(
e
);
}
}
return
null
;
return
Future
.
value
(
null
)
;
});
}
}
class
_InitResult
{
int
code
;
String
registrationId
;
int
?
code
;
String
?
registrationId
;
_InitResult
.
from
(
Map
map
)
{
code
=
map
[
'code'
];
...
...
@@ -75,11 +75,11 @@ class _InitResult {
}
class
_Notification
{
String
msgId
;
String
content
;
String
title
;
Map
extras
;
String
platform
;
String
?
msgId
;
String
?
content
;
String
?
title
;
Map
?
extras
;
String
?
platform
;
_Notification
.
from
(
Map
map
)
{
msgId
=
map
[
'msg_id'
].
toString
();
...
...
pubspec.lock
View file @
5f6052f1
...
...
@@ -7,49 +7,49 @@ packages:
name: async
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.
5.0-nullsafety
.1"
version: "2.
8
.1"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.0
-nullsafety.1
"
version: "2.1.0"
characters:
dependency: transitive
description:
name: characters
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.1.0
-nullsafety.3
"
version: "1.1.0"
charcode:
dependency: transitive
description:
name: charcode
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.
2.0-nullsafety
.1"
version: "1.
3
.1"
clock:
dependency: transitive
description:
name: clock
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.1.0
-nullsafety.1
"
version: "1.1.0"
collection:
dependency: transitive
description:
name: collection
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.15.0
-nullsafety.3
"
version: "1.15.0"
fake_async:
dependency: transitive
description:
name: fake_async
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.2.0
-nullsafety.1
"
version: "1.2.0"
flutter:
dependency: "direct main"
description: flutter
...
...
@@ -66,21 +66,21 @@ packages:
name: matcher
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.12.10
-nullsafety.1
"
version: "0.12.10"
meta:
dependency: transitive
description:
name: meta
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.
3.0-nullsafety.3
"
version: "1.
7.0
"
path:
dependency: transitive
description:
name: path
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.8.0
-nullsafety.1
"
version: "1.8.0"
sky_engine:
dependency: transitive
description: flutter
...
...
@@ -92,56 +92,56 @@ packages:
name: source_span
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.8.
0-nullsafety.2
"
version: "1.8.
1
"
stack_trace:
dependency: transitive
description:
name: stack_trace
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.10.0
-nullsafety.1
"
version: "1.10.0"
stream_channel:
dependency: transitive
description:
name: stream_channel
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.0
-nullsafety.1
"
version: "2.1.0"
string_scanner:
dependency: transitive
description:
name: string_scanner
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.1.0
-nullsafety.1
"
version: "1.1.0"
term_glyph:
dependency: transitive
description:
name: term_glyph
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.2.0
-nullsafety.1
"
version: "1.2.0"
test_api:
dependency: transitive
description:
name: test_api
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.
2.19-nullsafety
.2"
version: "0.
4
.2"
typed_data:
dependency: transitive
description:
name: typed_data
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.3.0
-nullsafety.3
"
version: "1.3.0"
vector_math:
dependency: transitive
description:
name: vector_math
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.0
-nullsafety.3
"
version: "2.1.0"
sdks:
dart: ">=2.1
0.0-110 <2.11
.0"
flutter: ">=1.1
0
.0"
dart: ">=2.1
2.0 <3.0
.0"
flutter: ">=1.1
7
.0"
pubspec.yaml
View file @
5f6052f1
name
:
flutter_jpush_vip
description
:
极光推送厂商版
version
:
0.0.1
author
:
version
:
1.0.0
homepage
:
environment
:
sdk
:
"
>=2.7.0
<3.0.0"
flutter
:
"
>=1.1
0
.0"
sdk
:
'
>=2.12.0
<3.0.0'
flutter
:
"
>=1.1
7
.0"
dependencies
:
flutter
:
...
...
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