Using opencv on mobile devices

I have implemented opencv sdk in Android and then using this app bundle in flutter. The application is supposed to perform all image processing operations on device. But, the application gives different results in different devices and also bad results. I suspect that this is because of different CPU of different device. Is there any way to improve on my problem?