Skip to content

Commit

Permalink
Release 2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
AngeloAvv committed Mar 10, 2024
1 parent 94afda1 commit e80dd59
Show file tree
Hide file tree
Showing 124 changed files with 272 additions and 207 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
## NEXT

## 2.2.2

* Fixed misleading error message: The following fields were missing
* Fixed destination to macosDestination in FirebaseProcessor
* Fixed PathNotFoundException: Cannot open file, path = '.idea/runConfigurations/main_<flavorname>_dart.xml' (OS Error: No such file or directory, errno = 2)
* Fixed 'flavorDimensions' is deprecated
* Added support for generating android adaptive icons
* Added support for buildConfigFields
* Added XcodeprojProcessor to verify the existence of the xcodeproj gem
* Bumped dependencies

## 2.2.1

* Fixed platform optionals error due to eager processors initialization

## 2.2.0
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2023 Angelo Cassano
Copyright (c) 2024 Angelo Cassano

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ in your [pubspec.yaml](https://dart.dev/tools/pub/pubspec):

```yaml
dev_dependencies:
flutter_flavorizr: ^2.2.1
flutter_flavorizr: ^2.2.2
```
You can install packages from the command line:
Expand Down Expand Up @@ -130,7 +130,7 @@ flavorizr:
| app | Object | | false | An object describing the general capabilities of an app |
| flavors | Array | | true | An array of items. Each of them describes a flavor configuration |
| [instructions](#available-instructions) | Array | | false | An array of instructions to customize the flavorizr process |
| assetsUrl | String | [link](https://github.com/AngeloAvv/flutter_flavorizr/releases/download/v2.2.1/assets.zip) | false | A string containing the URL of the zip assets file. The default points to the current release |
| assetsUrl | String | [link](https://github.com/AngeloAvv/flutter_flavorizr/releases/download/v2.2.2/assets.zip) | false | A string containing the URL of the zip assets file. The default points to the current release |
| ide | String | | false | The IDE in which the app is being developed. Currently only `vscode` or `idea` |

##### <a href="#available-instructions">Available instructions</a>
Expand Down Expand Up @@ -560,7 +560,7 @@ flavors:
```

## Troubleshooting
How to fix the error ["Unable to load contents of file list"](docs%2Ftroubleshooting%2Funable-to-load-contents-of-file-list%2FREADME.md)
How to fix the error ["Unable to load contents of file list"](doc%2Ftroubleshooting%2Funable-to-load-contents-of-file-list%2FREADME.md)

## Docs & Tutorials (from the community)
[Easily build flavors in Flutter (Android and iOS) with flutter_flavorizr](https://angeloavv.medium.com/easily-build-flavors-in-flutter-android-and-ios-with-flutter-flavorizr-d48cbf956e4) - Angelo Cassano
Expand Down
2 changes: 1 addition & 1 deletion bin/flutter_flavorizr.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ packages:
path: ".."
relative: true
source: path
version: "2.2.1"
version: "2.2.2"
flutter_test:
dependency: "direct dev"
description: flutter
Expand Down
2 changes: 1 addition & 1 deletion lib/flutter_flavorizr.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/entrypoint/run.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/exception/file_not_found_exception.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/exception/malformed_resource_exception.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/exception/missing_required_fields_exception.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/exception/null_fields_exception.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/extensions/extensions_map.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/extensions/extensions_string.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/parser/models/config/android.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/parser/models/config/app.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/parser/models/config/ios.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/parser/models/config/macos.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/parser/models/enums.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
4 changes: 2 additions & 2 deletions lib/src/parser/models/flavorizr.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down Expand Up @@ -45,7 +45,7 @@ class Flavorizr {

@JsonKey(
defaultValue:
'https://github.com/AngeloAvv/flutter_flavorizr/releases/download/v2.2.1/assets.zip')
'https://github.com/AngeloAvv/flutter_flavorizr/releases/download/v2.2.2/assets.zip')
final String assetsUrl;

@JsonKey()
Expand Down
2 changes: 1 addition & 1 deletion lib/src/parser/models/flavorizr.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/src/parser/models/flavors/android.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/parser/models/flavors/app.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/parser/models/flavors/commons/os.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/parser/models/flavors/darwin.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/parser/models/flavors/darwin/enums.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/parser/models/flavors/darwin/variable.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/parser/models/flavors/flavor.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/parser/models/pubspec.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/parser/parser.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/processors/android/android_manifest_processor.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/processors/commons/abstract_file_processor.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/processors/commons/abstract_processor.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/processors/commons/copy_file_processor.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/processors/commons/copy_folder_processor.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/processors/commons/delete_file_processor.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/processors/commons/download_file_processor.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/processors/commons/dummy_assets_processor.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/src/processors/commons/empty_file_processor.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Angelo Cassano
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
Loading

0 comments on commit e80dd59

Please sign in to comment.