Buscar pacotes, repositórios e categorias de apps

Repositório GitHubDigitalInnovationGroup/flutter_app_badge

flutter_app_badge

Suporte para atualizar o badge do aplicativo no iOS

Capa do projeto flutter_app_badge
Estrelas
2
Forks
1
Último push (UTC)
21 de jul. de 2023
Status do projeto
Ativo

README original

Texto original em inglês. Visite o GitHub para a versão atual.

Flutter app badge plugin

Pub

Fork of flutter_app_badger.

This plugin for Flutter adds the ability to change the badge of the IOS app.

Ios badge

Getting Started

iOS

On iOS, the notification permission is required to update the badge. It is automatically asked when the badge is added or removed.

Enable Remote notification in XCode:

IOS Remote notification

Or add in <project>/ios/Runner/Info.plist:

<key>UIBackgroundModes</key>
<array>
    <string>remote-notification</string>
</array>
Dart

First, you just have to import the package in your dart files with:

import 'package:flutter_app_badge/flutter_app_badge.dart';

Then you can add a badge:

FlutterAppBadge.count(1);

Remove a badge:

FlutterAppBadge.count(0);
DigitalInnovationGroup GitHub avatar
Autor no GitHub

DigitalInnovationGroup ↗

LinguagensDartObjective-CRuby

Categorias

Dependências usadas

Lista de dependências 1 itens

  • flutter{"sdk":"flutter"}

Como escolher um repositório para seu projeto?

Filtre pelo caso de uso, compare a atividade e confira o projeto original antes de adotá-lo.

  1. Busque por nome, autor ou descrição e filtre por tema.
  2. Compare estrelas, forks e envios recentes. Estrelas indicam interesse, mas não garantem qualidade.
  3. Confira o README, a licença e as issues no GitHub antes de usar o projeto.

Fontes e manutenção

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