New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to start receiver com.dexterous.flutterlocalnotifications.ScheduledNotificationReceiver #408
Comments
Would need more info on what your app is doing, which version of the plugin you're using etc. The code is open-source so you can check what your app is doing to see how it relates to the crash given you have a stack trace |
Also note that you can have your app point to a local copy of the plugin or via a Git reference. This could be used to track the problem and submit a PR back should you find out what the issue is |
The problem is that this don't happen in any of my devices (of course, "works on my machine" ®) Anyway, |
Would the users that have those crashes have a version of your app that is using version 0.9.1 of the plugin? Line 584 of the |
This is a Crashlytics report, can't pinpoint exactly what's going on. I'm using flutter_local_notifications: ^1.4.4+4 Can you please help me , we need to resolve this ASAP. KIndly help us @MaikuB @JCKodel
After this when the schedule time is arrived, the apps gets stopped. This is my code
|
Did you fix? |
Yes. The integer value I've provided in dart, exceeded the limit of maximum integer value in java file. So i reduced the number within the limit of integer max value and then the issue was resolved. Try to reduce the id value. |
I just add the code in
|
@yeskayviswa Thank you for replying.
I pushed |
The error I faced is in flutterLocalNotificationsPlugin.schedule( ) function. My inttaskid was more than the limit. That's the id I've mentioned |
Hi @yeskayviswa Sorry I'm a little noob. I'm with the same problem and using five tipes of notification (every minute, hourly, every day, every week and specific Time) I put the IDs 01, 02, 03, 04 and 05. Qhat I can do to solve this? |
I am having an error in the android app when I have updated the flutter version and library version 9.3.2 and even9.2.0. I am getting the below error. Fatal Exception: java.lang.RuntimeException: Unable to start receiver com.dexterous.flutterlocalnotifications.ScheduledNotificationBootReceiver: java.lang.RuntimeException: Missing type parameter. Please help on this |
where you have exceed the limit, can you explain this |
This is the crashlytics report when I have updated the version. And the application is crashing only in release mode. Why it's happening?? |
Make sure you've done the release build configuration |
I am able to replicate this on my physical test device. Getting below error in
|
Seems that this is related to ProGuard and R8. As I was making changes to upgrade to AGP8, I have added this to
Removing this line seems to fix the issue. |
I have the same on my local development device, with usb attached to the debugger. A simple scheduled notification works, but somehow when I want to schedule my app specific notifications, I get this crash.
Edit: found the error, turns out I sometimes asked to schedule notifications with empty string for title, body, channelid, channelName. |
Describe the bug
This is a Crashlytics report, can't pinpoint exactly what's going on.
I have >140k active users and this error affected 11 users.
The text was updated successfully, but these errors were encountered: