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 duplicate definitions of startcall and displayincomingcall as … #816

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Irfanwani
Copy link

…react native is thorwing error with the latest version. When upgrading to the latest version of react native (0.76.1), I got this error that RNCallKeep is exporting two methods with same name (got this error for two methods, startCall and displayIncomingCall).

…react native is thorwing error with the latest version
@mluksha
Copy link
Contributor

mluksha commented Jan 29, 2025

It looks like reasonable changes. There is an error if a new architecture is enabled. React-native modules don't support function overloading. And the removed parts seem not to be used anyway in the index.js.

@Irfanwani Could you please remove the commented lines of code?
@manuquentin Could you please review? Let's move it to the next release.

Code cleaning, nothing special
@Irfanwani
Copy link
Author

It looks like reasonable changes. There is an error if a new architecture is enabled. React-native modules don't support function overloading. And the removed parts seem not to be used anyway in the index.js.

@Irfanwani Could you please remove the commented lines of code? @manuquentin Could you please review? Let's move it to the next release.

Done @mluksha

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