Skip to content

Commit 52f536f

Browse files
committed
update
git tag v1.0.5+82
1 parent 086116e commit 52f536f

File tree

6 files changed

+105
-47
lines changed

6 files changed

+105
-47
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [1.0.5+82]
2+
3+
* gateway
4+
15
## [1.0.5+81]
26

37
* remove macos wechat

example/macos/Flutter/GeneratedPluginRegistrant.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import network_info_plus
1313
import package_info_plus
1414
import path_provider_foundation
1515
import shared_preferences_foundation
16+
import sign_in_with_apple
1617
import sqflite_darwin
1718
import url_launcher_macos
1819
import video_player_avfoundation
@@ -27,6 +28,7 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
2728
FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin"))
2829
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
2930
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
31+
SignInWithApplePlugin.register(with: registry.registrar(forPlugin: "SignInWithApplePlugin"))
3032
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
3133
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
3234
FVPVideoPlayerPlugin.register(with: registry.registrar(forPlugin: "FVPVideoPlayerPlugin"))

example/pubspec.lock

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -809,17 +809,17 @@ packages:
809809
dependency: transitive
810810
description:
811811
name: openiothub_api
812-
sha256: ee3b3c886240331b48510f5a0ba3dc340d39edd734b54f435e98af610da76672
812+
sha256: "609ac98259d934b6a186a3d7d36603723c4546dcccb7743f8e38fa6f68486e5f"
813813
url: "https://pub.flutter-io.cn"
814814
source: hosted
815-
version: "1.0.5+8"
815+
version: "1.0.5+9"
816816
openiothub_common_pages:
817817
dependency: "direct main"
818818
description:
819819
path: ".."
820820
relative: true
821821
source: path
822-
version: "1.0.5+80"
822+
version: "1.0.5+81"
823823
openiothub_constants:
824824
dependency: "direct main"
825825
description:
@@ -1132,6 +1132,30 @@ packages:
11321132
url: "https://pub.flutter-io.cn"
11331133
source: hosted
11341134
version: "2.4.1"
1135+
sign_in_with_apple:
1136+
dependency: transitive
1137+
description:
1138+
name: sign_in_with_apple
1139+
sha256: "8bd875c8e8748272749eb6d25b896f768e7e9d60988446d543fe85a37a2392b8"
1140+
url: "https://pub.flutter-io.cn"
1141+
source: hosted
1142+
version: "7.0.1"
1143+
sign_in_with_apple_platform_interface:
1144+
dependency: transitive
1145+
description:
1146+
name: sign_in_with_apple_platform_interface
1147+
sha256: "981bca52cf3bb9c3ad7ef44aace2d543e5c468bb713fd8dda4275ff76dfa6659"
1148+
url: "https://pub.flutter-io.cn"
1149+
source: hosted
1150+
version: "2.0.0"
1151+
sign_in_with_apple_web:
1152+
dependency: transitive
1153+
description:
1154+
name: sign_in_with_apple_web
1155+
sha256: f316400827f52cafcf50d00e1a2e8a0abc534ca1264e856a81c5f06bd5b10fed
1156+
url: "https://pub.flutter-io.cn"
1157+
source: hosted
1158+
version: "3.0.0"
11351159
sky_engine:
11361160
dependency: transitive
11371161
description: flutter
@@ -1389,10 +1413,10 @@ packages:
13891413
dependency: transitive
13901414
description:
13911415
name: video_player_android
1392-
sha256: ae7d4f1b41e3ac6d24dd9b9d5d6831b52d74a61bdd90a7a6262a33d8bb97c29a
1416+
sha256: "1f4e8e0e02403452d699ef7cf73fe9936fac8f6f0605303d111d71acb375d1bc"
13931417
url: "https://pub.flutter-io.cn"
13941418
source: hosted
1395-
version: "2.8.2"
1419+
version: "2.8.3"
13961420
video_player_avfoundation:
13971421
dependency: transitive
13981422
description:
@@ -1493,10 +1517,10 @@ packages:
14931517
dependency: transitive
14941518
description:
14951519
name: win32
1496-
sha256: dc6ecaa00a7c708e5b4d10ee7bec8c270e9276dfcab1783f57e9962d7884305f
1520+
sha256: "329edf97fdd893e0f1e3b9e88d6a0e627128cc17cc316a8d67fda8f1451178ba"
14971521
url: "https://pub.flutter-io.cn"
14981522
source: hosted
1499-
version: "5.12.0"
1523+
version: "5.13.0"
15001524
xdg_directories:
15011525
dependency: transitive
15021526
description:

