-
Notifications
You must be signed in to change notification settings - Fork 585
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
> Task :realm:buildCMakeDebug[arm64-v8a][realm-js-android-binding] FAILED . React native - 0.75.1 #6845
Comments
➤ PM Bot commented: Jira ticket: RJS-2888 |
I think react-native's has added noexcept keyword. That is why this is failing in recent versions. When can we expect a patch to this please? |
@SrinjoyBarman you can check here to see if it works for you: |
React Native's CallInvoker API changed with facebook/react-native#43375, such that the Care was made in that PR to provide signatures for backward compatibility, but these were only added for overload that doesn't take a
Option 1 will leave This is a topmost priority of mine. |
Got it @kraenhansen. Can you advise any patch for this so that i could edit the package itself as we need to get through this asap due to blocked deliverables. Or else, when can we expect the backwards compatibility? |
@nthtrung09it , your solution did work but encountered a new issue as follows:
|
A fix was release with v12.13.1 - please take it for a spin and let us know how it goes 👍 |
Awesome! |
Thanks @kraenhansen for fixing and releasing so quickly. I can confirm that it fixes the build issue on my app, freshly upgraded to React Native |
I am having this issue when trying to run on Android: For it to work on iOS, I need the versions to be as such, otherwise
Upgrading the RN version seems to make it not work on iOS. Is there a known fix that will support both iOS and Android? |
@shadhussain-crgl please open your own issue tracking this. We need the full stacktrace to debug it as this is just an indication that the gradle task failed - it doesn't reveal the underlying cause. |
Task :realm:buildCMakeRelease[arm64-v8a][realm-js-android-binding] FAILED Still facing same issue with new version, Trying to build release build on android. |
@saloni1711 Please create your own issue with the entire stacktrace and detailed steps to reproduce it, the lines you've pasted just says the build failed, not why it failed. |
How frequently does the bug occur?
Always
Description
si/react_scheduler.cpp:61:65)' to 'CallFunc' (aka 'function<void (jsi::Runtime &)>') for 2nd argument
C/C++: virtual void invokeAsync(
C/C++: ^
C/C++: /Users/satyaretail01/Documents/service-app-mobile/node_modules/react-native/ReactCommon/callinvoker/ReactCommon/CallInvoker.h:29:16: note: candidate function not viable: requires single argument 'func', but 2 arguments were provided
C/C++: virtual void invokeAsync(CallFunc&& func) noexcept = 0;
C/C++: ^
C/C++: /Users/satyaretail01/Documents/service-app-mobile/node_modules/react-native/ReactCommon/callinvoker/ReactCommon/CallInvoker.h:40:16: note: candidate function not viable: requires single argument 'func', but 2 arguments were provided
C/C++: virtual void invokeAsync(std::function<void()>&& func) noexcept {
C/C++: ^
C/C++: 1 error generated.
Stacktrace & log output
No response
Can you reproduce the bug?
Always
Reproduction Steps
run yarn android
Version
latest - 12.13.0
What services are you using?
Atlas Device Sync
Are you using encryption?
Yes
Platform OS and version(s)
react native 0.75.1
Build environment
Which debugger for React Native: ..
Cocoapods version
No response
The text was updated successfully, but these errors were encountered: