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

Native Camera restarts app after taking photo on certain devices #27

Closed
HNKMaster opened this issue Nov 4, 2019 · 1 comment
Closed

Comments

@HNKMaster
Copy link

Hi. I'm using this plugin, which works very well, but I'm having issues with certain phones (Samsung A10 for example). On certain busy scenes, when I call the Native Camera plugin and take the picture, the app restarts. I suspect memory issues while the app is in Background.

@yasirkula
Copy link
Owner

I'm guessing the same. Unfortunately, I can't resolve this issue since I can't prevent Android OS from killing the background apps (in this case, Unity). In native Android apps, Activity classes have certain callback functions that lets them save their data but it is not possible to do so in a Unity app.

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

No branches or pull requests

2 participants