Skip to content

Commit

Permalink
Resolve lint warnings. Update readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonbhanson committed Dec 31, 2023
1 parent 3350dae commit 677dbd4
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [2.3.9]

- Resolve lint warnings. Update readme.

## [2.3.8]

- Make functions private that should not be public.
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ First, add `flutter_native_splash` as a dependency in your pubspec.yaml file.

```yaml
dependencies:
flutter_native_splash: ^2.3.8
flutter_native_splash: ^2.3.9
```
Don't forget to `flutter pub get`.
Expand Down Expand Up @@ -387,6 +387,10 @@ Congrats you finished your setup for multiple flavors,

# FAQs

## I got the error 'module flutter_native_splash' not found.

You may need to run the `pod install` command in your app's `ios` folder.

## I got the error "A splash screen was provided to Flutter, but this is deprecated."

This message is not related to this package but is related to a [change](https://flutter.dev/docs/development/ui/advanced/splash-screen#migrating-from-manifest--activity-defined-custom-splash-screens) in how Flutter handles splash screens in Flutter 2.5. It is caused by having the following code in your `android/app/src/main/AndroidManifest.xml`, which was included by default in previous versions of Flutter:
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ packages:
path: ".."
relative: true
source: path
version: "2.3.8"
version: "2.3.9"
flutter_test:
dependency: "direct dev"
description: flutter
Expand Down
2 changes: 1 addition & 1 deletion lib/android.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of flutter_native_splash_cli;
part of 'cli_commands.dart';

/// Image template
class _AndroidDrawableTemplate {
Expand Down
2 changes: 1 addition & 1 deletion lib/constants.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of flutter_native_splash_cli;
part of 'cli_commands.dart';

// Web-related constants
const String _webFolder = 'web/';
Expand Down
2 changes: 1 addition & 1 deletion lib/flavor_helper.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of flutter_native_splash_cli;
part of 'cli_commands.dart';

class _FlavorHelper {
_FlavorHelper(this._flavor) {
Expand Down
2 changes: 1 addition & 1 deletion lib/ios.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of flutter_native_splash_cli;
part of 'cli_commands.dart';

// Image template
class _IosLaunchImageTemplate {
Expand Down
2 changes: 1 addition & 1 deletion lib/templates.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of flutter_native_splash_cli;
part of 'cli_commands.dart';

// Android-related templates

Expand Down
2 changes: 1 addition & 1 deletion lib/web.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of flutter_native_splash_cli;
part of 'cli_commands.dart';

// Image template
class _WebLaunchImageTemplate {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: flutter_native_splash
description: Customize Flutter's default white native splash screen with
background color and splash image. Supports dark mode, full screen, and more.
version: 2.3.8
version: 2.3.9
repository: https://github.com/jonbhanson/flutter_native_splash
issue_tracker: https://github.com/jonbhanson/flutter_native_splash/issues

Expand Down

0 comments on commit 677dbd4

Please sign in to comment.