OpenCv Manager package not found
adrianolc opened this issue · comments
For some devices, we are getting the dialog from the BaseLoaderCallback
saying that the OpenCV Manager package was not found. This is happening randomly, in some devices it works just fine without popup the dialog.
The dialog also leads to a broken URL on google play to install the service, but this is a problem inside the OpenCV lib, I would say.
It would be nice to see if this is also happening with others, or if you guys know the issue already.
This is how we call the initAsync
method
if (!OpenCVLoader.initDebug()) {
OpenCVLoader.initAsync(OpenCVLoader.OPENCV_VERSION, context, callback)
} else {
callback.onManagerConnected(LoaderCallbackInterface.SUCCESS)
}
And the callback
private val callback = object : BaseLoaderCallback(context) {
override fun onManagerConnected(status: Int) {
when (status) {
LoaderCallbackInterface.SUCCESS -> initialization.complete()
else -> super.onManagerConnected(status)
}
}
}
@adrianolc We are currently busy in moving to MavenCentral. Once done, we will release 4.5.3. Can you please then try and let us know if the issue still persists.
We have just released 4.5.3 via MavenCentral. Please go through the README file on how to integrate it. In case the issue still persists, please let us know.
We have now released more versions to maven central. I will now close this issues, however, if you need any further help, please open a new one.
Hey @nasirky, this issue still persist in some devices.
My Device is honor cor-al00 (Android 9) and app prompt to install some packages which further leads to broken URL.
Using 4.5.3 version as stated above.
Thanks.