diff --git a/.gitignore b/.gitignore
index 56fc237..fff34bf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@ packages
pubspec.lock
.flutter-plugins-dependencies
flutter_export_environment.sh
+*.iml
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d1a0382..3d4ccaa 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,9 @@
+## [1.6.0] - 2025
+
+* Forked from flutter_app_badger and renamed to ensemble_app_badger
+* Updated repository references to EnsembleUI organization
+* Updated package name and all references for pub.dev publication
+
## [1.5.0] - 16th September 2022
* PR #52 (Don't overwrite categories on iOS)
diff --git a/README.md b/README.md
index e1e85aa..117ff1f 100644
--- a/README.md
+++ b/README.md
@@ -1,17 +1,17 @@
-# Flutter App Badger plugin
+# Ensemble App Badger plugin
-[](https://pub.dartlang.org/packages/flutter_app_badger)
+[](https://pub.dartlang.org/packages/ensemble_app_badger)
This plugin for [Flutter](https://flutter.io) adds the ability to change the badge of the app in the launcher.
It supports iOS, macOS, and some Android devices (the official API does not support the feature, even on Oreo).
-
-
@@ -52,7 +52,7 @@ Thanks to the [Shortcut Badger library](https://github.com/leolin310148/Shortcut
First, you just have to import the package in your dart files with:
```dart
-import 'package:flutter_app_badger/flutter_app_badger.dart';
+import 'package:ensemble_app_badger/ensemble_app_badger.dart';
```
Then you can add a badge:
diff --git a/example/flutter_app_badger_example.iml b/example/flutter_app_badger_example.iml
deleted file mode 100644
index 485a35d..0000000
--- a/example/flutter_app_badger_example.iml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/example/flutter_app_badger_example_android.iml b/example/flutter_app_badger_example_android.iml
deleted file mode 100644
index 0ca70ed..0000000
--- a/example/flutter_app_badger_example_android.iml
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/example/lib/main.dart b/example/lib/main.dart
index 489828a..30a0b50 100644
--- a/example/lib/main.dart
+++ b/example/lib/main.dart
@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
-import 'package:flutter_app_badger/flutter_app_badger.dart';
+import 'package:ensemble_app_badger/ensemble_app_badger.dart';
void main() => runApp(new MyApp());
diff --git a/example/pubspec.yaml b/example/pubspec.yaml
index ae03a9c..788ed86 100644
--- a/example/pubspec.yaml
+++ b/example/pubspec.yaml
@@ -1,5 +1,5 @@
-name: flutter_app_badger_example
-description: Demonstrates how to use the flutter_app_badger plugin.
+name: ensemble_app_badger_example
+description: Demonstrates how to use the ensemble_app_badger plugin.
environment:
sdk: '>=2.12.0 <3.0.0'
@@ -16,7 +16,7 @@ dev_dependencies:
flutter_test:
sdk: flutter
- flutter_app_badger:
+ ensemble_app_badger:
path: ../
# For information on the generic Dart part of this file, see the
diff --git a/flutter_app_badger.iml b/flutter_app_badger.iml
deleted file mode 100644
index 54882b9..0000000
--- a/flutter_app_badger.iml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/flutter_app_badger_android.iml b/flutter_app_badger_android.iml
deleted file mode 100644
index 0ebb6c9..0000000
--- a/flutter_app_badger_android.iml
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/ios/flutter_app_badger.podspec b/ios/ensemble_app_badger.podspec
similarity index 67%
rename from ios/flutter_app_badger.podspec
rename to ios/ensemble_app_badger.podspec
index 6a311a0..156c541 100644
--- a/ios/flutter_app_badger.podspec
+++ b/ios/ensemble_app_badger.podspec
@@ -2,21 +2,21 @@
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
- s.name = 'flutter_app_badger'
- s.version = '1.3.1'
+ s.name = 'ensemble_app_badger'
+ s.version = '1.6.0'
s.summary = 'Plugin to update the app badge on the launcher (both for Android, iOS and macOS)'
s.description = <<-DESC
Plugin to update the app badge on the launcher (both for Android, iOS and macOS)
DESC
- s.homepage = 'https://github.com/ppprakhar/flutter_app_badger'
+ s.homepage = 'https://github.com/EnsembleUI/flutter_app_badger'
s.license = { :file => '../LICENSE' }
- s.author = 'Prakhar kant Tripathi'
+ s.author = 'EnsembleUI'
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'
s.ios.deployment_target = '8.0'
- s.resource_bundles = {'flutter_app_badger_privacy' => ['PrivacyInfo.xcprivacy']}
+ s.resource_bundles = {'ensemble_app_badger_privacy' => ['PrivacyInfo.xcprivacy']}
end
diff --git a/lib/flutter_app_badger.dart b/lib/ensemble_app_badger.dart
similarity index 100%
rename from lib/flutter_app_badger.dart
rename to lib/ensemble_app_badger.dart
diff --git a/macos/flutter_app_badger.podspec b/macos/ensemble_app_badger.podspec
similarity index 73%
rename from macos/flutter_app_badger.podspec
rename to macos/ensemble_app_badger.podspec
index ca30155..c996a10 100644
--- a/macos/flutter_app_badger.podspec
+++ b/macos/ensemble_app_badger.podspec
@@ -1,13 +1,13 @@
Pod::Spec.new do |s|
- s.name = 'flutter_app_badger'
- s.version = '1.3.0'
+ s.name = 'ensemble_app_badger'
+ s.version = '1.6.0'
s.summary = 'Plugin to update the app badge on the launcher (both for Android, iOS and macOS)'
s.description = <<-DESC
Plugin to update the app badge on the launcher (both for Android, iOS and macOS)
DESC
- s.homepage = 'https://github.com/ppprakhar/flutter_app_badger'
+ s.homepage = 'https://github.com/EnsembleUI/flutter_app_badger'
s.license = { :file => '../LICENSE' }
- s.author = 'Edouard Marquez'
+ s.author = 'EnsembleUI'
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'
diff --git a/pubspec.yaml b/pubspec.yaml
index c0bb4e0..1cb3b29 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,11 +1,11 @@
-name: flutter_app_badger
+name: ensemble_app_badger
description: Plugin to update the app badge on the launcher (both for Android, iOS, and macOS)
-version: 1.5.2
-homepage: https://github.com/ppprakhar/flutter_app_badger
+version: 1.6.0
+homepage: https://github.com/EnsembleUI/flutter_app_badger
environment:
sdk: '>=2.17.0 <4.0.0'
- flutter: '>=3.0.0 <4.0.0'
+ flutter: '>=3.0.0'
dependencies:
flutter: