Skip to content
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

Open
tobrun opened this issue Dec 7, 2019 · 8 comments
Open

dart::ffi #140

tobrun opened this issue Dec 7, 2019 · 8 comments
Labels

Comments

@tobrun
Copy link
Collaborator

tobrun commented Dec 7, 2019

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.

@tobrun tobrun added this to the future milestone Dec 7, 2019
@leecommamichael
Copy link

Is anyone interested in making this happen? For my teams at work, this would be huge for gaining Flutter support.

@tobrun
Copy link
Collaborator Author

tobrun commented Dec 16, 2019

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.

@EugenePisotsky
Copy link

Hope you decide there that it will be worth it. This would be a huge step forward.

@despondency
Copy link

That would be actually huge. We would be able to use the full interface natively.

@EugenePisotsky
Copy link

Any news?

@najBaby
Copy link

najBaby commented Dec 3, 2020

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

@tobrun tobrun removed this from the future milestone Nov 13, 2021
@stale
Copy link

stale bot commented Jan 14, 2022

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.

@stale stale bot added the stale label Jan 14, 2022
@stale stale bot closed this as completed Jan 21, 2022
@felix-ht felix-ht reopened this Mar 17, 2022
@stale stale bot removed the stale label Mar 18, 2022
@lukas-h
Copy link

lukas-h commented Apr 19, 2022

Hi, any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants