awesome_notifications | complete solution to create Local Notifications | Notification library

 by   rafaelsetragni Java Version: 0.7.5-dev.2 License: Apache-2.0

kandi X-RAY | awesome_notifications Summary

kandi X-RAY | awesome_notifications Summary

awesome_notifications is a Java library typically used in Messaging, Notification, Firebase applications. awesome_notifications has no vulnerabilities, it has a Permissive License and it has low support. However awesome_notifications has 13 bugs and it build file is not available. You can download it from GitHub.

A complete solution to create Local Notifications and Push Notifications, throught Firebase or another services, using Flutter.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              awesome_notifications has a low active ecosystem.
              It has 618 star(s) with 255 fork(s). There are 13 watchers for this library.
              There were 3 major release(s) in the last 12 months.
              There are 34 open issues and 560 have been closed. On average issues are closed in 34 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of awesome_notifications is 0.7.5-dev.2

            kandi-Quality Quality

              awesome_notifications has 13 bugs (0 blocker, 0 critical, 5 major, 8 minor) and 632 code smells.

            kandi-Security Security

              awesome_notifications has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              awesome_notifications code analysis shows 0 unresolved vulnerabilities.
              There are 43 security hotspots that need review.

            kandi-License License

              awesome_notifications is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              awesome_notifications releases are available to install and integrate.
              awesome_notifications has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              It has 9161 lines of code, 584 functions and 108 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed awesome_notifications and discovered the below as its top functions. This is intended to give you an instant insight into awesome_notifications implemented functionality, and help decide if they suit your requirements.
            • Handles a method call
            • Extract value from map map
            • Request permissions
            • Checks if a channel permission is allowed
            • Fire the notification event
            • Set the resource id and groupId
            • Removes an intent from the alarm manager
            • Returns a summary for the expression summary
            • Get the expression set summary
            • Called when a notification is received
            • Handle a broadcast event
            • Returns all active notifications with the given channel key
            • Returns all active notifications of the given group key
            • Gets the notification event
            • Determines if the given date satisfies the cron expression
            • Called when a broadcast notification is received
            • Returns the serialized map
            • Get a bitmap from the specified asset path
            • Returns next valid date
            • Get next valid date
            • Returns the representation of the notification
            • Returns a map of the localized values
            • This method synchronously schedules a notification
            • Start notify service
            • Handles a background work
            • Returns the next valid date after the given date
            Get all kandi verified functions for this library.

            awesome_notifications Key Features

            No Key Features are available at this moment for awesome_notifications.

            awesome_notifications Examples and Code Snippets

            No Code Snippets are available at this moment for awesome_notifications.

            Community Discussions

            QUESTION

            How to find out if a notification is scheduled?
            Asked 2022-Feb-01 at 20:22

            Using flutter_local_notifications I create a scheduled notification like this:

            ...

            ANSWER

            Answered 2022-Feb-01 at 20:22

            In awesome_notifications there is a method to list all scheduled notifications:

            Source https://stackoverflow.com/questions/70904743

            QUESTION

            Persisting MissingPluginException in Flutter
            Asked 2022-Jan-24 at 10:55

            Hello developers of the world!

            I have a persisting issue with using a specific Flutter package for Android and iOS.

            MissingPluginException(No implementation found for method getTemporaryDirectory on channel plugins.flutter.io/path_provider)

            This raises when I use a function of audioplayers (https://pub.dev/packages/audioplayers).

            This is not a story of hot restart. I also tried the solution proposed here https://stackoverflow.com/a/66593064/8791925 but I got no improvement.

            The content of my MainActivity.kt is

            ...

            ANSWER

            Answered 2022-Jan-24 at 10:55
            Answer

            I finally found the solution: upgrading packages (flutter pub upgrade). By chance, the issue was fixed by maintainers of path_provider. I was in version 2.0.10 when the issue occurs and the version 2.0.11 fixes it.

            Explanation

            I tried to do this but only in December, when I got the issue for the first time and it did not solve it at this time.

            To understand the origin of the fix, I checked which packages were updated in pubspec.lock. I saw that path_provider_android was updated and not path_provider became 'transitive':

            Source https://stackoverflow.com/questions/70708812

            QUESTION

            How to dismiss notification after action button clicked without opening the app?
            Asked 2022-Jan-13 at 09:06

            I am showing a notification using awesome_notifications and there is action buttons that dismiss the notification, but the problem is if the app is in the background, and the action button clicked, then it dismisses the notification but open the app too which I don't want. So how can I just dismiss the notification when the action button is clicked without opening the app? The notification also contains another action button that opens the app but the second should not. What should I do in that case?

            This is what currently happens:

            Code to show notification:

            ...

            ANSWER

            Answered 2022-Jan-13 at 09:06

            Found the answer while surfing the GitHub Repository of awesome_notifications. The notification can straightly be dismissed without opening the app by adding buttonType as ActionButtonType.DisabledAction in the NotificationActionButton

            just like this:

            Source https://stackoverflow.com/questions/70692094

            QUESTION

            Flutter releasebuild bundle is too big
            Asked 2021-Nov-09 at 15:21

            I have recently switched from Android native Java platform to Flutter. From tutorials and online information I understand that dubug app size could be large but not the release one.

            Flutter releasebuild bundle is 123.7 MBs. And when installed, app size increase to about 300 to 350 MBs.

            I have no media in assets. All mipmap and drawables are minified to total of less then 100 kbs.

            I have this app where I am using following plugins:

            ...

            ANSWER

            Answered 2021-Nov-09 at 15:21

            As suggested by שו אוהב אותך, problem seems to be with flutter_sound plugin. I switched from flutter_sound to flutter_sound_lite but problem remained.

            So finally I ended up developing my own plugin for Flutter. Currently it's working for android only but will be brought available for IOS soon.

            Now my appbundle size has reduced to 47.6 MBs from 123.6 MBs.

            Plugin link is given below if anyone has the same issue:

            Flutter Sound System - Plugin Link

            Source https://stackoverflow.com/questions/69885404

            QUESTION

            FCM data messages not being received by iOS Simulator or physical device
            Asked 2021-Sep-16 at 07:09

            A project I'm working on requires the use of FCM Push Notifications & Messages for VoIP control amongst others.

            Problem:

            My iOS physical device receives push notifications, but only when the app is in the background or closed but NOT when in the foreground. Further, it does NOT receive any fcm message (data) notifications at all such as messages with only data and no notification title/body i.e. VoIP status message.

            My setup steps are as follows (a detailed setup and general flow I followed can be found here):

            1. Register a (Info.plist) (see here)

            2. Download & install GoogleService-Info.plist with Xcode (see here)

            3. Create APNS key with enabled Push Notifications and uploaded .p8 file to Firebase (see here)

            4. Modify with Swift code:

            AppDelegate.swift code:

            ...

            ANSWER

            Answered 2021-Sep-16 at 07:09
            Original answer (more general/ useful to more people):

            FCM does not work on the iOS simulator, so thats half the question solved. For physical devices, take a look at some debugging steps I wrote in detail on a library I work on.

            There are multiple ways push notification can go wrong on iOS. When you say: the app never receives, do you mean your Flutter application doesn't get the message? Your device could still be receiving them.

            • Open Console.app on your mac, and start the logging for your physical device. Filter for dasd process, and you can see push notification related logs to see if your device rejected the push notification and did not send it to your app. Most likely, its a problem with how you structured your message.
            • You can also try to debug the didReceiveRemoteNotification method on the iOS side inside the Flutterfire firebase_messaging iOS code. That would mean the message is received by the app.
            Let me answer each question/ concern (3) specifically:
            1. My iOS physical device receives push notifications, but only when the app is in the background or closed but NOT when in the foreground.

            So you want to show notifications in the foreground? You need to implement userNotificationCenter(_:willPresent:withCompletionHandler:), for example, in Swift:

            Source https://stackoverflow.com/questions/69055482

            QUESTION

            How to show only one notification with FCM and awesome_notifications
            Asked 2021-May-18 at 19:38

            I am using Firebase Messaging to send users notifications from the cloud, but I want some notifications to have action buttons options (text input, button selections) from within the notification, so I'm using the awesome_notifications.

            I have set up the package to run this method whenever an notification is received:

            ...

            ANSWER

            Answered 2021-May-18 at 19:38

            Firebase Cloud Messaging(FCM) has two types of messages:

            • Notification messages in which FCM automatically displays the message to end-user devices on behalf of the client app.
            • Data messages in which your app is responsible for processing data messages.

            About FCM messages

            You should use a data message so your app does not display the automatic notification that comes with the notification message type that you currently use.

            So if your cloud function contained this code below to send notification messages:

            Source https://stackoverflow.com/questions/67590068

            QUESTION

            Awesome_Notifications - Bad state: Stream has already been listened to
            Asked 2021-Mar-27 at 19:24

            I am using this flutter library to handle notifications. In the initState() in my HomeView I initialize this listener:

            ...

            ANSWER

            Answered 2021-Mar-24 at 23:53

            The error you get is not caused by _notificationsActionStreamSubscription.

            If you read carefully it says

            Stream has already been listened to

            That means that probably AwesomeNotifications().actionStream can only handle one listener at a time.

            _notificationsActionStreamSubscription.cancel() doesn't seem to work, it is possible that AwesomeNotifications().actionStream doesn't know that the stream listener has been closed.

            Every time the page get pushed, it is rebuilt, and AwesomeNotifications() throw an error becouse it thinks that you are attacching a second listener.

            So I came with this solution: Move the notificationsActionStreamSubscription to a widget which is parent to HomeView. Create the instance right there in the parent, and then attach it to the actionStream. Every time you call Navigator.pushReplacement send it as a parameter.

            HomeView: (I made it a statefullwidget)

            Source https://stackoverflow.com/questions/66754739

            QUESTION

            Alternative of cloud functions
            Asked 2021-Mar-19 at 13:38

            I am developing an app for elderly for my graduation project. There are 2 actors, elderly and the watcher who takes care of elderly.

            'all application data stored in Firebase'

            My app reminds elderly about their medication time and to check their blood pressure and glucose. Also, there is a chat between elderly and watcher.

            My question is how to push notification without using cloud functions?

            I have watched a Flutter course and he used Firebase Cloud Messaging and Cloud Functions, but now Cloud Functions requires to upgrade project's billing plan, so it requires money and credit card, and I don't want to spend money for my graduation project especially that I don't have a huge knowledge about flutter.

            I watched a YouTube video that someone explains push notification using Laravel with Flutter, but I afraid about that because I DON'T HAVE ANY IDEA ABOUT Laravel. Also I see that there are many Flutter packages for push notification, but I don't know how to use it or if it uses a Cloud Functions or not. such as: awesome_notifications, flutter_local_notifications, pusher

            I hope someone guide me to the right way.

            ...

            ANSWER

            Answered 2021-Mar-19 at 13:38

            in order to send custom notifications you can create your own server environment (backend) and from there perform all the logic to be able to send the notifications to the devices.

            The only thing you need to be able to send a personalized notification from an external environment is to have the token device, in the case that you will send it to a specific person, you can also send notifications if the devices are subscribed to a topic.

            This is the documentation to send notifications from a server to the device:

            https://firebase.google.com/docs/cloud-messaging/http-server-ref

            Source https://stackoverflow.com/questions/66709040

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install awesome_notifications

            You can download it from GitHub.
            You can use awesome_notifications like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the awesome_notifications component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/rafaelsetragni/awesome_notifications.git

          • CLI

            gh repo clone rafaelsetragni/awesome_notifications

          • sshUrl

            git@github.com:rafaelsetragni/awesome_notifications.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Notification Libraries

            push.js

            by Nickersoft

            server

            by gotify

            fsnotify

            by fsnotify

            noty

            by needim

            gorush

            by appleboy

            Try Top Libraries by rafaelsetragni

            IosAwnCore

            by rafaelsetragniSwift

            hive_versioning

            by rafaelsetragniC++

            AwnAndroidCore

            by rafaelsetragniJava

            AndroidAwnFcmCore

            by rafaelsetragniJava

            AndroidAwnCore

            by rafaelsetragniJava