question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not compatible with RN 0.60 autolinking

See original GitHub issue

Bug

Environment info

React native info output:

 // error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually: 
  - react-native-device-info (to unlink run: "react-native unlink react-native-device-info")
This is likely happening when upgrading React Native from below 0.60 to 0.60 or above. Going forward, you can unlink this dependency via "react-native unlink <dependency>" and it will be included in your app automatically. If a library isn't compatible with autolinking, disregard this message and notify the library maintainers

Library version: 2.2.2

Steps To Reproduce

  1. Create an app using react-native init project
  2. Install the package …

Describe what you expected to happen:

  1. The app should run without error

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13

github_iconTop GitHub Comments

3reactions
mikehardycommented, Jul 23, 2019

I am running this fine on android, there is no auto-linking problem, the “error message” in this issue is not actually an error. It is a result of manually linking instead of just installing the package and letting it run

3reactions
mikehardycommented, Jul 12, 2019

If you nulled android too that warning would likely go awsy

Read more comments on GitHub >

github_iconTop Results From Across the Web

Not compatible with RN 0.60 autolinking · Issue #720 - GitHub
error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually: - react-native-device-info ...
Read more >
React Native Autolinking after React Native 0.60 - About React
In this post, we will talk about the auto-linking as all the other updates are related to the backend and will not directly...
Read more >
Installation - React Native Google Cast
Autolinking (recommended). If you're using RN >= 0.60 and you're fine with default settings (without guest mode), you can just run.
Read more >
Upgrade to React Native 0.60 - Matt Oakes
The new React Native CLI includes support for Autolinking your native dependencies. This works by scanning your dependencies and adding the linking code...
Read more >
@react-native-picker/picker - npm
This component is not supported in the managed workflow for expo sdk 37. ... As react-native@0.60 and above supports autolinking there is no ......
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