-
Notifications
You must be signed in to change notification settings - Fork 986
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Another bug in 2.15 #788
Comments
Going back to 2.14 for now... |
@StasD |
It's a warning, but it is displayed very prominently when I run the program in iOS simulator, and I have to press "Dismiss All" before I can use the program in the simulator again. |
I think it has something to do with this PR: #752 |
Also I use react-native-navigation component, which requires AppDelegate.m to be modified: here. I took a quick look at "Files changed" section of that PR and thought this information could be relevant... |
It looks like event listeners are only registered in the event that a
#1 seems like a better option because #2 will require changing the signature of the native methods in order to implement. I'd be happy to submit a PR for #1. However, I have a secondary issue, which is I can't actually seem to replicate this issue, whether I pass callbacks or not. @StasD -- what versions of React Native and iOS are you on? |
All latest: RN 0.61.2, iOS 13.1 in the simulator. |
@itinance Also, please check the above link from react-native-navigator documentation. I have a suspicion that the way how AppDelegate.m is modified might have something to do with this. Though I might be wrong. |
@StasD Ah, I see, this issue only appears for me in certain scenarios (eg other listeners have never been registered). Since I was testing uploads as well, I didn't see it. It looks like the current hot fix would be to pass That also supports my first fix idea I suggested above. I'll submit a PR unless @itinance has an issue with that method of fixing it. |
@StasD alternately, try with this fork, which will become my PR if it works: https://github.com/jnpdx/react-native-fs#7558d9f |
Yes, if I pass |
@StasD yeah, I think that's why I didn't see this issue at first the emitter is really inconsistent about when it complains about things. I'll submit my patch as a PR. |
Issues a warning:
when I do
The text was updated successfully, but these errors were encountered: