[React-Native 0.66] Attempted to remove more RCTLinkingManager listeners than added

See original GitHub issue

Before opening, please confirm:

JavaScript Framework

React Native

Amplify APIs

Authentication

Amplify Categories

auth

Environment information

"react-native": "0.66.4"
"@aws-amplify/auth": "^4.3.20",
"@aws-amplify/core": "^4.3.12",

Describe the bug

I’ve create a new React Native porject and latest version of amplify:

"@aws-amplify/auth": "^4.3.20",
"@aws-amplify/core": "^4.3.12",

Add when run application see the next error:

https://github.com/aws-amplify/amplify-js/blob/9924a31397761fccd03f53336d754b98367199a8/packages/auth/src/urlListener.native.ts#L41-L42

^^^ it is the reason of this error!

Expected behavior

It is nonsense! when you create fresh project and install latest versions of amplify to see an error!

Reproduction steps

Code Snippet

// Put your code below this line.

Log output

// Put your logs below this line


aws-exports.js

No response

Manual configuration

No response

Additional configuration

No response

Mobile Device

iPhone X; iOS 15

Mobile Operating System

No response

Mobile Browser

No response

Mobile Browser Version

No response

Additional information and screenshots

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
retyuicommented, Feb 6, 2022

Sorry @calebpollman you should be used Auth instead of Amplify

Auth.configure(config);
1reaction
retyuicommented, Jan 20, 2022

@calebpollman Please run .configure once

Amplify.configure(config);
Read more comments on GitHub >

github_iconTop Results From Across the Web

Attempted to remove more RCTLinkingManager listeners than ...
When I upgrade from react native version 0.66.1 to 0.66.4 I get the error "Attempted to remove more RCTLinkingManager listeners than added".
Read more >
React-native: 'Attempted to remove more RCTLinkingManager ...
I'm facing issue that whenever I logout from my app, the warning 'Attempted to remove more RCTLinkingManager listeners than added' occurs.
Read more >
Attempted to remove more RCTLinkingManager listeners than ...
Error alert with message Attempted to remove more RCTLinkingManager listeners than added. is appearing after each restart of the app, ...
Read more >
Attempted to remove more RCTLinkingManager listeners than ...
Coding example for the question "Attempted to remove more RCTLinkingManager listeners than added" error in react-native-React Native.
Read more >
Linking - React Native
For instructions on how to add support for deep linking on Android, ... return [RCTLinkingManager application:application openURL:url options:options];
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found