-
Notifications
You must be signed in to change notification settings - Fork 54
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
Fix #14. Build fails with [email protected] #16
Conversation
"Argument 0 (NSNumber) of RCTRefreshControl.configure has unspecified nullability but React requires that all NSNumber arguments are explicitly marked as `nonnull` to ensure compatibility with Android."
👍 |
I want to use your fix in my project, but when I replace the git url with https://github.com/doochik/RCTRefreshControl.git#43de75405a4fa3b6450398933b306fa5832a223e , everything works except it doesn't import ODRefreshControl... Any idea @doochik ? |
@JonathanWi Hi! I think you should make |
Hey @doochik ! Thanks a lot for your fast answer! Just tried your solution (even automated it via scripts in my package.json)
but that doesn't seem to work either... Any other idea? Thanks a lot for your time |
@JonathanWi Sorry you can't do it with npm and package.json :( I've write the email to @Shuangzuan and ask him to merge my PR and publish new version to npm. |
Awesome, thanks a lot @doochik |
👍 Ended up just hard-coding the fix since submodule whatnot. Merged PR would be outstanding! |
Fix #14. Build fails with [email protected]
Thanks for the merge. Seems it needs an npm publish too, right? |
@Shuangzuan Can you |
@rpastorelle: I applied exactly this PR and flattened (i.e. un-submoduled) the submodule. If you just need a quick fix, you can use the version at https://github.com/rreusser/RCTRefreshControl by adding to your package.json:
(I know that's not a long-term solution, but maybe it's a reasonable quick-fix if that's all you need 😄 ) |
@Shuangzuan is there anything I can do do help publish this fix to NPM? I just reinstalled and have the same issue. Using the git checkout like @rreusser mentioned works but is not ideal. |
I'd be glad to merge what I have and be a maintainer if added to the repo and npm. I think it's purely just small maintenance fixes that are causing the problems here. |
"Argument 0 (NSNumber) of RCTRefreshControl.configure has unspecified nullability but React requires that all NSNumber arguments are explicitly marked as
nonnull
to ensure compatibility with Android."