cnjon / react-native-datetime Goto Github PK
View Code? Open in Web Editor NEWA datetime-picker for react-native support for android and ios
License: MIT License
A datetime-picker for react-native support for android and ios
License: MIT License
I'm hoping to add on some additional functionality to the native android side of this package but am unclear how to import it and run in android studio? Is it possible to run the android piece standalone without react-native?... and if so any guidance?
I tried opening the android folder in android-studio and it gave me build issues related to compile 'com.facebook.react:react-native:+'
. I can work around that by adding react-native as a package.json dependency at the root of the project directory and doing an npm install
but even when it succussfully builds it does not appear to be an android-studio project that I can run in emulation
How to choose year and month
所有的java文件的包都是错误的,文件内部是com.keyee.datetime,但是文件都放在com.remobile.datetimepicker下
无法运行 错误: 不兼容的类型: <匿名ReactNativeHost>无法转换为Activity
new RCTDateTimePickerPackage(this),
android下,拉起DateTimepicker会默认弹出软键盘,求解决
Could not resolve all dependencies for configuration ':app:_debugApk'.
A problem occurred configuring project ':react-native-datetime'.
> Could not resolve all dependencies for configuration ':react-native-date
time:_debugPublishCopy'.
> Could not find any version that matches com.facebook.react:react-nati
ve:0.25.+.
Versions that do not match:
0.20.1
0.20.0
0.19.1
0.19.0
0.18.0
+ 13 more
Required by:
AwesomeProject:react-native-datetime:unspecified
Android breaking changes are not applied, I can't compile anymore my RN project.
iOS 10.10.1 空白,只显示 确定按钮,没有日期选择
当使用showDateTimePicker方法时,部分安卓手机无法选择月份。
When using the showDateTimePicker method, the part of the Android mobile phone can not choose months.
this.setState({
date: new Date()
})
这里应该是传入的date值。
还有想请教下,怎么总是警告提示date必须为Date类型以及onDateChange不可为空的错误,是不是跟我升级到React Native 0.22.2有关?
TimePicker's OnTimeChangedListener do not fire on Android 5.0.x.
Validation of time must be done in onClick method to make it work.
Bug:
https://code.google.com/p/android/issues/detail?id=78861
now RN did not override
protected List getPackages() { in MainActivity.jave. So if this component should be update?
can't select date and/or time on android 5.0.x, works well on other version
Because of the below issue, the picker does not show up on iOS.
facebook/react-native#8730
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.