BREAKING CHANGE: The signature of handleActivityResult has changed - the onSuccess now returns OSBARCScanResult instead of just a string with the scanned code.
- Add hint parameter to scan for specific barcode formats
- Return the format of the scanned code inside the scan result.