-
Notifications
You must be signed in to change notification settings - Fork 764
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX 867: add deprecated hasActiveCatalystInstance for old RN (#868)
- Loading branch information
1 parent
aeaea30
commit a18a593
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a18a593
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey there,
mReactContext.hasActiveReactInstance()
is a compile time error for me, not a runtime one, so this doesn't actually work for older RN versions. There's a good chance I'm doing something wrong though. I ended up just forking for now with only the call tohasActiveCatalystInstance
.