Use the Scandit SDK Module with a secondary camera access in the same app
If you are using the Scandit SDK module in an app where you also open the camera through other means, there can be complications. Because of this you should make sure to follow these two points:
- Call scanditsdk::disableStandbyState after the scanditsdk is created and initialized. This will ensure that the camera object is deallocated once the scanditsdk is deallocated.
- Make sure that any references to the scanditsdk are removed before you open the secondary camera such that the camera object is properly disposed of and can be freshly created.