lib/commPages/findGatewayGoList.dart

Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ class _FindGatewayGoListPageState extends State<FindGatewayGoListPage> {
151151
if (!(await userSignedIn())) {
152152
show_failed("Please login before Add Gateway", context);
153153
if (!(await userSignedIn())) {
154-
Navigator.of(context).push(MaterialPageRoute(
155-
builder: (context) => LoginPage()));
154+
Navigator.of(context)
155+
.push(MaterialPageRoute(builder: (context) => LoginPage()));
156156
}
157157
}
158158
TextEditingController nameController =
@@ -318,7 +318,7 @@ class _FindGatewayGoListPageState extends State<FindGatewayGoListPage> {
318318
await _addToMySessionList(
319319
openIoTHubJwt.value, gatewayInfo.name, gatewayInfo.description);
320320
} else {
321-
show_failed("Response: ${operationResponse.msg}",context);
321+
show_failed("Response: ${operationResponse.msg}", context);
322322
}
323323
//自动 添加网关主机
324324
var device = Device();
@@ -353,34 +353,36 @@ class _FindGatewayGoListPageState extends State<FindGatewayGoListPage> {
353353
return AlertDialog(
354354
title: Text(OpenIoTHubCommonLocalizations.of(context)
355355
.manually_create_a_gateway),
356-
content: SizedBox.expand(
356+
content: SizedBox(
357+
width: 250,
358+
height: 400,
357359
child: ListView(
358-
children: ListTile.divideTiles(
359-
context: context,
360-
tiles: [
361-
Text(OpenIoTHubCommonLocalizations.of(context)
362-
.manually_create_a_gateway_description1),
363-
Text(OpenIoTHubCommonLocalizations.of(context)
364-
.manually_create_a_gateway_description2),
365-
Text(
366-
OpenIoTHubCommonLocalizations.of(context)
367-
.manually_create_a_gateway_description3,
368-
style: TextStyle(
369-
color: Colors.amber,
370-
),
371-
),
372-
DropdownButton<String>(
373-
value: value,
374-
onChanged: (String? newVal) {
375-
state(() {
376-
value = newVal;
377-
});
378-
},
379-
items: l,
380-
),
381-
],
382-
).toList(),
383-
)),
360+
children: ListTile.divideTiles(
361+
context: context,
362+
tiles: [
363+
Text(OpenIoTHubCommonLocalizations.of(context)
364+
.manually_create_a_gateway_description1),
365+
Text(OpenIoTHubCommonLocalizations.of(context)
366+
.manually_create_a_gateway_description2),
367+
Text(
368+
OpenIoTHubCommonLocalizations.of(context)
369+
.manually_create_a_gateway_description3,
370+
style: TextStyle(
371+
color: Colors.amber,
372+
),
373+
),
374+
DropdownButton<String>(
375+
value: value,
376+
onChanged: (String? newVal) {
377+
state(() {
378+
value = newVal;
379+
});
380+
},
381+
items: l,
382+
),
383+
],
384+
).toList(),
385+
)),
384386
actions: <Widget>[
385387
TextButton(
386388
child:
@@ -411,7 +413,8 @@ loginwithtokenmap:
411413
''';
412414
Clipboard.setData(ClipboardData(text: data));
413415
show_success(
414-
OpenIoTHubCommonLocalizations.of(context).paste_info, context);
416+
OpenIoTHubCommonLocalizations.of(context).paste_info,
417+
context);
415418
Navigator.of(context).pop();
416419
},
417420
)

pubspec.lock

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ packages:
2929
dependency: transitive
3030
description:
3131
name: analyzer
32-
sha256: "13c1e6c6fd460522ea840abec3f677cc226f5fec7872c04ad7b425517ccf54f7"
32+
sha256: "904ae5bb474d32c38fb9482e2d925d5454cda04ddd0e55d2e6826bc72f6ba8c0"
3333
url: "https://pub.flutter-io.cn"
3434
source: hosted
35-
version: "7.4.4"
35+
version: "7.4.5"
3636
animations:
3737
dependency: transitive
3838
description:
@@ -993,10 +993,10 @@ packages:
993993
dependency: "direct main"
994994
description:
995995
name: openiothub_api
996-
sha256: ee3b3c886240331b48510f5a0ba3dc340d39edd734b54f435e98af610da76672
996+
sha256: "609ac98259d934b6a186a3d7d36603723c4546dcccb7743f8e38fa6f68486e5f"
997997
url: "https://pub.flutter-io.cn"
998998
source: hosted
999-
version: "1.0.5+8"
999+
version: "1.0.5+9"
10001000
openiothub_constants:
10011001
dependency: "direct main"
10021002
description:
@@ -1357,6 +1357,30 @@ packages:
13571357
url: "https://pub.flutter-io.cn"
13581358
source: hosted
13591359
version: "3.0.0"
1360+
sign_in_with_apple:
1361+
dependency: "direct main"
1362+
description:
1363+
name: sign_in_with_apple
1364+
sha256: "8bd875c8e8748272749eb6d25b896f768e7e9d60988446d543fe85a37a2392b8"
1365+
url: "https://pub.flutter-io.cn"
1366+
source: hosted
1367+
version: "7.0.1"
1368+
sign_in_with_apple_platform_interface:
1369+
dependency: transitive
1370+
description:
1371+
name: sign_in_with_apple_platform_interface
1372+
sha256: "981bca52cf3bb9c3ad7ef44aace2d543e5c468bb713fd8dda4275ff76dfa6659"
1373+
url: "https://pub.flutter-io.cn"
1374+
source: hosted
1375+
version: "2.0.0"
1376+
sign_in_with_apple_web:
1377+
dependency: transitive
1378+
description:
1379+
name: sign_in_with_apple_web
1380+
sha256: f316400827f52cafcf50d00e1a2e8a0abc534ca1264e856a81c5f06bd5b10fed
1381+
url: "https://pub.flutter-io.cn"
1382+
source: hosted
1383+
version: "3.0.0"
13601384
sky_engine:
13611385
dependency: transitive
13621386
description: flutter
@@ -1638,10 +1662,10 @@ packages:
16381662
dependency: transitive
16391663
description:
16401664
name: video_player_android
1641-
sha256: ae7d4f1b41e3ac6d24dd9b9d5d6831b52d74a61bdd90a7a6262a33d8bb97c29a
1665+
sha256: "1f4e8e0e02403452d699ef7cf73fe9936fac8f6f0605303d111d71acb375d1bc"
16421666
url: "https://pub.flutter-io.cn"
16431667
source: hosted
1644-
version: "2.8.2"
1668+
version: "2.8.3"
16451669
video_player_avfoundation:
16461670
dependency: transitive
16471671
description:
@@ -1750,10 +1774,10 @@ packages:
17501774
dependency: transitive
17511775
description:
17521776
name: win32
1753-
sha256: dc6ecaa00a7c708e5b4d10ee7bec8c270e9276dfcab1783f57e9962d7884305f
1777+
sha256: "329edf97fdd893e0f1e3b9e88d6a0e627128cc17cc316a8d67fda8f1451178ba"
17541778
url: "https://pub.flutter-io.cn"
17551779
source: hosted
1756-
version: "5.12.0"
1780+
version: "5.13.0"
17571781
xdg_directories:
17581782
dependency: transitive
17591783
description:

pubspec.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: openiothub_common_pages
22
description: openiothub_common_pages
3-
version: 1.0.5+81
3+
version: 1.0.5+82
44
homepage: https://github.com/OpenIoTHub
55

66
environment:
@@ -54,6 +54,7 @@ dependencies:
5454
tdesign_flutter: ^0.1.6
5555
dio: ^5.5.0+1
5656
bonsoir: ^5.1.11
57+
sign_in_with_apple: ^7.0.1
5758
# nsd: ^2.3.1
5859

5960
dev_dependencies:

0 commit comments

Comments
 (0)