@@ -95,7 +95,8 @@ class Application {
print(e);
}
infos.forEach((key, value) {
- infos[key] = Uri.encodeComponent(value);
+ if(value is String)
+ infos[key] = Uri.encodeComponent(value);
});
return infos;
@@ -47,6 +47,7 @@ class _SearchDeviceConnectDialog extends State<SearchDeviceConnectDialog> with S
}));
addSubscription(_flutterReactiveBle.connectedDeviceStream.listen((event) {
+ if(_timer == null)return;
// if (event.failure != null) return;
// print("11111111111111111111111 $event $_timer");