-
Notifications
You must be signed in to change notification settings - Fork 502
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
dart::ffi #140
Comments
Is anyone interested in making this happen? For my teams at work, this would be huge for gaining Flutter support. |
The C interface is a feature that is currently missing downstream before we are able to work on it in this repository. There are discussions ongoing at Mapbox to support this as multiple languages next to Dart (eg. Python, Swift, ..) would be able to leverage this. |
Hope you decide there that it will be worth it. This would be a huge step forward. |
That would be actually huge. We would be able to use the full interface natively. |
Any news? |
Hey here, we can try to use SurfaceAndroidWebView like webwiew_flutter https://github.com/flutter/plugins/blob/master/packages/webview_flutter/lib/webview_flutter.dart |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi, any update on this? |
As of Dart 2.6, dart:ffi is in beta. The foreign function interface allows for C interop with dart code. While the mapbox-gl-native is written in c++, it might be possible to wrap it with a C interface allowing to make a real flutter implementation of mapbox-gl-native.
The text was updated successfully, but these errors were encountered: