Closed kriefsacha closed 3 years ago
@triniwiz can you please help us on that ?
It's a big issue for us and we think just by doing unregister of the listeners (seems likely of the orientation one) when the camera is disposed will resolved that.
Thank you..
Still no news of this... @triniwiz this is a very big problem..
You just need to unregister the listeners when you dispose the camera please..
@triniwiz could you please answer..
Not any answer here @triniwiz .. we are willing to pay if needed please help you just need to unregister the listeners on camera disposed..
This should fixed now
Hi,
Im adressing to you here about this ticket.
Im using nativescript-camera-plus plugin who use the last version of your plugin.
In our app we need to take multiple pictures (we take a picture, then close the plugin (with an ngIf if you know angular) and then open it again.. so the camera is disposed every time, we see the "NativeScript-CameraPlus --- [disposeNativeView.]" console log), and after 128 times we have this android error with this stacktrace:
Seems like we reached an android limit amount of listeners.
As you can see at the end, this seems to be related to this plugin. I assume that there is a listener which you don't do "unregister" when the camera is diposed. When im searching about it i see about Sensors things. But i can't manage to unregister them because i don't have the instance of your listeners.
This a very big issue for us so if you could help, i already opened the previous ticket since a couple of days..
Thank you !