sathish76 / flutter_dnd Goto Github PK
View Code? Open in Web Editor NEWA Flutter plugin to manage Do Not Disturb settings on Android.
Home Page: https://pub.dev/packages/flutter_dnd
License: MIT License
A Flutter plugin to manage Do Not Disturb settings on Android.
Home Page: https://pub.dev/packages/flutter_dnd
License: MIT License
Please migrate this package to null safety
I am using flutter_local_notification (https://pub.dev/packages/flutter_local_notifications) package to schedule notifications which will act as an alarm (sound loops until notification is closed), As it's an alarm I need it to ring even if dnd is on ,I can only use INTERRUPTION_FILTER_ALL which is turning off the dnd.
is there a way to show notifications without turning dnd off?
Hi,
I combine flutter_dnd inside invocation method of android_alarm_manager, but it's failed with error message:
E/flutter: [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method isNotificationPolicyAccessGranted on channel flutter_dnd)
#0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)
<asynchronous suspension>
#1 FlutterDnd.isNotificationPolicyAccessGranted (package:flutter_dnd/flutter_dnd.dart:26:27)
And this is my environment:
[√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 10.0.18363.720], locale en-ID)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[√] Android Studio (version 3.6)
[√] IntelliJ IDEA Community Edition (version 2019.3)
[√] VS Code (version 1.43.1)
[√] Connected device (1 available)
• No issues found!
Any help would be appreciated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.