Comments (9)
Yes it should but visibly what was missing was the .toUtc()
...
from awesome_notifications.
And what platform, plugin version and flutter version are you using? The channel "alarm" was created?
from awesome_notifications.
By the way, I just replaced my scheduling by :
NotificationSchedule(preciseSchedules: [DateTime.now().add(Duration(seconds: 5)).toUtc()])
and it finally worked. But I don't understand why.
from awesome_notifications.
The initial date is the most priority date component, it should have worked.
And what platform, plugin version and flutter version are you using?
from awesome_notifications.
I'm using Android, using source (git) and Flutter 1.22.4
from awesome_notifications.
Yes it should but visibly what was missing was the .toUtc()...
Yes. All schedule dates work in the UTC time zone. For most internal systems to work, it is the most effective way to surround time zone madness. And I strongly recommend that you use it.
The Problem with Time & Timezones - Computerphile (Youtube)
from awesome_notifications.
Ok ! Finally is there any way to remove the toast notification when getting a scheduled notification ? (it doesn't disappears in release mode)
Might be related to :
public void onReceive(final Context context, Intent intent) {
Toast.makeText(context, "ScheduledNotificationReceiver", Toast.LENGTH_SHORT).show();
in this file
?
from awesome_notifications.
Yes. Of course! Comment this line. Ill remove it on next release.
from awesome_notifications.
Nice thank you !
from awesome_notifications.
Related Issues (20)
- Background Notification not displaying HOT 1
- "[Demo]" appended in the subject of android device HOT 2
- How to use `onBackgroundMessage` function similar to `FirebaseMessaging` HOT 1
- How can awesome_notifications wake up the screen and make notifications when the screen is off
- iOS. Schedule Notification StartDate EndDate and Interval issue
- How do I set a different background color icon?
- createNotification returns false on Android
- Cannot load AwesomePodFile Error after running 'flutter build ios' HOT 4
- PlatformException(INVALID_ARGUMENTS, Channel '_' do not exist or is disabled, insufficientPermissions.channel._, null)
- Auto dissmiss notification after a custom duration.
- Crashes on iOS on `static RealDateTime.stringToDate(_:timeZone:)`
- [!] Invalid `Podfile` file: cannot load such file -- /../.symlinks/plugins/awesome_notifications/ios/Scripts/AwesomePodFile. HOT 3
- Connect to www.jitpack.io:443 [www.jitpack.io/104.26.8.99, www.jitpack.io/172.67.72.129, www.jitpack.io/104.26.9.99] failed: Connection timed out: connect
- can't install version 0.9.X in internationalization app. alway resolve to version 0.8.2
- Emulator exits after I turn off notifications permissions
- Isnt the documentation wrong in this part?
- User must be valid and have a name.
- Setup awesome_notifications fcm for iOS error: Multiple commands produce '/Users/.../Library/Developer/Xcode/DerivedData/Runner-fhcozfcdfifggsgjtmflkhlgmsoh/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/IosAwnFcmDist/IosAwnFcmCore.framework'
- Support Ongoing Activity & Notification HOT 1
- Invalid Cron Expression
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesome_notifications.