Comments (12)
I think is really something related with the Samsung original camera app. I installed a new camera app (Open Camera) and it didn't crash with the plugin, even when taking 9 pictures with the same capture session.
This Open Camera workaround should be enough for my customers. Let me know if you guys need more of my input to help on this issue.
Thank you very much for all the support @janpio @martin-dufka
from cordova-plugin-media-capture.
I don't see any way Cordova or this plugin could do anything to help against this problem, right?
from cordova-plugin-media-capture.
Of course @mahdi-ninja - and even if it is just to understand the problem and possible solutions for now. We will probably not want to change the plugin completely, but based on your example maybe we can work together on finding the best solution.
from cordova-plugin-media-capture.
Any solution in 2020?
from cordova-plugin-media-capture.
Those logcat bits are strange.
Any other problems with this device?
Have you tried other apps that do similar things?
Any public reports of similar problems with the native camera app on that device/OS?
from cordova-plugin-media-capture.
Hi @janpio, thanks for the quick reply.
In my context, these devices are being used mainly with just my company application. So, no other problems reported so far.
What kinda similar apps I could try? Is there any demo app available that I could use?
I found online some problems with this device/OS more related with the Google Photos app, but also some people commenting that the Photos App itself crashes sometimes. :/
from cordova-plugin-media-capture.
What kinda similar apps I could try? Is there any demo app available that I could use?
Apps that allow the user to take multiple images via the native camera app, then goes back to the app after a set number of images. (No, I don't know of any myself)
The connection to limit
indicates a problem with memory/RAM - or just that it is more common as longer as the app is used. Does it also crash with a limit of e.g. 3 and slow usage? (Trying to exclude the memory theory here)
from cordova-plugin-media-capture.
My customers report the same problem with my app. After Android autoupgrade 7.1 to 8.0 on S7, CaptureImageOptions.limit stops work. Max {limit:2} is working. I'll testing this tomorrow. I have no S7 on the table now, unfortunately.
from cordova-plugin-media-capture.
@janpio Yes, it also crashes with limit of 3 and slow usage. I also don't know any other Cordova app that take multiple images.
@martin-dufka Thanks for the help! I tried here with the limit of 2 and sometimes still crashes for me. The only way to stop crashing is with limit of 1 so far.
from cordova-plugin-media-capture.
@gustavosobral
https://developer.android.com/about/versions/oreo/android-8.0-changes
Background execution limits
... may be new behavior do this. Can you test, how long time when the camera app crashes? I still have no S7 here. :)
from cordova-plugin-media-capture.
I had the same issue with the latest update on Samsung Galaxy S7 (and S7 edge) on my native Android app. I tried many different things to fix it without any success.
I finally ended up creating my own camera activity class (using CameraView) which I use instead of the built-in camera.
If this (custom camera activity) is something that maintainers of this plugin are happy to add, I can submit a PR for it.
from cordova-plugin-media-capture.
Cool. I'll write something on the weekend.
from cordova-plugin-media-capture.
Related Issues (20)
- Get frame(s) from Video stream
- Vite Rollup Error using plugin in react vite app HOT 1
- Android permission denied When opening the camera HOT 10
- Provide the ability to store capture files in private app storage rather than external storage HOT 6
- when i set duration 15sοΌit not work in HarmonyOs
- Types of parameters 'data' and 'value' are incompatible HOT 1
- Recording interface is broken HOT 4
- Can anything be done at all about the extremely ugly and awkward audio recording UI on IOS? HOT 2
- Android 13 support Targetting SDK 33 HOT 8
- Version 5.0.0 requires Android 12 and Node 16 HOT 5
- On android 13 api level 33 plugin gives permission denied error HOT 1
- App crashes on Android 13 when starts recording a video HOT 1
- cordova-plugin-media-capture video not working android 13 HOT 7
- [Android] Support "partial access to photos and videos" for devices running Android 14 HOT 1
- [Android] Remove broad photo/video permissions and use a system picker - Google Play Policy deadline 2024-08 HOT 2
- Cant get access to media file HOT 3
- Can't take photo on Android 8, 9, 10 when another photo application is installed HOT 2
- i am using Media-Capture plugin to record video and upload to server, video recording is successfully working and receive MediaFiles[], but how i convert to blob file for uploading video to server
- i am using Media-Capture plugin to record video and upload to server, video recording is successfully working and receive MediaFiles[], but how i convert to blob file for uploading video to server, i tried many solution but none of working for me HOT 1
- Support Android 15 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-media-capture.