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

CAMERA / ANDROID: external services no longer available #354

Closed
karliwalti opened this issue Oct 8, 2020 · 8 comments
Closed

CAMERA / ANDROID: external services no longer available #354

karliwalti opened this issue Oct 8, 2020 · 8 comments
Labels

Comments

@karliwalti
Copy link
Contributor

camera-start
camera-start-video 
videoplayer 

are no longer working on API 24.

consequently the buttons in DemoCamera for Android are not doing anything.

@mgorges mgorges added the bug label Oct 8, 2020
@karliwalti
Copy link
Contributor Author

Also not working when building for API 22 and 29.
Is this linked to #256 ?

@mgorges
Copy link
Contributor

mgorges commented Oct 8, 2020

Consider changing loaders/android/AndroidManifest.xml.in#L8 to 21 or remove it's definition completely (which makes it equal to @SYS_ANDROIDAPI@ as per https://developer.android.com/guide/topics/manifest/uses-sdk-element#target); it was introduced in 66d130d as a requirement to go to the Play Store. All of these things are something that Google broke, we can only try to recover out technical debt in this respect or give up.

@ddunsmuir
Copy link
Contributor

@karliwalti what about older Android? Did you try the suggestion above to edit the AndroidManifest.xml.in? If everything runs fine on 21 or older, then this is likely something Android specific. Something Google changed, not specific to LambdaNative.

@karliwalti
Copy link
Contributor Author

Yes, working with API21 resolves the camera issue (but not #372).

@karliwalti
Copy link
Contributor Author

Update: on Android 11 systems, the 'trick' to set API21 no longer works with expected behaviors. Returning from the camera restarts the ln app instead of adding to the process. No crash, but also no picture...
Systems with Android 10 work and are definitely the limit

@mgorges
Copy link
Contributor

mgorges commented Oct 20, 2020

4582b2e allows changes to the launchMode - @peterlew overrides it in one of our apps, maybe this is related.

@mgorges
Copy link
Contributor

mgorges commented Nov 7, 2020

Should be resolved by merging #380 ?

@karliwalti
Copy link
Contributor Author

As far as I could test, this is indeed resolved. Thank you @peterlew !

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

3 participants