-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: create view using context provided by
createViewInstance
method (
#114) ## 📜 Description Use context provided by `createViewInstance` for view creation. ## 💡 Motivation and Context Partially fixes the problem described in #113 We need to use actual context provided by `createViewInstance`. Otherwise after hot reloading context may be invalid and keyboard events will not be send to JS thread (since UIManager will be invalid). ## 📢 Changelog ### Android - use `reactContext` from params instead of constructor value; ## 🤔 How Has This Been Tested? Tested manually on Pixel 7 Pro and Xiaomi Redmi Note 5 Pro (real devices). ## 📝 Checklist - [x] CI successfully passed
- Loading branch information
1 parent
894c192
commit 0cbada6
Showing
2 changed files
with
6 additions
and
7 deletions.
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
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