Skip to content

Commit 848b68d

Browse files
author
Fran Montiel
committed
Update README.md
- Removed instructions for older versions (0.5x) of React-native
1 parent 7a80aae commit 848b68d

1 file changed

Lines changed: 2 additions & 25 deletions

File tree

README.md

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,7 @@ Add the bugfender plugin from npm
2828
`$ npm install @bugfender/rn-bugfender --save`
2929

3030
### Android
31-
If you are using react-native 0.60 or above, you are done!
32-
33-
**If using an older version of react-native** you still need to link the module to your project:
34-
```
35-
// Add the classes of the plugin to your android and iOS projects
36-
$ npx react-native link @bugfender/rn-bugfender`
37-
```
31+
You are done!
3832

3933
### iOS
4034
You can finish the installation manually or via CocoaPods (recommended)
@@ -46,33 +40,16 @@ You can finish the installation manually or via CocoaPods (recommended)
4640
$ cd path_to_your_project/ios
4741
$ pod init
4842
```
49-
50-
2. Link your project (**only on react-native versions prior 0.60**):
51-
```
52-
// Add the classes of the plugin to your android and iOS projects
53-
$ npx react-native link @bugfender/rn-bugfender`
54-
```
55-
5643
Make sure you're targeting at least iOS platform version 10 (specify `platform :ios, '10.0'`).
5744

58-
A new line should have been added automatically to your Podfile:
59-
60-
`pod 'RNBugfender', :path => '../node_modules/@bugfender/rn-bugfender'`
61-
62-
3. After configuring the podfile you can now go to the console and run
45+
2. After configuring the podfile you can now go to the console and run
6346

6447
`$ pod install`
6548

6649
When the installation has finished you should be able to run your project in iOS and Android.
6750

6851
**Remember that you should be using the Xcode workspace instead of the xcodeproj file from now on.**
6952

70-
**Important**: the *podspec* of RNBugfender declares React as a dependency. Your Podfile must explicitly override that React dependency. Like this:
71-
72-
`pod 'React', path: '../node_modules/react-native'`
73-
74-
If you created your project with the react-native cli from React Native 0.60 or newer your podfile should be already prepared. For older versions of react-native you must ensure to override it. Otherwise, CocoaPods will download and install a new version in your iOS folder and you will end up with all the React libraries duplicated.
75-
7653
*At the end of this document you can find a **[recommended podfile](#recommended-podfile)**. You can use it as an example*.
7754

7855
If you have any problems compiling or executing, try our [Troubleshooting section](#cocoapods-troubleshooting) at the end of this document.

0 commit comments

Comments
 (0)