Skip to content

Publish app badger #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ packages
pubspec.lock
.flutter-plugins-dependencies
flutter_export_environment.sh
*.iml
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Flutter App Badger plugin
# Ensemble App Badger plugin

[![Pub](https://img.shields.io/pub/v/flutter_app_badger.svg)](https://pub.dartlang.org/packages/flutter_app_badger)
[![Pub](https://img.shields.io/pub/v/ensemble_app_badger.svg)](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).

<p align="center">
<img src="https://raw.githubusercontent.com/ppprakhar/flutter_app_badger/master/assets/ios.png" alt="Android badge" style="margin:auto" width="600"
<img src="https://raw.githubusercontent.com/EnsembleUI/flutter_app_badger/master/assets/ios.png" alt="Android badge" style="margin:auto" width="600"
height="228">
</p>

<p align="center">
<img src="https://raw.githubusercontent.com/ppprakhar/flutter_app_badger/master/assets/android.png" alt="Android badge" style="margin:auto" width="600"
<img src="https://raw.githubusercontent.com/EnsembleUI/flutter_app_badger/master/assets/android.png" alt="Android badge" style="margin:auto" width="600"
height="322">
</p>

Expand Down Expand Up @@ -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:
Expand Down
17 changes: 0 additions & 17 deletions example/flutter_app_badger_example.iml

This file was deleted.

26 changes: 0 additions & 26 deletions example/flutter_app_badger_example_android.iml

This file was deleted.

2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
@@ -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());

Expand Down
6 changes: 3 additions & 3 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -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
Expand Down
17 changes: 0 additions & 17 deletions flutter_app_badger.iml

This file was deleted.

29 changes: 0 additions & 29 deletions flutter_app_badger_android.iml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -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

File renamed without changes.
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
8 changes: 4 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down