Skip to content

remove duplicate definitions of startcall and displayincomingcall as …#816

Open
Irfanwani wants to merge 3 commits into
react-native-webrtc:masterfrom
Irfanwani:master
Open

remove duplicate definitions of startcall and displayincomingcall as …#816
Irfanwani wants to merge 3 commits into
react-native-webrtc:masterfrom
Irfanwani:master

Conversation

@Irfanwani

Copy link
Copy Markdown

…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

mluksha commented Jan 29, 2025

Copy link
Copy Markdown

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
Copy Markdown
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

@Irfanwani

Copy link
Copy Markdown
Author

@mluksha these changes can be merged now. Please proceed

@mluksha

mluksha commented Apr 10, 2025

Copy link
Copy Markdown

@saghul Could you please review this PR?

@saghul

saghul commented Apr 10, 2025

Copy link
Copy Markdown
Member

@manuquentin any objections to landing this?

@devartwa

Copy link
Copy Markdown

Hello guys, is this going to be released soon?

dacuoi added a commit to dacuoi/react-native-callkeep that referenced this pull request Jul 2, 2025
@sultanmyrza

Copy link
Copy Markdown

Can confirm removing duplicate methods displayIncomingCall(String uuid, String number, String callerName) and startCall(String uuid, String number, String callerName) works.

Tested on:

  • expo project with "newArchEnabled": true
  • physical device Galaxy A60 (Android 11)
  • package.json
"expo": "~53.0.17",
"react-native": "0.79.5",
"react-native-callkeep": "^4.3.16",
"@config-plugins/react-native-callkeep": "^11.0.0",

aka #816 looks good to me.

Who we should ping to merge this PR? @manuquentin?

@jhonbergmann

Copy link
Copy Markdown

Hi everyone.

When are you going to merge, please?

@saghul

saghul commented Aug 8, 2025

Copy link
Copy Markdown
Member

Ping @manuquentin

@jhonbergmann

Copy link
Copy Markdown

@manuquentin

@Irfanwani

Copy link
Copy Markdown
Author

Can anyone please merge this PR? It is a small fix hanging from a long time now.

@yashwant-manchu

Copy link
Copy Markdown

Merge this PR Immediately, Still Today Same issue when Installed and Run

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.

7 participants