File tree Expand file tree Collapse file tree 5 files changed +68
-0
lines changed
android/src/main/java/com/smixx/fabric Expand file tree Collapse file tree 5 files changed +68
-0
lines changed Original file line number Diff line number Diff line change
1
+ /**
2
+ * @providesModule Digits
3
+ */
4
+ 'use strict' ;
5
+
6
+ var { NativeModules } = require ( 'react-native' ) ;
7
+ var SMXDigits = NativeModules . SMXDigits ;
8
+
9
+ module . exports = {
10
+
11
+ authenticate : function ( options :string ) {
12
+
13
+ }
14
+ } ;
Original file line number Diff line number Diff line change
1
+ package com .smixx .fabric ;
2
+
3
+ import android .app .Activity ;
4
+ import android .util .Log ;
5
+
6
+ import com .crashlytics .android .Crashlytics ;
7
+ import com .facebook .react .bridge .ReactApplicationContext ;
8
+ import com .facebook .react .bridge .ReactContextBaseJavaModule ;
9
+ import com .facebook .react .bridge .ReactMethod ;
10
+
11
+ public class SMXDigits extends ReactContextBaseJavaModule {
12
+ public Activity activity ;
13
+
14
+ public SMXDigits (ReactApplicationContext reactContext , Activity activity ) {
15
+ super (reactContext );
16
+ this .activity = activity ;
17
+ }
18
+
19
+ @ Override
20
+ public String getName () {
21
+ return "SMXDigits" ;
22
+ }
23
+
24
+ @ ReactMethod
25
+ public void authenticate (ReadableMap options , Callback callback ) {
26
+
27
+ }
28
+ }
Original file line number Diff line number Diff line change 4
4
'use strict' ;
5
5
module . exports . Crashlytics = require ( './Crashlytics' ) ;
6
6
module . exports . Answers = require ( './Answers' ) ;
7
+ module . exports . Digits = require ( './Digits' ) ;
Original file line number Diff line number Diff line change
1
+ #import < Foundation/Foundation.h>
2
+ #import " RCTBridgeModule.h"
3
+
4
+ @interface SMXDigits : NSObject <RCTBridgeModule>
5
+
6
+ @end
Original file line number Diff line number Diff line change
1
+ #import " SMXDigits.h"
2
+ #import < DigitsKit/DigitsKit.h>
3
+
4
+ @implementation SMXDigits
5
+ @synthesize bridge = _bridge;
6
+
7
+ RCT_EXPORT_MODULE ();
8
+
9
+ - (dispatch_queue_t )methodQueue
10
+ {
11
+ return dispatch_get_main_queue ();
12
+ }
13
+
14
+ RCT_EXPORT_METHOD (authenticate:(NSDictionary *)options)
15
+ {
16
+
17
+ }
18
+
19
+ @end
You can’t perform that action at this time.
0 commit comments