File tree 2 files changed +1
-13
lines changed
src/main/java/com/reactcommunity/rndatetimepicker
2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ if (isNewArchitectureEnabled()) {
24
24
25
25
26
26
android {
27
+ namespace = " com.reactcommunity.rndatetimepicker"
27
28
compileSdkVersion getExtOrIntegerDefault(' compileSdkVersion' )
28
29
29
30
// Used to override the NDK path/version on internal CI or by allowing
Original file line number Diff line number Diff line change 1
1
package com .reactcommunity .rndatetimepicker ;
2
2
3
3
4
- import androidx .annotation .NonNull ;
5
4
import androidx .annotation .Nullable ;
6
5
7
6
import com .facebook .react .TurboReactPackage ;
10
9
import com .facebook .react .module .model .ReactModuleInfo ;
11
10
import com .facebook .react .module .model .ReactModuleInfoProvider ;
12
11
13
- import java .util .ArrayList ;
14
12
import java .util .HashMap ;
15
- import java .util .List ;
16
13
import java .util .Map ;
17
14
18
15
public class RNDateTimePickerPackage extends TurboReactPackage {
@@ -58,14 +55,4 @@ public ReactModuleInfoProvider getReactModuleInfoProvider() {
58
55
return moduleInfos ;
59
56
};
60
57
}
61
-
62
- @ NonNull
63
- @ Override
64
- public List <NativeModule > createNativeModules (ReactApplicationContext reactContext ) {
65
- List <NativeModule > modules = new ArrayList <>();
66
- modules .add (new DatePickerModule (reactContext ));
67
- modules .add (new TimePickerModule (reactContext ));
68
-
69
- return modules ;
70
- }
71
58
}
You can’t perform that action at this time.
0 commit comments