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.

Support autolinking > 0.60

See original GitHub issue

Hi,

Did you saw that and is it planned ?

error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually: 
  - react-native-ble-plx (to unlink run: "react-native unlink react-native-ble-plx")
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.
Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md

Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md

Regards

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:9
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Cierpliwycommented, Jan 31, 2020

There are plans to release version 2.0, which will target RN 0.60+ and use autolinking feature as far as I know. There are no API changes planned for 2.0.

0reactions
azuxxcommented, Jul 30, 2020

Automatic linking is the first two steps. There are additional steps related to BLE feature and the way this library is implemented on each platform and are obligatory.

@dariuszseweryn I have updated to RN 0.63.2 and I don’t have those stuff in my xCode project. Anyhow my podfile looks like this and your library at the moment is working properly, it was just about that warning I was having when running npx react-native run-ios.

require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '10.0'


target 'XXXReactNative' do

  config = use_native_modules!
  use_react_native!(:path => config["reactNativePath"])
  pod 'react-native-ble-plx', :path => '../node_modules/react-native-ble-plx'

  #target 'XXXReactNativeTests' do
    #inherit! :complete
    # Pods for testing
  #end

  # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable these next few lines.
  use_flipper!
  post_install do |installer|
    flipper_post_install(installer)
  end
end

#target 'XXXReactNative-tvOS' do
  # Pods for XXXReactNative-tvOS

  #target 'XXXReactNative-tvOSTests' do
  #  inherit! :search_paths
    # Pods for testing
  #end
#end

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support RN >= 0.60 autolinking · Issue #94 - GitHub
Running a project with either react-native run-ios or react-native run-android the following message appears: error React Native CLI uses autolinking for ...
Read more >
React Native Autolinking after React Native 0.60 - About React
So the first thing which is updated in the React Native 0.60 is the default screen of the app. Now you will see...
Read more >
Developers - Support autolinking > 0.60 - - Bountysource
Hi,. Did you saw that and is it planned ? error React Native CLI uses autolinking for native dependencies, but the following modules...
Read more >
Linking Libraries - React Native
React Native will link your libs based on dependencies and devDependencies in your package.json file. That's it! Next time you build your app ......
Read more >
Not compatible with RN 0.60 autolinking - react native
In react-native 0.60 this is not needed as the linking is done by ... update some of them as autolinking isn't supported in...
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