I'm using the media plugin to capture photos in an XF app for iOS and Android.
On iOS, the plugin works perfectly but on some Android devices, the app responds a bit laggy right after taking the first photo and becomes entirely unresponsive after taking a second or (if I'm lucky) third.
I can say for sure that this happens on a Moto G4 Plus and a OnePlus 5T. Strangely, it doesn't crash on a Samsung Galaxy J5 (the app still becomes a bit laggy, though).
I've also posted this question on StackOverflow a while ago, without much success (stackoverflow.com/questions/49819667/how-do-i-use-the-camera-with-media-plugin-on-android).
Is this just a bad library and will I have to write my own, or am I doing something terribly wrong?