react-navigation / react-navigation

Routing and navigation for your React Native apps
https://reactnavigation.org
23.3k stars 4.97k forks source link

RemoveEventListener error in react-native-navigation@4 #11936

Closed gkasireddy202 closed 1 month ago

gkasireddy202 commented 1 month ago

Current behavior

I have used react-navigation: 4.4.4 in my project for the last 5 years. I upgraded the react-navigation to 0.73.2 and got this error. _reactNative.Linking.removeEventListener is not a function (it is undefined)

Expected behavior

I expect this error will be resolved.

Reproduction

Private repo maintained by company

Platform

Packages

Environment

"react-navigation": "^4.4.4", "react-navigation-drawer": "^2.7.2", "react-navigation-stack": "^2.10.4", "react-navigation-tabs": "^2.11.2", Simulator Screenshot - iPhone 15 Pro Max - 2024-04-13 at 15 00 37

github-actions[bot] commented 1 month ago

Hey @gkasireddy202! Thanks for opening the issue. It seems that the issue doesn't contain a link to a repro.

The best way to get attention to your issue is to provide an easy way for a developer to reproduce the issue.

You can provide a repro using any of the following:

github-actions[bot] commented 1 month ago

Couldn't find version numbers for the following packages in the issue:

Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

gkasireddy202 commented 1 month ago

"react-navigation": "^4.4.4",

radko93 commented 1 month ago

This React Navigation version is not maintained anymore so it won't be updates. Only latest React Navigation is supported currently.

github-actions[bot] commented 1 month ago

Hey! This issue is closed and isn't watched by the core team. You are welcome to discuss the issue with others in this thread, but if you think this issue is still valid and needs to be tracked, please open a new issue with a repro.

gkasireddy202 commented 1 month ago

Hey! This issue is closed and isn't watched by the core team. You are welcome to discuss the issue with others in this thread, but if you think this issue is still valid and needs to be tracked, please open a new issue with a repro.

How to add repro?It is my company repo.

gkasireddy202 commented 1 month ago

Hey! This issue is closed and isn't watched by the core team. You are welcome to discuss the issue with others in this thread, but if you think this issue is still valid and needs to be tracked, please open a new issue with a repro.

How to add repro?It is my company repo. We have been using this navigation@4 for the last 7 years. So please check the issue once.