RoadTripMoustache / kana_to_kanji

Simple application to learn Japanese kana (hiragana, katakana) and kanji
5 stars 1 forks source link

feat: inform that a new version is available #255

Closed Adaendra closed 1 month ago

Adaendra commented 1 month ago

Prerequisites

Related PR

📖 Description

Implementation of upgrader to inform the user that a new version of the application is out and help them to get it easily.

⁉️ Related Issues

closes: #29

🖼️ Screenshots:

Use case [issue_29.webm](https://github.com/RoadTripMoustache/kana_to_kanji/assets/36586573/30a2f1a0-6956-4eff-bfbf-2623387e6f18)

🧪 How to test the change?

}

- Add the following code in the `build` method of `prepare_quiz-view.dart`
```dart
final upgrader = MyUpgrader(
      debugLogging: true,
      storeController: UpgraderStoreController(
        onAndroid: () => UpgraderAppcastStore(
            appcastURL:
                'https://raw.githubusercontent.com/larryaasen/upgrader/master/test/testappcast.xml'),
        oniOS: () => UpgraderAppcastStore(
            appcastURL:
                'https://raw.githubusercontent.com/larryaasen/upgrader/master/test/testappcast.xml'),
      ),
    );

☑️ Checklist before requesting a review

github-actions[bot] commented 1 month ago

Bump version from 0.25.1+1 to 0.26.0+1

github-actions[bot] commented 1 month ago

Coverage after merging issue_29 into main will be

47.64%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
lib/src/core/widgets
   app_snack_bar_upgrader.dart0%100%100%0%10–11, 17, 27–34, 40, 6
lib/src/quiz/prepare
   prepare_quiz_view.dart0%100%100%0%15, 17, 19, 21–24, 26–27, 30–33, 35–36, 40–50, 53, 55–58, 60–63, 67, 69–72, 82–85
github-actions[bot] commented 1 month ago

Bump version from 0.25.5+1 to 0.26.0+1

github-actions[bot] commented 1 month ago

Coverage after merging issue_29 into main will be

47.64%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
lib/src/core/widgets
   app_snack_bar_upgrader.dart0%100%100%0%10–11, 17, 27–34, 40, 6
lib/src/quiz/prepare
   prepare_quiz_view.dart0%100%100%0%15, 17, 19, 21–24, 26–27, 30–33, 35–36, 40–50, 53, 55–58, 60–63, 67, 69–72, 82–85
github-actions[bot] commented 1 month ago

Bump version from 0.26.0+1 to 0.27.0+1

github-actions[bot] commented 1 month ago

Coverage after merging issue_29 into main will be

47.64%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
lib/src/core/widgets
   app_snack_bar_upgrader.dart0%100%100%0%10–11, 17, 27–34, 40, 6
lib/src/quiz/prepare
   prepare_quiz_view.dart0%100%100%0%15, 17, 19, 21–24, 26–27, 30–33, 35–36, 40–50, 53, 55–58, 60–63, 67, 69–72, 82–85
github-actions[bot] commented 1 month ago

Bump version from 0.26.1+1 to 0.27.0+1

github-actions[bot] commented 1 month ago

Coverage after merging issue_29 into main will be

47.64%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
lib/src/core/widgets
   app_snack_bar_upgrader.dart0%100%100%0%10–11, 17, 27–34, 40, 6
lib/src/quiz/prepare
   prepare_quiz_view.dart0%100%100%0%15, 17, 19, 21–24, 26–27, 30–33, 35–36, 40–50, 53, 55–58, 60–63, 67, 69–72, 82–85
github-actions[bot] commented 1 month ago

Coverage after merging issue_29 into main will be

47.64%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
lib/src/core/widgets
   app_snack_bar_upgrader.dart0%100%100%0%10–11, 17, 27–34, 40, 6
lib/src/quiz/prepare
   prepare_quiz_view.dart0%100%100%0%15, 17, 19, 21–24, 26–27, 30–33, 35–36, 40–50, 53, 55–58, 60–63, 67, 69–72, 82–85
github-actions[bot] commented 1 month ago

Bump version from 0.27.0+1 to 0.28.0+1

github-actions[bot] commented 1 month ago

Coverage after merging issue_29 into main will be

48.10%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
lib/src/core/widgets
   app_snack_bar_upgrader.dart0%100%100%0%10–11, 17, 27–34, 40, 6
lib/src/quiz/prepare
   prepare_quiz_view.dart0%100%100%0%15, 17, 19, 21–24, 26–27, 30–33, 35–36, 40–50, 53, 55–58, 60–63, 67, 69–72, 82–85
github-actions[bot] commented 1 month ago

Coverage after merging issue_29 into main will be

48.10%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
lib/src/core/widgets
   app_snack_bar_upgrader.dart0%100%100%0%10–11, 17, 27–34, 40, 6
lib/src/quiz/prepare
   prepare_quiz_view.dart0%100%100%0%15, 17, 19, 21–24, 26–27, 30–33, 35–36, 40–50, 53, 55–58, 60–63, 67, 69–72, 82–85
github-actions[bot] commented 1 month ago

Coverage after merging issue_29 into main will be

48.10%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
lib/src/core/widgets
   app_snack_bar_upgrader.dart0%100%100%0%10–11, 17, 27–34, 40, 6
lib/src/quiz/prepare
   prepare_quiz_view.dart0%100%100%0%15, 17, 19, 21–24, 26–27, 30–33, 35–36, 40–50, 53, 55–58, 60–63, 67, 69–72, 82–85
github-actions[bot] commented 1 month ago

Coverage after merging issue_29 into main will be

48.42%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
github-actions[bot] commented 1 month ago

Bump version from 0.28.1+1 to 0.29.0+1

github-actions[bot] commented 1 month ago

Coverage after merging issue_29 into main will be

49.61%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
github-actions[bot] commented 1 month ago

Bump version from 0.29.0+1 to 0.30.0+1

github-actions[bot] commented 1 month ago

Bump version from 0.29.0+1 to 0.30.0+1

github-actions[bot] commented 1 month ago

Coverage after merging issue_29 into main will be

50.25%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines