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
+15-14
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,8 @@
2
2
3
3
See this [issue](https://github.com/react-native-datetimepicker/datetimepicker/issues/313)
4
4
5
-
Note: the module was recently moved out of the `@react-native-community` npm scope. Please install from `@react-native-datetimepicker/datetimepicker`.
5
+
This repository was moved out of the react native community GH organization, in accordance to [this proposal](https://github.com/react-native-community/discussions-and-proposals/issues/176).
6
+
The module is still published on `npm` under the old namespace (as documented) but will be published under a new namespace soon, with a major version bump.
6
7
7
8
# React Native DateTimePicker
8
9
@@ -79,18 +80,18 @@ React Native date & time picker component for iOS, Android and Windows.
79
80
80
81
## Expo users notice
81
82
82
-
This module is part of Expo - [see docs](https://docs.expo.io/versions/latest/sdk/date-time-picker/). However, Expo SDK may not contain the latest version of the module and therefore, the newest features and bugfixes may not be available in Expo. Follow installation instructions in Expo docs - Expo will automatically install the latest version compatible with your Expo SDK (which may _not_ be the latest version of the module available).
83
+
This module is part of Expo - [see docs](https://docs.expo.io/versions/latest/sdk/date-time-picker/). However, Expo SDK may not contain the latest version of the module and therefore, the newest features and bugfixes may not be available in Expo. Use the command `expo install @react-native-community/datetimepicker` (not `yarn` or `npm`) to install this module - Expo will automatically install the latest version compatible with your Expo SDK (which may _not_ be the latest version of the module available).
@@ -608,7 +609,7 @@ Please see [CONTRIBUTING.md](CONTRIBUTING.md)
608
609
platform :ios, '8.0'
609
610
610
611
# Point to the installed version
611
-
pod 'RNDateTimePicker', :path => '../node_modules/@react-native-datetimepicker/datetimepicker/RNDateTimePicker.podspec'
612
+
pod 'RNDateTimePicker', :path => '../node_modules/@react-native-community/datetimepicker/RNDateTimePicker.podspec'
612
613
613
614
# React/React-Native specific pods
614
615
pod 'React', :path => '../node_modules/react-native', :subspecs => [
@@ -640,16 +641,16 @@ Please see [CONTRIBUTING.md](CONTRIBUTING.md)
640
641
1. Add the following lines to `android/settings.gradle`:
641
642
642
643
```gradle
643
-
include ':@react-native-datetimepicker_datetimepicker'
644
-
project(':@react-native-datetimepicker_datetimepicker').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-datetimepicker/datetimepicker/android')
644
+
include ':@react-native-community_datetimepicker'
645
+
project(':@react-native-community_datetimepicker').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-community/datetimepicker/android')
645
646
```
646
647
647
648
2. Add the compile line to the dependencies in `android/app/build.gradle`:
5. Run `yarn run start:ios` or `yarn run start:android` or `yarn run start:windows`
704
705
6. To do any development on the library, open the example project (in the example folder!) in xCode or Android Studio. The example project depends on the library code, which you can edit and observe any changes in the example project.
0 commit comments