Skip to content

fix(android): Fix intermittent crash due to lateinit var#92

Merged
OS-pedrogustavobilro merged 2 commits into
mainfrom
fix/RMET-4530/crash-android
Oct 6, 2025
Merged

fix(android): Fix intermittent crash due to lateinit var#92
OS-pedrogustavobilro merged 2 commits into
mainfrom
fix/RMET-4530/crash-android

Conversation

@OS-pedrogustavobilro

Copy link
Copy Markdown
Contributor

This PR fixes the following crash that occured for certain apps sometimes in Android:

kotlin.UninitializedPropertyAccessException: lateinit property camera has not been initialized
	at yxroq.lmgyo.jsqbx(OSBARCScannerActivity.kt:554)
(...)

The fix was done via native library - OutSystems/OSBarcodeLib-Android#52 - Whose version is updated in this PR.

Feel free to use the example app to test that scanning still works, and that there are no crashes.

@OS-pedrogustavobilro OS-pedrogustavobilro requested a review from a team October 3, 2025 12:02
@OS-pedrogustavobilro OS-pedrogustavobilro self-assigned this Oct 3, 2025
@OS-pedrogustavobilro OS-pedrogustavobilro merged commit 839328f into main Oct 6, 2025
6 checks passed
@OS-pedrogustavobilro OS-pedrogustavobilro deleted the fix/RMET-4530/crash-android branch October 6, 2025 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants