react-native-wheel-pick 1.0.9 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,3 +1,12 @@
1
+ # FYI
2
+
3
+ Hey guy I am so sorry, I do not have time to develop this project anymore. :(
4
+
5
+ I recommend you to use [https://github.com/react-native-picker/picker](https://github.com/react-native-picker/picker) instead.
6
+ I have many work to do :(
7
+
8
+ You can also fork my project, but if you want to pay for my coffee for continue develop/update this project pls send message directly to [https://facebook.com/tron.onlyalone](https://facebook.com/tron.onlyalone)
9
+
1
10
  # react-native-wheel-pick
2
11
 
3
12
  React native wheel picker for both iOS and android. (Support DatePicker)
@@ -46,7 +55,7 @@ const isIos = Platform.OS === 'ios'
46
55
  - Line color is white in android. (Support Line style in future. Pull request welcome)
47
56
  - Line color is grey in IOS but it has bug line not show in Picker (iOS 11.4 not sure other version).
48
57
 
49
- ### Pull request are welcome for more support in future (Text Style / Line Style / Line Bug)
58
+ ~~Pull request are welcome for more support in future (Text Style / Line Style / Line Bug)~~
50
59
 
51
60
  ## More Example
52
61
 
@@ -69,6 +78,18 @@ const isIos = Platform.OS === 'ios'
69
78
 
70
79
  ## Release Note
71
80
 
81
+ ### 1.1.2 (April 13 2022)
82
+ - Edit broken url.
83
+
84
+ ### 1.1.1 (November 20 2021)
85
+ - Edit broken url.
86
+
87
+ ### 1.1.0 (January 14 2020)
88
+ - Use react-native.config.js instead of rnpm section. [@darkbluesun](https://github.com/darkbluesun)
89
+
90
+ [Android]
91
+ - Add safeExtGet to get sdk version from root project.[@darkbluesun](https://github.com/darkbluesun)
92
+
72
93
  ### 1.0.9 (June 27 2018)
73
94
  [IOS]
74
95
  - Fix bug props date of DatePicker is not work right.
@@ -1,7 +1,11 @@
1
1
  apply plugin: 'com.android.library'
2
2
 
3
+ def safeExtGet(prop, fallback) {
4
+ rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
5
+ }
6
+
3
7
  android {
4
- compileSdkVersion 26
8
+ compileSdkVersion safeExtGet('compileSdkVersion', 26)
5
9
  buildToolsVersion "27.0.3"
6
10
  defaultConfig {
7
11
  minSdkVersion 16
@@ -18,4 +22,4 @@ dependencies {
18
22
  implementation fileTree(dir: 'libs', include: ['*.jar'])
19
23
  implementation "cn.aigestudio.wheelpicker:WheelPicker:1.0.3"
20
24
  implementation 'com.facebook.react:react-native:+'
21
- }
25
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-wheel-pick",
3
- "version": "1.0.9",
3
+ "version": "1.1.2",
4
4
  "description": "React native wheel picker iOS style with android.",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -15,7 +15,7 @@
15
15
  "picker",
16
16
  "wheel"
17
17
  ],
18
- "author": "Natthakorn Nakhaseno <tron.natthakorn@gmail.com>",
18
+ "author": "Natthakorn Nakhaseno <tron.natthakorn@engineer.com>",
19
19
  "license": "MIT",
20
20
  "bugs": {
21
21
  "url": "https://github.com/TronNatthakorn/react-native-wheel-pick/issues"
@@ -28,10 +28,5 @@
28
28
  "moment": ">=2.0.0",
29
29
  "prop-types": "*",
30
30
  "react-native": ">=0.45.0"
31
- },
32
- "rnpm": {
33
- "android": {
34
- "packageInstance": "new ReactNativeWheelPickerPackage()"
35
- }
36
31
  }
37
32
  }
@@ -0,0 +1,9 @@
1
+ module.exports = {
2
+ dependency: {
3
+ platforms: {
4
+ android: {
5
+ packageInstance: "new ReactNativeWheelPickerPackage()"
6
+ }
7
+ }
8
+ }
9
+ };
@@ -82,4 +82,4 @@ WheelCurvedPicker.Item = Item;
82
82
 
83
83
  const WheelCurvedPickerNative = requireNativeComponent('WheelCurvedPicker', WheelCurvedPicker);
84
84
 
85
- export default WheelCurvedPicker;
85
+ export default WheelCurvedPicker;