Support to update the app badge on the launcher (both for Android and iOS)

Overview

Flutter App Badger plugin

Pub

This plugin for Flutter adds the ability to change the badge of the app in the launcher. It supports iOS and some Android devices (the official API does not support the feature, even on Oreo).

Android badge

Android 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.

Please also add the following to your Info.plist:

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

Android

On Android, no official API exists to show a badge in the launcher. But some devices (Samsung, HTC...) support the feature. Thanks to the Shortcut Badger library, ~ 16 launchers are supported.

Dart

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

import 'package:flutter_app_badger/flutter_app_badger.dart';

Then you can add a badge:

FlutterAppBadger.updateBadgeCount(1);

Remove a badge:

FlutterAppBadger.removeBadge();

Or just check if the device supports this feature with:

FlutterAppBadger.isAppBadgeSupported();
Comments
  • Error when build release

    Error when build release

    I get this error when try to build release version for android with comman flutter build apk --release:

    * What went wrong:                                                      
    Execution failed for task ':app:lintVitalRelease'.                      
    > Could not resolve all artifacts for configuration ':app:debugAndroidTestRuntimeClasspath'.
       > Could not resolve com.google.android.gms:play-services-base:[15.0.0,16.0.0).
         Required by:                                                       
             project :app > com.google.android.gms:play-services-cast-framework:15.0.0
             project :app > com.google.android.gms:play-services-cast:15.0.0
          > Failed to list versions for com.google.android.gms:play-services-base.
             > Could not list versions using M2 pattern 'https://raw.github.com/g123k/ShortcutBadger/master/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier])(.[ext])'.
                > Could not get resource 'https://raw.github.com/g123k/ShortcutBadger/master/com/google/android/gms/play-services-base/'.
                   > Could not GET 'https://raw.github.com/g123k/ShortcutBadger/master/com/google/android/gms/play-services-base/'. Received status code 400 from server: Bad Request
       > Could not resolve com.google.android.gms:play-services-basement:[15.0.0,16.0.0).
         Required by:                                                       
             project :app > com.google.android.gms:play-services-cast-framework:15.0.0
             project :app > com.google.android.gms:play-services-cast:15.0.0
          > Failed to list versions for com.google.android.gms:play-services-basement.
             > Could not list versions using M2 pattern 'https://raw.github.com/g123k/ShortcutBadger/master/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier])(.[ext])'.
                > Could not get resource 'https://raw.github.com/g123k/ShortcutBadger/master/com/google/android/gms/play-services-basement/'.
                   > Could not GET 'https://raw.github.com/g123k/ShortcutBadger/master/com/google/android/gms/play-services-basement/'. Received status code 400 from server: Bad Request
       > Could not resolve com.google.android.gms:play-services-tasks:[15.0.0,16.0.0).
         Required by:                                                       
             project :app > com.google.android.gms:play-services-cast:15.0.0
          > Failed to list versions for com.google.android.gms:play-services-tasks.
             > Could not list versions using M2 pattern 'https://raw.github.com/g123k/ShortcutBadger/master/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier])(.[ext])'.
                > Could not get resource 'https://raw.github.com/g123k/ShortcutBadger/master/com/google/android/gms/play-services-tasks/'.
                   > Could not GET 'https://raw.github.com/g123k/ShortcutBadger/master/com/google/android/gms/play-services-tasks/'. Received status code 400 from server: Bad Request
       > Could not resolve com.google.android.gms:play-services-base:[15.0.1].
         Required by:                                                       
             project :app > com.google.android.gms:play-services-flags:15.0.1
          > Failed to list versions for com.google.android.gms:play-services-base.
             > Could not list versions using M2 pattern 'https://raw.github.com/g123k/ShortcutBadger/master/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier])(.[ext])'.
                > Could not get resource 'https://raw.github.com/g123k/ShortcutBadger/master/com/google/android/gms/play-services-base/'.
                   > Could not GET 'https://raw.github.com/g123k/ShortcutBadger/master/com/google/android/gms/play-services-base/'. Received status code 400 from server: Bad Request
       > Could not resolve com.google.android.gms:play-services-basement:[15.0.1].
         Required by:                                                       
             project :app > com.google.android.gms:play-services-flags:15.0.1
          > Failed to list versions for com.google.android.gms:play-services-basement.
             > Could not list versions using M2 pattern 'https://raw.github.com/g123k/ShortcutBadger/master/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier])(.[ext])'.
                > Could not get resource 'https://raw.github.com/g123k/ShortcutBadger/master/com/google/android/gms/play-services-basement/'.
                   > Could not GET 'https://raw.github.com/g123k/ShortcutBadger/master/com/google/android/gms/play-services-basement/'. Received status code 400 from server: Bad Request
    
    opened by catacs 18
  • The plugin `flutter_app_badger` uses a deprecated version of the Android embedding.

    The plugin `flutter_app_badger` uses a deprecated version of the Android embedding.

    AndroidStudio/Flutter shows this warning.

    The plugin flutter_app_badger uses a deprecated version of the Android embedding. To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs. If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

    opened by jakusb 10
  • Adding this package makes the android app stopped working

    Adding this package makes the android app stopped working

    So even if I'm not using it yet and added it as a package that makes android app to stop working right away. I'm using flutter_app_badger: ^1.0.2 with android V 5.0

    opened by Basim-Elayan 7
  • Unhandled Exception: MissingPluginException(No implementation found for method updateBadgeCount on channel flutter_app_badger)

    Unhandled Exception: MissingPluginException(No implementation found for method updateBadgeCount on channel flutter_app_badger)

    I integrate the plugin but when I run the code, I am getting following error.

    E/flutter (14767): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: MissingPluginException(No implementation found for method updateBadgeCount on channel app_badge) E/flutter (14767): #0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:7) E/flutter (14767): E/flutter (14767): #1 FlutterAppBadger.updateBadgeCount (package:flutter_app_badger/flutter_app_badger.dart:12:14) E/flutter (14767): #2 _BottomNavBarAppState.calculateCounter.. (package:smartmd/bottomNavigation/BottomNavBarApp.dart:271:26) E/flutter (14767): #3 _rootRunUnary (dart:async/zone.dart:1132:38) E/flutter (14767): #4 _CustomZone.runUnary (dart:async/zone.dart:1029:19) E/flutter (14767): #5 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) E/flutter (14767): #6 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) E/flutter (14767): #7 Future._propagateToListeners (dart:async/future_impl.dart:668:32) E/flutter (14767): #8 Future._complete (dart:async/future_impl.dart:473:7) E/flutter (14767): #9 _SyncCompleter.complete (dart:async/future_impl.dart:51:12) E/flutter (14767): #10 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:28:18) E/flutter (14767): #11 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:294:13)

    opened by Maulik009 4
  • Unable updateBadgeCount in OnBackgroundMessage

    Unable updateBadgeCount in OnBackgroundMessage

    Hi I'm adopting the latest version 1.1.2. It works in normal implementation on my Android device. But if I add the code into FCM onBackgroundMessage, it generate the error "MissingPluginException(No implementation found for method updateBadgeCount on channel g123k/flutter_app_badger)".

    This is different with the issue #13 "https://github.com/g123k/flutter_app_badger/issues/13" I still try the issue #13 is recommended to do "flutter clean", "flutter pub get", of course, not help.

    My error is about the plugin is not registered in Android due to the onBackgroundMessage is an isolate code, not depend on the base app. So, I believe there is something should be registered in Application.java. For example, for access SharedPreferences in onBackgroundMessage, we need to add SharedPreferencesPlugin.registerWith(registry.registrarFor("io.flutter.plugins.sharedpreferences.SharedPreferencesPlugin")); but I have no idea for app_badge, what should be registerWith? Could you help?

    opened by JmyW 3
  • Does not work in background mode android on background message function

    Does not work in background mode android on background message function

    I tried it in background message like this but throws errors {Unhandled Exception: MissingPluginException(No implementation found for method updateBadgeCount on channel g123k/flutter_app_badger)}

    Future myBackgroundMessageHandler(Map<String, dynamic> message) async { FlutterAppBadger.updateBadgeCount(1); }

    But works perfectly in here. Gives problem only in background message function

    Widget build(BuildContext context) { _firebaseMessaging.configure( onMessage: (Map<String, dynamic> message) async { FlutterAppBadger.updateBadgeCount(1); },); }

    opened by wfybiz 3
  • Not able to make it work

    Not able to make it work

    I could able to install this package but not able to run/build Android app. pubspec.yaml

    cupertino_icons: ^0.1.2
      cloud_firestore: ^0.12.11
      firebase_auth:
        git:
          url: https://github.com/collinjackson/plugins.git
          ref: 441417c2fed0ff26bf84a49ab2c5ffd2aa5487de
          path: packages/firebase_auth
      flutter_form_builder: ^3.4.0
      flutter_cupertino_date_picker: ^1.0.11
      image_picker: ^0.6.1+4
      firebase_database: ^3.1.0
      firebase_storage: ^3.0.10
      dio: ^2.1.16
      path_provider: ^1.2.0
      open_file: ^2.0.3
      http: ^0.12.0+1
      random_string: ^1.1.0
      network_to_file_image: ^2.0.6
      country_pickers: ^1.1.0
      video_player: ^0.10.2+5
      super_tooltip: ^0.9.0
      flutter_chips_input: ^1.6.1
      intl_phone_number_input: ^0.1.1
      libphonenumber: ^1.0.0
      flutter_plugin_pdf_viewer: ^1.0.7
      time_machine: ^0.9.8
      pin_input_text_field: ^2.0.0
      url_launcher: ^5.1.2
      mime_type: ^0.2.4
      image_cropper: ^1.1.0
      get_it: ^1.0.3+2
      liquid_swipe: ^1.1.0
      modal_progress_hud: ^0.1.3
      flutter_secure_storage: ^3.2.1+1
      flutter_launcher_icons: ^0.7.3
      dots_indicator: ^1.0.0
      grouped_buttons: ^1.0.4
      fluttertoast : ^3.1.0
      bubble: ^1.1.9+1
      circular_custom_loader: ^1.0.6
      file_picker: ^1.3.3
      flutter_offline: ^0.2.4
      async: ^2.3.0
      dragablegridview_flutter: ^0.2.5
      intl: ^0.15.8
      flutter_datetime_picker: ^1.2.8
      timeago: ^2.0.19
      md2_tab_indicator: ^1.0.2
      flutter_parsed_text: ^1.1.0
      uuid: ^2.0.1
      transparent_image: ^1.0.0
      flutter_sound: ^1.4.8
      chewie: ^0.9.8+1
      audioplayers: ^0.13.0
      flutter_document_picker: ^3.0.0
      permission_handler: ^3.2.2
      share: ^0.6.2+4
      onesignal_flutter: ^2.0.0
      flutter_app_badger: ^1.1.1
      badges: ^1.1.0
      bubble_bottom_bar: ^1.2.0
      flutter_native_splash: ^0.1.9 
      flutter_statusbar_manager: ^1.0.2
      keyboard_avoider: ^0.1.2
      connectivity: 0.4.4+1
      cool_ui: ^0.3.1
    

    Error I'm getting

    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Could not determine the dependencies of task ':app:preDebugBuild'.
    > Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
       > Could not resolve com.google.android.gms:play-services-ads-identifier:[15.0.0, 16.0.99].
         Required by:
             project :app > com.onesignal:OneSignal:3.12.3
          > Failed to list versions for com.google.android.gms:play-services-ads-identifier.
             > Could not list versions using M2 pattern 'https://raw.github.com/g123k/ShortcutBadger/master/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier])(.[ext])'.
                > Could not get resource 'https://raw.github.com/g123k/ShortcutBadger/master/com/google/android/gms/play-services-ads-identifier/'.
                   > Could not GET 'https://raw.githubusercontent.com/g123k/ShortcutBadger/master/com/google/android/gms/play-services-ads-identifier/'. Received status code 400 from server: Bad Request
       > Could not resolve com.google.firebase:firebase-iid:[18.0.0].
         Required by:
             project :app > com.google.firebase:firebase-messaging:18.0.0
          > Failed to list versions for com.google.firebase:firebase-iid.
             > Could not list versions using M2 pattern 'https://raw.github.com/g123k/ShortcutBadger/master/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier])(.[ext])'.
                > Could not get resource 'https://raw.github.com/g123k/ShortcutBadger/master/com/google/firebase/firebase-iid/'.
                   > Could not GET 'https://raw.githubusercontent.com/g123k/ShortcutBadger/master/com/google/firebase/firebase-iid/'. Received status code 400 from server: Bad Request
       > Could not resolve com.google.android.gms:play-services-basement:[15.0.1,16.0.0).
         Required by:
             project :app > com.google.android.gms:play-services-location:15.0.1
             project :app > com.google.android.gms:play-services-places-placereport:15.0.1
          > Failed to list versions for com.google.android.gms:play-services-basement.
             > Could not list versions using M2 pattern 'https://raw.github.com/g123k/ShortcutBadger/master/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier])(.[ext])'.
                > Could not get resource 'https://raw.github.com/g123k/ShortcutBadger/master/com/google/android/gms/play-services-basement/'.
                   > Could not GET 'https://raw.githubusercontent.com/g123k/ShortcutBadger/master/com/google/android/gms/play-services-basement/'. Received status code 400 from server: Bad Request
       > Could not resolve com.google.android.gms:play-services-tasks:[15.0.1,16.0.0).
         Required by:
             project :app > com.google.android.gms:play-services-location:15.0.1
          > Failed to list versions for com.google.android.gms:play-services-tasks.
             > Could not list versions using M2 pattern 'https://raw.github.com/g123k/ShortcutBadger/master/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier])(.[ext])'.
                > Could not get resource 'https://raw.github.com/g123k/ShortcutBadger/master/com/google/android/gms/play-services-tasks/'.
                   > Could not GET 'https://raw.githubusercontent.com/g123k/ShortcutBadger/master/com/google/android/gms/play-services-tasks/'. Received status code 400 from server: Bad Request
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
    
    * Get more help at https://help.gradle.org
    
    BUILD FAILED in 2m 59s
    

    If I remove this package, app runs without a single change. Kindly help

    opened by mubasshir 3
  • feat: support android badge include oreo+ version

    feat: support android badge include oreo+ version

    Hi. Android Oreo+ officially support App Badge. But it needs NotificationChannel.

    Features

    • Support Android Oreo+ App Badge
    • Migration embedding v2 Flutter Example

    IMPORTANT

    In Oreo+ Version, it need ic_launcher.png app logo file in android/app/src/main/res/drawable folder. Because of NotificationChannel's Noti must need app logo file. image

    References

    • https://developer.android.com/training/notify-user/badges#java
    • https://developer.android.com/training/notify-user/channels
    • https://samse.tistory.com/entry/Android-Badge-count
    opened by beygee 2
  • Add support for macos

    Add support for macos

    Hi,

    This PR adds support for macos. It works in a similar fashion to iOS. Let me know if you can pull this in as-is or if any other changes are needed.

    Refs #49

    opened by ariejan 2
  • build release apk error

    build release apk error

    I use flutter_app_badger: ^1.1.2. I got this error when I build release apk:

    FAILURE: Build failed with an exception.

    • What went wrong: Task 'assembleAarRelease' not found in root project 'flutter_app_badger'.

    • Try: Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    • Get more help at https://help.gradle.org

    BUILD FAILED in 1s

    The plugin flutter_app_badger could not be built due to the issue above.

    opened by Dorbmon 2
  • Unable to build Android Release APK

    Unable to build Android Release APK

    Hey, I'm using flutter_app_badger: 1.0.3+2 in my app. Debug builds and runs flawlessly but Gradle crashes when compiling APK for release. Details below.

    Logs

    ➜  qweex git:(master) ✗ flutter build apk --release
    You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64.
    If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
        To generate an app bundle, run:
            flutter build appbundle --target-platform android-arm,android-arm64,android-x64
            Learn more on: https://developer.android.com/guide/app-bundle
        To split the APKs per ABI, run:
            flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
            Learn more on:  https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
    Running Gradle task 'assembleRelease'...                                
                                                                    
    FAILURE: Build failed with an exception.                                                                           
                                                                                                                       
    * What went wrong:                                                                                                 
    Execution failed for task ':flutter_app_badger:verifyReleaseResources'.                                            
    > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade                  
       > Android resource linking failed                                                                               
         /Users/musa/.gradle/caches/transforms-2/files-2.1/93d7ae8bc00cd79d08e935d76825e97b/core-1.0.1/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/fontVariationSettings not found.
                                                                                                                       
         /Users/musa/.gradle/caches/transforms-2/files-2.1/93d7ae8bc00cd79d08e935d76825e97b/core-1.0.1/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/ttcIndex not found.
                                                                                                                       
                                                                                                                       
    * Try:                                                                                                             
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
                                                                                                                       
    * Get more help at https://help.gradle.org                                                                         
                                                                                                                       
    BUILD FAILED in 6m 14s                                                                                             
    Running Gradle task 'assembleRelease'...                                                                           
    Running Gradle task 'assembleRelease'... Done                     388.9s (!)
    The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility.
    Building plugin cloud_firestore...
    The plugin cloud_firestore could not be built due to the issue above.   
    Running Gradle task 'assembleAarRelease'...                            ⡿%                                                                                 
    ➜  qweex git:(master)
    

    Flutter Doctor -V

    [✓] Flutter (Channel master, v1.10.15-pre.424, on Mac OS X 10.15 19A602, locale
        en-GB)
        • Flutter version 1.10.15-pre.424 at /Applications/Flutter-SDK/flutter
        • Framework revision 289b4588f4 (5 days ago), 2019-11-06 02:51:17 -0500
        • Engine revision 9726b4cb99
        • Dart version 2.7.0
    
     
    [!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
        • Android SDK at /Applications/Android-SDK/
        • Android NDK location not configured (optional; useful for native profiling
          support)
        • Platform android-29, build-tools 28.0.3
        • ANDROID_HOME = /Applications/Android-SDK/
        • Java binary at: /Applications/Android
          Studio.app/Contents/jre/jdk/Contents/Home/bin/java
        • Java version OpenJDK Runtime Environment (build
          1.8.0_202-release-1483-b49-5587405)
        ! Some Android licenses not accepted.  To resolve this, run: flutter doctor
          --android-licenses
    
    [✓] Xcode - develop for iOS and macOS (Xcode 11.1)
        • Xcode at /Applications/Xcode.app/Contents/Developer
        • Xcode 11.1, Build version 11A1027
        • CocoaPods version 1.8.4
    
    [✓] Android Studio (version 3.5)
        • Android Studio at /Applications/Android Studio.app/Contents
        • Flutter plugin version 40.2.2
        • Dart plugin version 191.8593
        • Java version OpenJDK Runtime Environment (build
          1.8.0_202-release-1483-b49-5587405)
    
    [✓] VS Code (version 1.40.0)
        • VS Code at /Applications/Visual Studio Code.app/Contents
        • Flutter extension version 3.6.0
    
    [!] Connected device
        ! No devices available
    
    ! Doctor found issues in 2 categories.
    
    opened by BasedMusa 2
  • How to mock the plugin?

    How to mock the plugin?

    I am writing unit tests for a class that calls FlutterAppBadger.updateBadgeCount.

    When running the tests I get a MissingPluginException(No implementation found for method updateBadgeCount on channel g123k/flutter_app_badger). I tried to check if the plugin is supported calling isAppBadgeSupported() but it throws the same error.

    Expected behaviour: I would like to have a function like FlutterAppBadger.setMocks that allows to register mocked callbacks triggered by the plugin's methods.

    Example

    FlutterAppBadger.setMocks(
      isAppBadgeSupported: () => true,
      updateBadgeCount: () => print('updateBadgeCount'),
    );
    
    opened by mattia-venturini 0
  • flutter_app_badger only show badges on Android when having a push notification

    flutter_app_badger only show badges on Android when having a push notification

    I use flutter_app_badger and It work perfect on iOS device.

    But On my Android device, I cannot use FlutterAppBadger.updateBadgeCount(1) or FlutterAppBadger.removeBadge() for updating badges.

    Badges on my Android device, It only update when having a push notification. Then, I can use FlutterAppBadger.updateBadgeCount(1) or FlutterAppBadger.removeBadge() for updating badges.

    How can i update the badge on android device without depending on pushing notification?

    opened by huubao2309 0
  • flutter_app_badger Not working on android devices. Is there any settings ?

    flutter_app_badger Not working on android devices. Is there any settings ?

    I confirmed that device is listed in https://github.com/leolin310148/ShortcutBadger/ Is there any settings on Android device?

    The latest ShortcutBadger's code contains kinds of device types. And also flutter_app_badger's dependencies contain [implementation "me.leolin:ShortcutBadger:1.1.22@aar"]

    opened by niumj 0
  • Whether to ask permission should be passed as a parameter

    Whether to ask permission should be passed as a parameter

    First of all, thanks a lot for the package!

    Second of all, I have a small concern. It's very likely that asking for notification permissions is a part of an already existing UI/UX, but if the functionality of this package is invoked earlier, then that flow is broken. Since it is possible to manage the app badge even without the permissions being granted, I think it should be possible to invoke the methods of this package passing a parameter for not asking for the permissions (which could be set to ask by default as it is now).

    opened by fatadel 4
  • Add Windows Support

    Add Windows Support

    Support for notification badge added to Windows since build 10.0.10240 (First stable build of Windows 10 supports it). You can use BadgeUpdateManager API to use it. You'll need to use WinRT API but I'm not sure if it works in unpackaged apps, but since Flutter supports building MSIX packages it's possible to at least use it on packaged Flutter apps. I may implement it in my free times but I can't find any useful document on Windows plugins for Flutter.

    Btw MSIX support added to Windows since build 10.0.16229 (version 1709) and WinRT support in unpackaged apps added to Windows since build 10.0.18362 (version 1903) so you won't be able to use these on Flutter on any Windows version lower than these at all.

    Windows Notification API badge references:

    Other Useful references:

    opened by xmine64 0
Owner
Edouard Marquez
Android & Flutter developer
Edouard Marquez
Flutter Downloader - A plugin for creating and managing download tasks. Supports iOS and Android. Maintainer: @hnvn

Flutter Downloader A plugin for creating and managing download tasks. Supports iOS and Android. This plugin is based on WorkManager in Android and NSU

Flutter Community 789 Jan 3, 2023
Plugin to retrieve a persistent UDID across app reinstalls on iOS and Android.

flutter_udid Plugin to retrieve a persistent UDID across app reinstalls on iOS and Android. Getting Started import 'package:flutter_udid/flutter_udid.

Leon Kukuk 183 Dec 21, 2022
A Flutter plugin to easily handle realtime location in iOS and Android. Provides settings for optimizing performance or battery.

Flutter Location Plugin This plugin for Flutter handles getting location on Android and iOS. It also provides callbacks when location is changed. Gett

Guillaume Bernos 953 Dec 22, 2022
Flutter geolocation plugin for Android and iOS.

geolocation Flutter geolocation plugin for Android API 16+ and iOS 9+. Features: Manual and automatic location permission management Current one-shot

Loup 221 Dec 27, 2022
A Flutter plugin for displaying local notifications on Android, iOS and macOS

Flutter Local Notifications plugin This repository consists hosts the following packages flutter_local_notifications: code for the cross-platform faci

Michael Bui 2.1k Dec 30, 2022
Android and iOS Geolocation plugin for Flutter

Flutter Geolocator Plugin A Flutter geolocation plugin which provides easy access to platform specific location services (FusedLocationProviderClient

Baseflow 1k Jan 5, 2023
Permission plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to request and check permissions.

On most operating systems, permissions aren't just granted to apps at install time. Rather, developers have to ask the user for permissions while the

Baseflow 1.7k Jan 3, 2023
Flutter Plugin for AR (Augmented Reality) - Supports ARKit on iOS and ARCore on Android devices

ar_flutter_plugin Flutter Plugin for AR (Augmented Reality) - Supports ARKit for iOS and ARCore for Android devices. Many thanks to Oleksandr Leuschen

Lars Carius 222 Jan 4, 2023
Telegram stickers importing Flutter plugin for iOS and Android

TelegramStickersImport — Telegram stickers importing Flutter plugin for iOS and Android TelegramStickersImport helps your users import third-party pro

Iurii Dorofeev 20 Dec 3, 2022
Flutter library for iOS Widgets Extensions. Integrate a Widget into your App 🍏📱

flutter_widgetkit Flutter Library for the iOS ?? WidgetKit framework and Widget Communication Table of Contents ?? Introduction ??‍?? Installation ??‍

Fasky 227 Dec 31, 2022
A Flutter plugin that allows you to check if an app is installed/enabled, launch an app and get the list of installed apps.

Flutter AppAvailability Plugin A Flutter plugin that allows you to check if an app is installed/enabled, launch an app and get the list of installed a

Lorenzo Pichilli 89 Dec 2, 2022
A Flutter plugin that allows you to add an inline webview, to use a headless webview, and to open an in-app browser window.

Flutter InAppWebView Plugin A Flutter plugin that allows you to add an inline webview, to use an headless webview, and to open an in-app browser windo

Lorenzo Pichilli 2.3k Jan 8, 2023
A lightweight Flutter plugin for making payments and printing on MyPos

my_poster ?? my_poster is in beta - please provide feedback (and/or contribute) if you find issues ??️ A lightweight Flutter plugin for making payment

Antonio Mentone 3 Oct 10, 2022
Use dynamic and beautiful card view pagers to help you create great apps.

Use dynamic and beautiful card view pagers to help you create great apps. Preview New Feature v1.3.0 Change Alignment Left Center(Default) Right v1.4.

Jeongtae Kim 84 Dec 6, 2022
Support to update the app badge on the launcher (both for Android and iOS)

Flutter App Badger plugin This plugin for Flutter adds the ability to change the badge of the app in the launcher. It supports iOS and some Android de

Edouard Marquez 258 Dec 25, 2022
Flutter Launcher Icons - A package which simplifies the task of updating your Flutter app's launcher icon.

Flutter Launcher Icons - A package which simplifies the task of updating your Flutter app's launcher icon. Fully flexible, allowing you to choose what platform you wish to update the launcher icon for and if you want, the option to keep your old launcher icon in case you want to revert back sometime in the future. Maintainer: @MarkOSullivan94

Flutter Community 1.7k Dec 30, 2022
Icons Launcher - A command-line tool that simplifies the task of updating your Flutter app's launcher icon.

Icons Launcher - A command-line tool that simplifies the task of updating your Flutter app's launcher icon. Full flexibility allows you to only update the launcher icon for specific platforms as needed.

Mrr Hak 48 Nov 17, 2022
🆙🚀 Flutter application upgrade/ Flutter App Upgrade /Flutter App Update/Flutter Update / download Plug-in

???? Flutter application upgrade/ Flutter App Upgrade /Flutter App Update/Flutter Update / download Plug-in (with notice bar progress), supports full upgrade, hot update and incremental upgrade

PengHui Li 344 Dec 30, 2022
How to add a notification badge in bottom navigation bar

bottom_navigation_badge / BottomNavigationBadge BottomNavigationBadge is a Flutter class developed by westdabestdb. Getting Started Add this to your p

Görkem Erol 50 May 21, 2022