Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[android][ios] Upgrade @react-native-community/datetimepicker to 7.2.0 #23034

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class ExponentPackage : ReactPackage {
nativeModules.add(RNSharedElementModule(reactContext))
nativeModules.addAll(SvgPackage().getNativeModuleIterator(reactContext).map { it.module })
nativeModules.addAll(MapsPackage().createNativeModules(reactContext))
nativeModules.addAll(RNDateTimePickerPackage().createNativeModules(reactContext))
nativeModules.addAll(RNDateTimePickerPackage().getNativeModuleIterator(reactContext).map { it.module })
nativeModules.addAll(stripePackage.createNativeModules(reactContext))
nativeModules.addAll(skiaPackage.createNativeModules(reactContext))

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package versioned.host.exp.exponent.modules.api.components.datetimepicker;


import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.facebook.react.TurboReactPackage;
Expand All @@ -10,9 +9,7 @@
import com.facebook.react.module.model.ReactModuleInfo;
import com.facebook.react.module.model.ReactModuleInfoProvider;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import host.exp.expoview.BuildConfig;
Expand Down Expand Up @@ -60,14 +57,4 @@ public ReactModuleInfoProvider getReactModuleInfoProvider() {
return moduleInfos;
};
}

@NonNull
@Override
public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
List<NativeModule> modules = new ArrayList<>();
modules.add(new DatePickerModule(reactContext));
modules.add(new TimePickerModule(reactContext));

return modules;
}
}
4 changes: 2 additions & 2 deletions apps/bare-expo/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ PODS:
- React-Core
- RNCPicker (2.4.10):
- React-Core
- RNDateTimePicker (7.1.0):
- RNDateTimePicker (7.2.0):
- React-Core
- RNFlashList (1.4.3):
- React-Core
Expand Down Expand Up @@ -1504,7 +1504,7 @@ SPEC CHECKSUMS:
RNCAsyncStorage: ddc4ee162bfd41b0d2c68bf2d95acd81dd7f1f93
RNCMaskedView: 949696f25ec596bfc697fc88e6f95cf0c79669b6
RNCPicker: 0bc2f0a29abcca7b7ed44a2d036aac9ab6d25700
RNDateTimePicker: 7ecd54a97fc3749f38c3c89a171f6cbd52f3c142
RNDateTimePicker: 3942382593f104af226ad9c56e16166960c7ae30
RNFlashList: ade81b4e928ebd585dd492014d40fb8d0e848aab
RNGestureHandler: dec4645026e7401a0899f2846d864403478ff6a5
RNReanimated: 11ef210bd11e80668ed3708f7a9dd846ae29e99c
Expand Down
2 changes: 1 addition & 1 deletion apps/bare-expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"dependencies": {
"@babel/runtime": "^7.20.0",
"@react-native-async-storage/async-storage": "1.18.2",
"@react-native-community/datetimepicker": "7.1.0",
"@react-native-community/datetimepicker": "7.2.0",
"@react-native-community/netinfo": "9.3.10",
"@react-native-community/slider": "4.4.2",
"@react-native-masked-view/masked-view": "0.2.9",
Expand Down
2 changes: 1 addition & 1 deletion apps/native-component-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"dependencies": {
"@expo/react-native-action-sheet": "^3.8.0",
"@react-native-async-storage/async-storage": "1.18.2",
"@react-native-community/datetimepicker": "7.1.0",
"@react-native-community/datetimepicker": "7.2.0",
"@react-native-community/netinfo": "9.3.10",
"@react-native-community/slider": "4.4.2",
"@react-native-masked-view/masked-view": "0.2.9",
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/bundledNativeModules.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"@expo/vector-icons": "^13.0.0",
"@react-native-async-storage/async-storage": "1.18.2",
"@react-native-community/datetimepicker": "7.1.0",
"@react-native-community/datetimepicker": "7.2.0",
"@react-native-masked-view/masked-view": "0.2.9",
"@react-native-community/netinfo": "9.3.10",
"@react-native-community/slider": "4.4.2",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3313,10 +3313,10 @@
prompts "^2.4.0"
semver "^6.3.0"

"@react-native-community/datetimepicker@7.1.0":
version "7.1.0"
resolved "https://registry.yarnpkg.com/@react-native-community/datetimepicker/-/datetimepicker-7.1.0.tgz#627c2be65256c87b25bef0ca373e0d2aae69ece5"
integrity sha512-bXK1/UnutKgJMbHKcbh6TQN3GmzOWROo6Hc9z6tfVG6KIwq5MrdvxZTFJA97PB6xwW8p3v9ddkaSfkFa1pelPA==
"@react-native-community/datetimepicker@7.2.0":
version "7.2.0"
resolved "https://registry.yarnpkg.com/@react-native-community/datetimepicker/-/datetimepicker-7.2.0.tgz#db8c03dbf49bf3c24b06b617a8467d8b05511f62"
integrity sha512-dO1sQy83M/EvnHE2egto05iwXZX7EYn5f/VDMp6afZFRFXRiRo7CzB3VFg4B55gJRJMNBv06NYMLPM3SlpnEGQ==
dependencies:
invariant "^2.2.4"

Expand Down