aws-samples / aws-samples/amplify-trips-planner

Unable to Edit Trip

Open
#4 10 comments 0 reactions 1 assignee Claimed by @mo-malaka View on GitHub
Dominant language
Dart
Stars
11
Forks
5
PR merge metrics
No merged PRs in 30d

Description

I am following this tutorial https://aws.amazon.com/getting-started/hands-on/build-flutter-mobile-app-part-two/module-one/ and it is broken. I have followed the steps on two separate occasions now and I've gotten the same result. I don't know who is writing these tutorials, but it sure doesn't inspire confidence in the Amplify framework. Anyway, here's my environment:

```
$ amplify --version
12.7.1
```

```
$ flutter --version
Flutter 3.13.9 • channel stable • https://github.com/flutter/flutter.git
Framework • revision d211f42860 (7 days ago) • 2023-10-25 13:42:25 -0700
Engine • revision 0545f8705d
Tools • Dart 3.1.5 • DevTools 2.25.0
```

```
$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.9, on macOS 13.4.1 22F770820d darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] VS Code (version 1.83.1)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!
```

1. Clone the Flutter app as the tutorial suggests `git clone https://github.com/aws-samples/amplify-trips-planner.git`
2. Change into the newly cloned repository. The command in the tutorial is wrong, btw. It says `cd amplify_trips_planner` but instead it should say `amplify-trips-planner` because that was the result of the git clone command.
3. Add dependencies according to the tutorial
4. `flutter pub get`
5. `amplify init`
6. `amplify push`
7. Start the project in an emulator
8. Add a Trip
9. Navigate to the newly created trip
10. Edit the trip by tapping the pencil Icon
11. Update the trip name and tap "OK"
12. The trip name was not updated

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.