Skip to content
Snippets Groups Projects
Commit 553b7cf7 authored by Maximilian Betz's avatar Maximilian Betz
Browse files

showing endpoint url in information widget

parent 271e787e
No related branches found
No related tags found
No related merge requests found
......@@ -40,8 +40,8 @@ A cross plattform project for android and ios to log events offline everywhere a
- Allow adding an event to more than one device (urn)! "make UrnId => UrnIds" sync a event to every listed urn. ? Really needed?
- Compile an Apple iOS version.
- On older Android 6 Devices the following error is shown" OS Error CERTIFICATE_VERIFY_FAILED: certificate has expired". Fix or require at least Android x?
- Show version information and build date
- Implement switch to select sandbox or productive version.
- Add Git Tags as version information and show in app.
- Implement switch to select sandbox or productive version?
## UI Feedback
- Colors
......
import 'package:flutter/material.dart';
import 'package:mobileeventlog/datamodel.dart';
import 'package:mobileeventlog/sensorconnector.dart';
class Overview extends StatelessWidget {
const Overview({Key? key}) : super(key: key);
Widget _buildPopupInfoDialog(BuildContext context) {
SensorConnector sensorConnector = SensorConnector();
return AlertDialog(
content: Column(
......@@ -19,7 +21,12 @@ class Overview extends StatelessWidget {
const SizedBox(height: 0),
const Text('o2a-support@awi.de'),
const SizedBox(height: 15),
const Text('API Endpoint:'),
Text(sensorConnector.baseUrl),
const SizedBox(height: 15),
const Text('Version: '),
Text('Git-Commit-Hash: ' + getGitHash()),
],
),
actions: <Widget>[
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment