Skip to content

Commit 0960700

Browse files
author
Vlad
committed
Change name to @shoutem/react-native-calendar-manager
1 parent 9d398f8 commit 0960700

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# rn-calendar-manager
1+
# @shoutem/react-native-calendar-manager
22

33
*Note*
4-
We renamed the package from `react-native-calendar-manager` to `rn-calendar-manager` because the name was already taken on npm before we published.
4+
We renamed the package from `react-native-calendar-manager` to `@shoutem/react-native-calendar-manager` because the name was already taken on npm before we published.
55

66
A calendar manager for React Native. Exposes `addEvent` method which can save an event to an Android or iOS device's native calendar app.
77

@@ -12,7 +12,7 @@ A calendar manager for React Native. Exposes `addEvent` method which can save an
1212

1313
## Plugin installation
1414

15-
Run `npm install --save rn-calendar-manager`
15+
Run `npm install --save @shoutem/react-native-calendar-manager`
1616

1717
### Linking
1818

@@ -25,7 +25,7 @@ Otherwise, check the manual linking section.
2525
#### iOS
2626

2727
1. Open your project in Xcode, right click on `Libraries` and click `Add
28-
Files to "Your Project Name"` Look under `node_modules/rn-calendar-manager` and add `CalendarManager.xcodeproj`.
28+
Files to "Your Project Name"` Look under `node_modules/@shoutem/react-native-calendar-manager` and add `CalendarManager.xcodeproj`.
2929
2. Add `libCalendarManager.a` to `Build Phases -> Link Binary With Libraries`
3030
3. Click on `CalendarManager.xcodeproj` in `Libraries` and go the `Build
3131
Settings` tab. Double click the text to the right of `Header Search
@@ -41,8 +41,8 @@ Otherwise, check the manual linking section.
4141
```
4242
#!groovy
4343
...
44-
include ':rn-calendar-manager'
45-
project(':rn-calendar-manager').projectDir = new File(rootProject.projectDir, '../node_modules/rn-calendar-manager/android')
44+
include ':@shoutem/react-native-calendar-manager'
45+
project(':@shoutem/react-native-calendar-manager').projectDir = new File(rootProject.projectDir, '../node_modules/@shoutem/react-native-calendar-manager/android')
4646
4747
```
4848

@@ -51,7 +51,7 @@ Otherwise, check the manual linking section.
5151
#!groovy
5252
dependencies {
5353
...
54-
implementation project(':rn-calendar-manager')
54+
implementation project(':@shoutem/react-native-calendar-manager')
5555
}
5656
```
5757

@@ -76,7 +76,7 @@ Otherwise, check the manual linking section.
7676

7777
## Example
7878
```javascript
79-
import CalendarManager from 'rn-calendar-manager';
79+
import CalendarManager from '@shoutem/react-native-calendar-manager';
8080

8181
const inTenMinutes = Date.now() + 1000 * 60 * 10;
8282
const inTwentyMinutes = Date.now() + 1000 * 60 * 10 * 2;

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"name": "rn-calendar-manager",
2+
"name": "@shoutem/react-native-calendar-manager",
33
"version": "1.1.0",
44
"description": "A calendar manager for react-native",
55
"main": "index",
66
"repository": {
77
"type": "git",
8-
"url": "https://github.com/shoutem/rn-calendar-manager"
8+
"url": "https://github.com/shoutem/react-native-calendar-manager"
99
},
1010
"ios": {
1111
"project": "CalendarManager.xcodeproj"

0 commit comments

Comments
 (0)