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

Surface supported architectures per OS #8010

Open
dcharkes opened this issue Sep 3, 2024 · 5 comments
Open

Surface supported architectures per OS #8010

dcharkes opened this issue Sep 3, 2024 · 5 comments

Comments

@dcharkes
Copy link
Contributor

dcharkes commented Sep 3, 2024

Tracking issue for the surfacing on pub.dev part of:

We should consider surfacing the supported hardware architectures on pub per OS.

And there are more things we could report, such as the minimum supported SDK version for Android, iOS, and MacOS.

@sigurdm
Copy link
Contributor

sigurdm commented Sep 3, 2024

Is this really an issue for the site? (dart-lang/pub-dev)?

@dcharkes
Copy link
Contributor Author

dcharkes commented Sep 3, 2024

The reporting is? (I'll file another issue on the SDK for reasoning about SDK native version constraints in general.)

@jonasfj
Copy link
Member

jonasfj commented Sep 3, 2024

@dcharkes is pana going to run the native-assets build script to get this information, or is it something that is hardcoded in pubspec.yaml under platforms.android?

@dcharkes
Copy link
Contributor Author

dcharkes commented Sep 3, 2024

Those are two options.

If we want the solution to work for Flutter plugins, and Dart packages only using dart:ffi, the pubspec.yaml.

If we don't care about forcing those users to use a build hook, we could also make the hook report it. See the linked issues.

@sigurdm
Copy link
Contributor

sigurdm commented Sep 5, 2024

I think going with the hook is ok. I don't see the need for it in pubspec.yaml, and as you say, it can get out of sync with the actual platform support.

Pana is sandboxed, and should(??) be ok running user code. But that would be something new for us to do.

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

No branches or pull requests

3 participants