Skip to content

Commit 52b33d1

Browse files
jckrasstuqdog
andauthored
Bump hotspot provisioning widget version (#450)
* bump hotspot widget version * add parameters for clarity * Update example/hotspot_provisioning_example_app/lib/provision_new_machine.dart Co-authored-by: Ethan <[email protected]> --------- Co-authored-by: Ethan <[email protected]>
1 parent 8d51e41 commit 52b33d1

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

example/hotspot_provisioning_example_app/lib/provision_new_machine.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ import 'dart:math';
22

33
import 'package:flutter/material.dart';
44
import 'package:viam_flutter_hotspot_provisioning_widget/viam_flutter_hotspot_provisioning_widget.dart';
5+
6+
import 'consts.dart';
57
import 'offline_screen.dart';
68
import 'online_screen.dart';
7-
import 'consts.dart';
89

910
class ProvisionNewMachineScreen extends StatefulWidget {
1011
const ProvisionNewMachineScreen({
@@ -86,6 +87,8 @@ class _ProvisionNewMachineScreenState extends State<ProvisionNewMachineScreen> {
8687
robot: robot,
8788
viam: viam,
8889
mainPart: mainPart,
90+
hotspotPrefix: null, // set to null, because we receive these credentials from the user
91+
hotspotPassword: null,
8992
fragmentId: null, // Optional, if null, the fragmentId will be read from the device.
9093
promptForCredentials: true,
9194
overrideFragment: true, // Override fragment for new machine provisioning

example/hotspot_provisioning_example_app/pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -665,10 +665,10 @@ packages:
665665
dependency: "direct main"
666666
description:
667667
name: viam_flutter_hotspot_provisioning_widget
668-
sha256: "76017fdc46121514fafe477c1c9a0061bbc3b70919dd21b588f3f3259e58e1b3"
668+
sha256: "2ccf98d128d4d7995165a01afdf1b25dcd8ffa38ab9eb4a8606b39c5c71564b4"
669669
url: "https://pub.dev"
670670
source: hosted
671-
version: "0.0.21"
671+
version: "0.0.23"
672672
viam_sdk:
673673
dependency: "direct main"
674674
description:

example/hotspot_provisioning_example_app/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
# These are declared as published versions to maintain clean dependency structure.
1717
# Use dependency_overrides below to test with local versions during development.
1818
viam_sdk: ^0.11.0
19-
viam_flutter_hotspot_provisioning_widget: ^0.0.21
19+
viam_flutter_hotspot_provisioning_widget: ^0.0.23
2020

2121
dev_dependencies:
2222
flutter_test:

0 commit comments

Comments
 (0)