You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: These are steps for using my example project. It's a long way of saying that setting the RCTRootView.appProperties has no effect, either in the viewDidLoad function or when I tried invoking it as the result of a NativeModule function call from JS. When debugging, the RCTRootView.m file was failing out at RCTAssertMainQueue(), but I don't know how to make that not fail.
@notgiorgi I worked around it by moving from using viewDidLoad to putting my code in loadView, so I got the information before rendering for the first time. The bug still remains as far as I know
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.
stalebot
added
the
Stale
There has been a lack of activity on this issue and it may be closed soon.
label
Dec 17, 2017
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
react-native -v
: 0.48.1node -v
: v7.2.0npm -v
:3.10.9yarn --version
: 0.18.0Then, specify:
iOS
macOS 10.12.4
XCode, issue is specific to iOS
Steps to Reproduce
Note: These are steps for using my example project. It's a long way of saying that setting the RCTRootView.appProperties has no effect, either in the viewDidLoad function or when I tried invoking it as the result of a NativeModule function call from JS. When debugging, the RCTRootView.m file was failing out at RCTAssertMainQueue(), but I don't know how to make that not fail.
Expected Behavior
The React Native view should update to show the URL provided to it. See the code here that sets the appProperties: https://github.com/shaneosullivan/ReactNativeExampleBrowserExtension/compare/appPropertiesBug?expand=1#diff-0b1a9f46953a980a748dafea06f6543fR69
Actual Behavior
Nothing happens, the RN app is never re-rendered
Reproducible Demo
The 'appPropertiesBug' branch of https://github.com/shaneosullivan/ReactNativeExampleBrowserExtension/ shows this error, as noted above.
The line in question that executes (I checked with the XCode debugger) but has no effect is https://github.com/shaneosullivan/ReactNativeExampleBrowserExtension/compare/appPropertiesBug?expand=1#diff-0b1a9f46953a980a748dafea06f6543fR69
The text was updated successfully, but these errors were encountered: