Skip to content

fix: android avoid NPE in GoogleSigninButton on RN 0.79 old architecture#1491

Open
kashmiry wants to merge 1 commit intoreact-native-google-signin:masterfrom
kashmiry:master
Open

fix: android avoid NPE in GoogleSigninButton on RN 0.79 old architecture#1491
kashmiry wants to merge 1 commit intoreact-native-google-signin:masterfrom
kashmiry:master

Conversation

@kashmiry
Copy link
Copy Markdown

Fixes an Android crash when rendering GoogleSigninButton on React Native 0.79+ with newArchEnabled=false (old architecture).

On RN 0.79+, Android view property updates in this path call delegate.setProperty(...) during view creation/update. Returning null causes a NullPointerException.

Issue details:
#1490

Reproduction:
https://github.com/kashmiry/rn79GoogleSigninCrash

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