Skip to content
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

Remove declaration of non-existent method in iOS module #100

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

jhtr
Copy link
Contributor

@jhtr jhtr commented Jan 22, 2025

This "multiply" method is not implemented in ThetaClientReactNative.swift. It was probably copied from a guide and left by mistake.
Having this declaration with no corresponding definition causes a crash at app start with React Native 0.76 and new architecture: when looking for method signature for selector "multiply:withB:withResolver:withRejecter:" in parseExportedMethods from RCTInteropTurboModule.mm, we get nil which causes a crash right after.

This "multiply" method is not implemented in
ThetaClientReactNative.swift. It was probably copied from a guide and
left by mistake.
Having this declaration with no corresponding definition causes a
crash at app start with React Native 0.76 and new architecture:
when looking for method signature for selector
"multiply:withB:withResolver:withRejecter:" in parseExportedMethods
from RCTInteropTurboModule.mm, we get nil which causes a crash right
after.
@LassicYM LassicYM merged commit 3360fa8 into ricohapi:main Jan 23, 2025
4 checks passed
@jhtr jhtr deleted the remove-multiply branch January 23, 2025 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants