Skip to content

Fixes error where apps opened through deep links can crash#28

Open
hrastnik wants to merge 2 commits intoshoutem:masterfrom
hrastnik:preview_oob_fix
Open

Fixes error where apps opened through deep links can crash#28
hrastnik wants to merge 2 commits intoshoutem:masterfrom
hrastnik:preview_oob_fix

Conversation

@hrastnik
Copy link

A simple out of bounds array access happens when the app is opened through a deep link.

This PR fixes the bug by simply checking the array length before accessing it.

Also, some unused imports were removed.

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.

1 participant