File tree Expand file tree Collapse file tree 3 files changed +20
-14
lines changed Expand file tree Collapse file tree 3 files changed +20
-14
lines changed Original file line number Diff line number Diff line change 1
1
PODS:
2
2
- AlicloudPush (2.2.0)
3
- - AlicloudUTDID (1.6.1)
4
- - AlicloudUtils (2.0.1):
5
- - AlicloudUTDID
6
3
- aliyun_push_flutter (0.0.1):
7
4
- AlicloudPush
8
- - AlicloudUtils
9
5
- Flutter
10
6
- Flutter (1.0.0)
11
7
- integration_test (0.0.1):
@@ -19,8 +15,6 @@ DEPENDENCIES:
19
15
SPEC REPOS:
20
16
https://github.com/aliyun/aliyun-specs.git:
21
17
- AlicloudPush
22
- - AlicloudUTDID
23
- - AlicloudUtils
24
18
25
19
EXTERNAL SOURCES:
26
20
aliyun_push_flutter:
@@ -32,12 +26,10 @@ EXTERNAL SOURCES:
32
26
33
27
SPEC CHECKSUMS:
34
28
AlicloudPush: 74a9ac0ec7d9e1396283dfa71c40c895b273905e
35
- AlicloudUTDID: 5d2f22d50e11eecd38f30bc7a48c71925ea90976
36
- AlicloudUtils: ef4436f52b828b1182b002373758ecb88068e679
37
- aliyun_push_flutter: 1e17d1272e608d199dea42024b82bab782e4344f
29
+ aliyun_push_flutter: 5b33b46510e6f1b7cb487eb5e0d1fa5df62cb574
38
30
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
39
31
integration_test: 252f60fa39af5e17c3aa9899d35d908a0721b573
40
32
41
33
PODFILE CHECKSUM: 7e12abdb2b7e20633f470f68b57681df76aa752a
42
34
43
- COCOAPODS: 1.16 .2
35
+ COCOAPODS: 1.15 .2
Original file line number Diff line number Diff line change 28
28
<true />
29
29
<key >UIApplicationSupportsIndirectInputEvents </key >
30
30
<true />
31
+ <key >UIBackgroundModes </key >
32
+ <array >
33
+ <string >remote-notification </string >
34
+ <string >fetch </string >
35
+ </array >
31
36
<key >UILaunchStoryboardName </key >
32
37
<string >LaunchScreen </string >
33
38
<key >UIMainStoryboardFile </key >
45
50
<string >UIInterfaceOrientationLandscapeLeft </string >
46
51
<string >UIInterfaceOrientationLandscapeRight </string >
47
52
</array >
48
- <key >UIBackgroundModes </key >
49
- <array >
50
- <string >remote-notification </string >
51
- </array >
52
53
</dict >
53
54
</plist >
Original file line number Diff line number Diff line change @@ -70,6 +70,19 @@ class _IOSPageState extends BaseState<IOSPage> {
70
70
child: const Text ('通知通道是否已打开' ),
71
71
));
72
72
73
+ children.add (FilledButton (
74
+ onPressed: () async {
75
+ var result = await _aliyunPush.closeCCPChannel ();
76
+ var code = result['code' ];
77
+ if (code == kAliyunPushSuccessCode) {
78
+ showOkDialog ('关闭推送消息通道成功' );
79
+ } else {
80
+ showErrorDialog ('关闭推送消息通道失败' );
81
+ }
82
+ },
83
+ child: const Text ('关闭推送消息通道' ),
84
+ ));
85
+
73
86
return cardBuilder (Column (children: children));
74
87
}
75
88
You can’t perform that action at this time.
0 commit comments