Commit 285635d6fb7d6d1d255935c2feb6473214187e7b
1 parent
8f639ffa
1.3.3版本注册token提示10006错误,更新版本到最新1.3.4通知增加安卓startxg(id,密码),正常
Showing
5 changed files
with
19 additions
and
13 deletions
| @@ -89,10 +89,9 @@ android { | @@ -89,10 +89,9 @@ android { | ||
| 89 | 89 | ||
| 90 | lintOptions { | 90 | lintOptions { |
| 91 | 91 | ||
| 92 | - checkReleaseBuilds false | ||
| 93 | - | 92 | + checkReleaseBuilds false |
| 94 | 93 | ||
| 95 | - } | 94 | + } |
| 96 | 95 | ||
| 97 | manifestPlaceholders = [ | 96 | manifestPlaceholders = [ |
| 98 | XG_ACCESS_ID : '1500012875', | 97 | XG_ACCESS_ID : '1500012875', |
| @@ -144,10 +144,10 @@ PODS: | @@ -144,10 +144,10 @@ PODS: | ||
| 144 | - FlutterMacOS | 144 | - FlutterMacOS |
| 145 | - SwiftProtobuf (1.28.2) | 145 | - SwiftProtobuf (1.28.2) |
| 146 | - TOCropViewController (2.7.4) | 146 | - TOCropViewController (2.7.4) |
| 147 | - - TPNS-iOS (1.4.0.4) | ||
| 148 | - - tpns_flutter_plugin (1.3.3): | 147 | + - TPNS-iOS (1.4.0.5) |
| 148 | + - tpns_flutter_plugin (1.3.4): | ||
| 149 | - Flutter | 149 | - Flutter |
| 150 | - - TPNS-iOS (= 1.4.0.4) | 150 | + - TPNS-iOS (= 1.4.0.5) |
| 151 | - url_launcher_ios (0.0.1): | 151 | - url_launcher_ios (0.0.1): |
| 152 | - Flutter | 152 | - Flutter |
| 153 | - video_compress (0.3.0): | 153 | - video_compress (0.3.0): |
| @@ -380,8 +380,8 @@ SPEC CHECKSUMS: | @@ -380,8 +380,8 @@ SPEC CHECKSUMS: | ||
| 380 | sqflite_darwin: 20b2a3a3b70e43edae938624ce550a3cbf66a3d0 | 380 | sqflite_darwin: 20b2a3a3b70e43edae938624ce550a3cbf66a3d0 |
| 381 | SwiftProtobuf: 4dbaffec76a39a8dc5da23b40af1a5dc01a4c02d | 381 | SwiftProtobuf: 4dbaffec76a39a8dc5da23b40af1a5dc01a4c02d |
| 382 | TOCropViewController: 80b8985ad794298fb69d3341de183f33d1853654 | 382 | TOCropViewController: 80b8985ad794298fb69d3341de183f33d1853654 |
| 383 | - TPNS-iOS: 38f2c743d01cd1e62cbdbb12455990a9a75fb492 | ||
| 384 | - tpns_flutter_plugin: 0d205d24df8b0959a3c5302c6648637665556aee | 383 | + TPNS-iOS: 757b0439d967beb8c5d6be6a8e9ad23e11d1e36c |
| 384 | + tpns_flutter_plugin: 54270cae525b4a255f9140b9b7f745724601646a | ||
| 385 | url_launcher_ios: 694010445543906933d732453a59da0a173ae33d | 385 | url_launcher_ios: 694010445543906933d732453a59da0a173ae33d |
| 386 | video_compress: f2133a07762889d67f0711ac831faa26f956980e | 386 | video_compress: f2133a07762889d67f0711ac831faa26f956980e |
| 387 | video_player_avfoundation: 2cef49524dd1f16c5300b9cd6efd9611ce03639b | 387 | video_player_avfoundation: 2cef49524dd1f16c5300b9cd6efd9611ce03639b |
| @@ -1368,7 +1368,14 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver { | @@ -1368,7 +1368,14 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver { | ||
| 1368 | 1368 | ||
| 1369 | /// 启动TPNS服务 | 1369 | /// 启动TPNS服务 |
| 1370 | LogUtil.v("register:${xgCount.toString()}"); | 1370 | LogUtil.v("register:${xgCount.toString()}"); |
| 1371 | - tpush.startXg("1600012876", "INUIMFK21WGH"); | 1371 | + // tpush.startXg("1600012876", "INUIMFK21WGH"); |
| 1372 | + /// 启动TPNS服务 | ||
| 1373 | + /// 注意:为了不影响回调效果,建议在应用启动方法优先添加回调以及调用TPNS注册方法 | ||
| 1374 | + if (Platform.isIOS) { | ||
| 1375 | + tpush.startXg("1600012876", "INUIMFK21WGH"); | ||
| 1376 | + } else { | ||
| 1377 | + tpush.startXg("1500012875", "AVR2GJERH0HC"); | ||
| 1378 | + } | ||
| 1372 | xgCount++; | 1379 | xgCount++; |
| 1373 | } | 1380 | } |
| 1374 | 1381 |
| @@ -1925,11 +1925,11 @@ packages: | @@ -1925,11 +1925,11 @@ packages: | ||
| 1925 | dependency: "direct main" | 1925 | dependency: "direct main" |
| 1926 | description: | 1926 | description: |
| 1927 | path: "." | 1927 | path: "." |
| 1928 | - ref: "V1.3.3" | ||
| 1929 | - resolved-ref: "3030fb6fd96d5c461bc7e80b1849fb104914081b" | 1928 | + ref: "V1.3.4" |
| 1929 | + resolved-ref: a5349371525462b1d1b6cfa4cf4d2a59503f1435 | ||
| 1930 | url: "https://github.com/TencentCloud/TPNS-Flutter-Plugin" | 1930 | url: "https://github.com/TencentCloud/TPNS-Flutter-Plugin" |
| 1931 | source: git | 1931 | source: git |
| 1932 | - version: "1.3.3" | 1932 | + version: "1.3.4" |
| 1933 | typed_data: | 1933 | typed_data: |
| 1934 | dependency: transitive | 1934 | dependency: transitive |
| 1935 | description: | 1935 | description: |
| @@ -118,7 +118,7 @@ dependencies: | @@ -118,7 +118,7 @@ dependencies: | ||
| 118 | tpns_flutter_plugin: | 118 | tpns_flutter_plugin: |
| 119 | git: | 119 | git: |
| 120 | url: https://github.com/TencentCloud/TPNS-Flutter-Plugin | 120 | url: https://github.com/TencentCloud/TPNS-Flutter-Plugin |
| 121 | - ref: V1.3.3 | 121 | + ref: V1.3.4 |
| 122 | 122 | ||
| 123 | # ref: V1.1.6 | 123 | # ref: V1.1.6 |
| 124 | # 安装apk | 124 | # 安装apk |
-
Please register or login to post a comment