-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Not found: 'dart:ffi' #1479
Comments
That import isn't used so whilst it can be removed from the plugin. Curious though, what platform were you target when you tried to build the app that ran into this issue? |
build for web |
Yep noticed the dart2js reference after I posted. This should now be fixed in 9.3.1. Thanks for reporting this |
Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Target dart2js failed: Exception:
/c:/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-9.3.0/lib/src/platform_specifics/android/notification_details.dart:1:8:
Error: Not found: 'dart:ffi'
import 'dart:ffi';
Flutter (Channel beta, 2.10.0-0.3.pre, on Microsoft Windows [Version 10.0.19043.1526], locale ru-RU)
• Flutter version 2.10.0-0.3.pre at C:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision fdd0af78bb (2 weeks ago), 2022-01-25 22:01:33 -0600
• Engine revision 5ac30ef0c7
• Dart version 2.16.0 (build 2.16.0-134.5.beta)
• DevTools version 2.9.2
and also in stable channel
How to fix?
The text was updated successfully, but these errors were encountered: