Skip to content

Enable native camera plugin #433

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

Merged
merged 8 commits into from
Aug 2, 2022

Conversation

CoPrez
Copy link
Contributor

@CoPrez CoPrez commented Jul 26, 2022

This change enables the BN NativeCamera plugin for the BRN project. On Android the NativeCamera plugin uses a compile time check (here) to only support projects targeting a min SDK of 24 or higher. Since BRN includes precompiled binaries for BN that means this change also bumps the BRN playground apps up to min SDK 24 so that the NativeCamera plugin compiles with the proper implementation.

I used the PackageTest projects (which still have a min SDK of 21) to ensure including the pre-compiled binaries against min SDK 24 didn't break anything in the consuming apps.

A better long term fix would be to update the NativeCamera's implementation to use a runtime check of the API level rather than a compile time check.

@CoPrez CoPrez requested review from ryantrem and bghgary July 26, 2022 20:29
@github-actions
Copy link

Here are the build results
Assembled
Assembled-iOSAndroid0.65
Assembled-Windows0.65
Artifacts will only be retained for 90 days.

@github-actions
Copy link

Here are the build results
Assembled
Assembled-iOSAndroid0.65
Assembled-Windows0.65
Artifacts will only be retained for 90 days.

@CoPrez CoPrez enabled auto-merge (squash) August 2, 2022 22:21
@CoPrez CoPrez merged commit 410290d into BabylonJS:master Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants