I am using this plugin in my app and it works great. But, I wanted to write tests for my app and got stuck at a part. The thing is that onQRViewCreated in the QRView class is called when the native view is created and otherwise throws an error.
So, no view is created in test environment and I can not test the method tied with onQRViewCreated callback.
I am using this plugin in my app and it works great. But, I wanted to write tests for my app and got stuck at a part. The thing is that
onQRViewCreated
in theQRView
class is called when the native view is created and otherwise throws an error. So, no view is created in test environment and I can not test the method tied withonQRViewCreated
callback.How to proceed with this ?