Skip to content

Commit 1c485cc

Browse files
committed
fix: fix issues regarding call of super.dispose + fix error in documentation
1 parent b23f45c commit 1c485cc

27 files changed

+72
-60
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ To better foster an open, innovative and inclusive community please refer to our
1010

1111
### Report a bug
1212

13-
If you think you've found a bug, please log a new issue in the [GitHub issue
14-
tracker. When filing issues, please use our [issue
13+
If you think you've found a bug, please log a new issue in the
14+
[GitHub issue tracker](https://github.com/nventive/FlutterApplicationTemplate/issues).
15+
When filing issues, please use our [issue
1516
template](.github/ISSUE_TEMPLATE.md). The best way to get your bug fixed is to
1617
be as detailed as you can be about the problem. Providing a minimal project with
1718
steps to reproduce the problem is ideal. Here are questions you can answer

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ We use a Dart CLI application to easily create new projects.
4141

4242
## Changelog
4343

44-
Please consult the [CHANGELOG](CHANGELOG.md) for more information about the version history.
44+
Please consult the [CHANGELOG](src/cli/CHANGELOG.md) for more information about the version history.
4545

4646
## License
4747

build/templates/replace-firebase-config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ parameters:
1111
steps:
1212
- task: DownloadSecureFile@1
1313
name: firebaseJson
14-
displayName: "Download Keystore from Secure Files"
14+
displayName: "Download firebaseJson from Secure Files"
1515
inputs:
1616
secureFile: ${{ parameters.firebaseJsonFile }}
1717

1818
- task: DownloadSecureFile@1
1919
name: firebaseOptionsDart
20-
displayName: "Download Keystore from Secure Files"
20+
displayName: "Download firebaseOptionsDart from Secure Files"
2121
inputs:
2222
secureFile: ${{ parameters.firebaseOptionsDartFile }}
2323

2424
- task: DownloadSecureFile@1
2525
name: googleServicesJson
26-
displayName: "Download Keystore from Secure Files"
26+
displayName: "Download googleServicesJson from Secure Files"
2727
inputs:
2828
secureFile: ${{ parameters.googleServicesJsonFile }}
2929

build/templates/validate-commits.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ steps:
3939
}
4040
4141
if($invalidCommits.count -gt 0) {
42-
Write-Error "The following commit messages do no follow the Conventional Commits standard: `n$($invalidCommits -join "`n")"
42+
Write-Error "The following commit messages do not follow the Conventional Commits standard: `n$($invalidCommits -join "`n")"
4343
exit 1
4444
} else {
4545
Write-Host "All commit messages are valid."

build/variables.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
DockerVersion: '25.0.5'
6969

7070
# MobSF Auth key.
71-
# Corrresponds to the key used for authenticating requests to the MobSF API. In this pipeline setup, MobSF runs in a docker container and by
71+
# Corresponds to the key used for authenticating requests to the MobSF API. In this pipeline setup, MobSF runs in a docker container and by
7272
# default the API key is randomly generated by MobSF itself when running it in a dedicated server, but because we're automating the process
7373
# we need to manually set it beforehand so we can authenticate further requests. Can be set to any string. More info:
7474
# - https://mobsf.github.io/docs/#/extras?id=extra-features
@@ -80,8 +80,8 @@
8080
macOSHostedAgentImage: 'macOS-15'
8181
ubuntuHostedAgentImage: 'ubuntu-22.04'
8282

83-
# Name of the folder where the artefacts will be placed. Variable used in build and release phases.
84-
# We make seperate folders so that releases can each download only the folder they need.
83+
# Name of the folder where the artifacts will be placed. Variable used in build and release phases.
84+
# We make separate folders so that releases can each download only the folder they need.
8585
AndroidArtifactName: Android
8686
iOSArtifactName: iOS
8787
WindowsArtifactName: Windows

doc/Architecture.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ See [ForcedUpdate.md](ForcedUpdate.md) for more details.
8282

8383
### Kill Switch
8484

85-
This application contains Kill switch feature.
85+
This application contains a kill switch feature.
8686

8787
See [KillSwitch.md](KillSwitch.md) for more details.
8888

@@ -96,7 +96,7 @@ See [HTTP.md](HTTP.md) for more details.
9696

9797
### Local Storage
9898

99-
This applications uses [Shared Preferences](https://pub.dev/packages/shared_preferences) to store data locally.
99+
This application uses [Shared Preferences](https://pub.dev/packages/shared_preferences) to store data locally.
100100

101101
### JSON Serialization
102102

doc/AzurePipelines.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ This is where the exact build steps are defined. These vary depending on the pla
7272
1. Push the built artifacts (.ipa, .apk/.aab, release notes, etc.).
7373
1. Cleanup.
7474

75-
The release stages are even more straigtforward than the build ones. One thing to note is that, for the same reason as it is done at the end of the build steps, a clean-up step is included in every stage.
75+
The release stages are even more straightforward than the build ones. One thing to note is that, for the same reason as it is done at the end of the build steps, a clean-up step is included in every stage.
7676

7777
### Firebase App Distribution Release Stage ([stage-release-firebase-app-distribution.yml](../build/stage-release-firebase-app-distribution.yml))
7878

@@ -89,5 +89,11 @@ This should only be run for configurations that properly sign the application.
8989
Similar to the App Store stage, this stage pushes the **AAB** produced by the build to the Google Play Store.
9090
This is also meant for a properly signed AAB.
9191

92+
### Security Scan Stage ([stage-security-scan.yml](../build/stage-security-scan.yml))
93+
94+
This stage runs a static application security testing (SAST) scan on the built application binaries using MobSF.
95+
96+
See [SecurityScan.md](SecurityScan.md) for more details.
97+
9298
This pipeline should be setup as a **scheduled pipeline** that runs every night and **should NOT be part of build validation**.
9399
PRs should not be blocked when APIs are down.

doc/Diagnostics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ This is useful when you want to see something happening live.
1515
The default buttons include commands such as the following.
1616
- **Expand/Minimize** opens or closes the expanded view of the overlay.
1717
- **Move** moves the overlay left or right.
18-
- **X** hides the overlay for the remaining of the app cycle.
18+
- **X** hides the overlay for the remainder of the app cycle.
1919
- If you want to permanently hide the diagnostic, go to the environment section within the expanded overlay.
2020

2121
## Expanded overlay widgets
2222

2323
The expanded diagnostics overlay has by default two widgets.
2424

2525
The navigation widget has some buttons with commands on them that allow you to do some navigation in the app.
26-
The DeviceInfo widgets contains some information on the device and the app.
26+
The DeviceInfo widget contains some information on the device and the app.
2727
The environment widget which lets the user change the environment. See [Environment.md](./Environment.md) for more details.
2828
The loggers widget which lets the user test logging and modify logging configuration. See [Logging.md](./Logging.md) for more details.

doc/Environment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Environments
22

3-
We use `.env` files to store environment configuration with the help of [dotenv](https://pub.dev/packages/dotenv).
3+
We use `.env` files to store environment configuration with the help of [flutter_dotenv](https://pub.dev/packages/flutter_dotenv).
44

55
## Runtime environments
66

@@ -42,6 +42,6 @@ Multiple environment features can be tested from the diagnostics overlay.
4242
This is configured in [EnvironmentPickerWidget](../src/app/lib/presentation/diagnostic/environment_picker_widget.dart).
4343

4444
- You can see the current runtime environment.
45-
- You can see what the environment will be overriden to.
45+
- You can see what the environment will be overridden to.
4646
- You can switch to another runtime environment.
4747
- You can reset the environment to its default value.

doc/ForcedUpdate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The forced update feature is for when you want to force the user to update the app.
44
You could use this, for example, when the backend changes and you do not want the users to still use the old API.
55

6-
To force an update, we wait for a `Future` `checkUpdateRequired()` to be resolved from the `UpdateRequiredservice` in the [main file of the app.](../src/app/lib/main.dart).
6+
To force an update, we wait for a `Future` `waitForUpdateRequired()` to be resolved from the `UpdateRequiredService` in the [main file of the app.](../src/app/lib/main.dart).
77

88
This will redirect the user to [a page](../src/app/lib/presentation/forced_update/forced_update_page.dart) from which they cannot navigate back.
99
The minimum update required is defined in a [Firebase Remote Config](/doc/FirebaseRemoteConfig.md).

0 commit comments

Comments
 (0)