You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-15Lines changed: 12 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,16 +12,13 @@ Exposes `addEvent` method which can save an event to an Android or iOS device's
12
12
13
13
Run `npm install --save git+ssh://git@bitbucket.org:fiveminutes/react-native-calendar-manager.git`
14
14
15
-
### Automatic plugin linking using rnpm
15
+
### Linking
16
16
17
-
You can use [`rnpm`](https://github.com/rnpm/rnpm) to add native dependencies automatically.
18
-
Just run:
17
+
Run:
19
18
20
-
`$ rnpm link`
19
+
`$ react-native link react-native-calendar-manager`
21
20
22
-
Which will link all native dependencies from the plugin.
23
-
24
-
It will also add a directory containing your app's AppDelegate to CalendarManager projects build path which is necessary for building the iOS dependencies.
21
+
Which will link all native dependencies from the plugin, as well as add a directory containing your app's AppDelegate to CalendarManager projects build path which is necessary for building the iOS dependencies.
25
22
26
23
### Manual plugin linking
27
24
@@ -38,7 +35,7 @@ It will also add a directory containing your app's AppDelegate to CalendarManage
38
35
header files installed within the `react-native``node_modules`
39
36
directory.
40
37
4. Add the line `$(SRCROOT)/../../ios/<YOUR PROJECT'S NAME>` as well, so that CalendarManager can find yor AppDelegate header file.
41
-
38
+
42
39
#### Android
43
40
44
41
1. in `android/settings.gradle`
@@ -55,23 +52,23 @@ It will also add a directory containing your app's AppDelegate to CalendarManage
0 commit comments