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
+14-15Lines changed: 14 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,7 @@
2
2
3
3
See this [issue](https://github.com/react-native-datetimepicker/datetimepicker/issues/313)
4
4
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.
5
+
Note: the module was recently moved out of the `@react-native-community` npm scope. Please install from `@react-native-datetimepicker/datetimepicker`.
7
6
8
7
# React Native DateTimePicker
9
8
@@ -80,18 +79,18 @@ React Native date & time picker component for iOS, Android and Windows.
80
79
81
80
## Expo users notice
82
81
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).
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).
@@ -609,7 +608,7 @@ Please see [CONTRIBUTING.md](CONTRIBUTING.md)
609
608
platform :ios, '8.0'
610
609
611
610
# Point to the installed version
612
-
pod 'RNDateTimePicker', :path => '../node_modules/@react-native-community/datetimepicker/RNDateTimePicker.podspec'
611
+
pod 'RNDateTimePicker', :path => '../node_modules/@react-native-datetimepicker/datetimepicker/RNDateTimePicker.podspec'
613
612
614
613
# React/React-Native specific pods
615
614
pod 'React', :path => '../node_modules/react-native', :subspecs => [
@@ -641,16 +640,16 @@ Please see [CONTRIBUTING.md](CONTRIBUTING.md)
641
640
1. Add the following lines to `android/settings.gradle`:
642
641
643
642
```gradle
644
-
include ':@react-native-community_datetimepicker'
645
-
project(':@react-native-community_datetimepicker').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-community/datetimepicker/android')
643
+
include ':@react-native-datetimepicker_datetimepicker'
644
+
project(':@react-native-datetimepicker_datetimepicker').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-datetimepicker/datetimepicker/android')
646
645
```
647
646
648
647
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`
705
704
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