Skip to content

Commit

Permalink
No conenction help
Browse files Browse the repository at this point in the history
  • Loading branch information
blopker committed Sep 19, 2023
1 parent fcbb6f8 commit 7e83452
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 7 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ Optionally, you can tap the "Edit" button to change the name of the bike.

## FAQ

### The app won't connect to my bike

Make sure your bike is on and your bluetooth is on. If you're on Android, make sure the app has location permissions. If you're on iOS, make sure the app has bluetooth permissions.

Make sure only one app is connected to the bike at a time. If you have the official app open, disconnect from the bike within the app, and close it. It can also help to uninstall the official app.

You can also try restarting the bike and your phone.

### I'm having an issue or have a feature request

I'm sorry! Please start by making sure you have the newest app from the app store. After that, please submit the issue to https://github.com/blopker/superduper/issues. It helps to have a way I can reproduce the issue, with screenshots or video. Alternatively, you may have luck either clearing all the app's data or reinstalling it.
Expand All @@ -52,12 +60,6 @@ So far, all bike models have worked. Open a ticket if your model is having issue

Superduper can only add automation around what the official app already does. It cannot, for instance, program the controller. This is the job of the firmware, software that runs on the bike itself.

### The app won't connect to my bike

Make sure your bike is on and your bluetooth is on. If you're on Android, make sure the app has location permissions. If you're on iOS, make sure the app has bluetooth permissions.

Make sure only one app is connected to the bike at a time. If you have the official app open, disconnect from the bike within the app, and close it. It can also help to uninstall the official app.

## Developers

### Releases
Expand Down
26 changes: 25 additions & 1 deletion lib/select_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import 'package:superduper/bike.dart';
import 'package:superduper/repository.dart';
import 'package:superduper/saved_bike.dart';
import 'package:superduper/widgets.dart';
import 'package:url_launcher/url_launcher.dart';

class BikeSelectWidget extends ConsumerStatefulWidget {
const BikeSelectWidget({super.key});
Expand Down Expand Up @@ -150,12 +151,35 @@ class BikeSelectWidgetState extends ConsumerState<BikeSelectWidget> {
const SizedBox(
height: 40,
),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
InkWell(
child: Text(
'Not connecting?',
style: Theme.of(context).textTheme.bodyMedium!.copyWith(
color: Colors.grey,
),
),
onTap: () async {
final Uri url =
Uri.parse('https://github.com/blopker/superduper#faq');
if (!await launchUrl(url)) {
throw Exception('Could not launch $url');
}
},
),
],
),
const SizedBox(
height: 40,
),
Row(
children: [
Expanded(
child: InkWell(
child: Text(
'Clear',
'Disconnect',
style: Theme.of(context).textTheme.bodyMedium,
),
onTap: () {
Expand Down

0 comments on commit 7e83452

Please sign in to comment.