What SDK version are you developing with? This Snack must be quite old as it was pushed to SDK25 when I opened it. I upgraded it to SDK31, made the changes needed due to deprecations (no more torchMode and onBarCodeRead is changed to onBarCodeScanned) and I’m not experiencing any issues with the size changing.