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
Bug description
The app crashes immediately after the splash screen in the release build when using react-native-date-picker. The error indicates the library is not installed correctly, even though it works fine in the debug build.
Expected behavior
The app is expected to launch in the release build on emulator.
To Reproduce
<DatePicker
modal
mode="date"
open={isDatePickerOpen}
date={formData.flight_date ? new Date(formData.flight_date) : new Date()}
onConfirm={handleDateChange}
onCancel={() => setIsDatePickerOpen(false)}
/>
Proguard rules aren't enabled. Attempted to enable with the below flags, same behaviour:
-keep class com.henninghall.date_picker.** { *; }
-dontwarn com.henninghall.date_picker.**
Ignoring the warning also has no effect. iOS debug and release are not affected. Android debug release is unaffected.
The app has been rebuilt on both iOS and Android.
FATAL EXCEPTION: mqt_v_native
com.facebook.react.common.JavascriptException: Error: react-native-date-picker is not installed correctly. Make sure you:
1. Rebuilt the app (by for instance 'npx react-native run-ios')
Please reply in this thread if this solved your issue or not:
https://github.com/henninghall/react-native-date-picker/issues/404
Bug description
The app crashes immediately after the splash screen in the release build when using react-native-date-picker. The error indicates the library is not installed correctly, even though it works fine in the debug build.
Expected behavior
The app is expected to launch in the release build on emulator.
To Reproduce
Proguard rules aren't enabled. Attempted to enable with the below flags, same behaviour:
Ignoring the warning also has no effect. iOS debug and release are not affected. Android debug release is unaffected.
The app has been rebuilt on both iOS and Android.
Package.json:
Relevant Logcat logs:
Smartphone
React Native Version: 0.76.3
react-native-date-picker Version: 5.0.8
Platform: Android (Release build only)
Node Version: v23.4.0
Emulator: Pixel_6_Pro_API_33(AVD) - 13
The text was updated successfully, but these errors were encountered: