@identomat-inc/react-native-identomat 1.1.2 → 1.1.4
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 +23 -178
- package/android/src/main/java/com/reactlibrary/BridgeModule.java +128 -0
- package/android/src/main/java/com/reactlibrary/BridgePackage.java +36 -0
- package/ios/Identomat.m +30 -0
- package/ios/Identomat.xcodeproj/project.pbxproj +333 -0
- package/ios/Identomat.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/ios/Identomat.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/ios/Identomat.xcodeproj/project.xcworkspace/xcuserdata/giorgi.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/Identomat.xcodeproj/project.xcworkspace/xcuserdata/otosiradze.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/Identomat.xcodeproj/xcuserdata/giorgi.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
- package/ios/Identomat.xcodeproj/xcuserdata/otosiradze.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +6 -0
- package/ios/Identomat.xcodeproj/xcuserdata/otosiradze.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
- package/ios/Identomat.xcworkspace/contents.xcworkspacedata +7 -0
- package/ios/Identomat.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/ios/Identomat.xcworkspace/xcuserdata/giorgi.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/Identomat.xcworkspace/xcuserdata/otosiradze.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/package.json +82 -3
package/README.md
CHANGED
|
@@ -1,188 +1,33 @@
|
|
|
1
|
-
|
|
2
1
|
# react-native-identomat
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
identomat
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
## Installation
|
|
7
6
|
|
|
7
|
+
```sh
|
|
8
|
+
npm install react-native-identomat
|
|
9
|
+
```
|
|
8
10
|
|
|
9
|
-
|
|
10
|
-
1. run pod install in you ios directory
|
|
11
|
+
## Usage
|
|
11
12
|
|
|
12
|
-
#### Android
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
allprojects {
|
|
17
|
-
repositories {
|
|
18
|
-
google ()
|
|
19
|
-
jcenter ()
|
|
20
|
-
maven {
|
|
21
|
-
url = uri("https://gitlab.identomat.com/api/v4/projects/674/packages/maven/")
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
...
|
|
26
|
-
```
|
|
14
|
+
```js
|
|
15
|
+
import { multiply } from 'react-native-identomat';
|
|
27
16
|
|
|
28
|
-
|
|
29
|
-
```javascript
|
|
30
|
-
import identomat from '@identomat-inc/react-native-identomat';
|
|
31
|
-
class Callback {
|
|
32
|
-
callback() {
|
|
33
|
-
console.log('finished')
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
identomat.setCallback(new Callback())
|
|
37
|
-
identomat.setBaseUrl(config.baseUrl);
|
|
38
|
-
identomat.setColors(config.colors);
|
|
39
|
-
identomat.setStrings(config.strings);
|
|
40
|
-
identomat.start(config.sessionKey);
|
|
17
|
+
// ...
|
|
41
18
|
|
|
42
|
-
|
|
19
|
+
const result = await multiply(3, 7);
|
|
43
20
|
```
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"secondary_button":"#222222",
|
|
58
|
-
"secondary_button_text":"#FFFFFF",
|
|
59
|
-
"document_outer":"#2D2D2D",
|
|
60
|
-
"loading_indicator_background":"#FFFFFF",
|
|
61
|
-
"iteration_text":"#FFFFFF",
|
|
62
|
-
},
|
|
63
|
-
strings:{
|
|
64
|
-
"en":{
|
|
65
|
-
"identomat_agree": "Agree",
|
|
66
|
-
"identomat_title": " ",
|
|
67
|
-
"identomat_agree_page_title": "Consent for personal data processing",
|
|
68
|
-
"identomat_capture_method_title": "Choose a method",
|
|
69
|
-
"identomat_card_front_instructions": "Scan FRONT SIDE of ID CARD",
|
|
70
|
-
"identomat_card_front_upload": "Upload FRONT SIDE of ID CARD",
|
|
71
|
-
"identomat_card_looks_fine": "Card looks fine",
|
|
72
|
-
"identomat_card_rear_instructions": "Scan BACK SIDE of ID CARD",
|
|
73
|
-
"identomat_card_rear_upload": "Upload BACK SIDE of ID CARD",
|
|
74
|
-
"identomat_choose_file": "Choose a file",
|
|
75
|
-
"identomat_continue": "Continue",
|
|
76
|
-
"identomat_disagree": "Disagree",
|
|
77
|
-
"identomat_driver_license": "Driver license",
|
|
78
|
-
"identomat_driver_license_front_instructions": "Scan FRONT SIDE of DRIVER LICENSE",
|
|
79
|
-
"identomat_driver_license_front_upload": "Upload FRONT SIDE of DRIVER LICENSE",
|
|
80
|
-
"identomat_driver_license_rear_instructions": "Scan BACK SIDE of DRIVER LICENSE",
|
|
81
|
-
"identomat_driver_license_rear_upload": "Upload BACK SIDE of DRIVER LICENSE",
|
|
82
|
-
"identomat_ukr_driver_license": "Ukrainian Driver license",
|
|
83
|
-
"identomat_ukr_driver_license_front_instructions": "Scan FRONT SIDE of DRIVER LICENSE",
|
|
84
|
-
"identomat_ukr_driver_license_front_upload": "Upload FRONT SIDE of DRIVER LICENSE",
|
|
85
|
-
"identomat_ukr_driver_license_rear_instructions": "Scan BACK SIDE of DRIVER LICENSE",
|
|
86
|
-
"identomat_ukr_driver_license_rear_upload": "Upload BACK SIDE of DRIVER LICENSE",
|
|
87
|
-
"identomat_face_instructions": "Place your FACE within OVAL",
|
|
88
|
-
"identomat_face_looks_fine": "Face looks fine",
|
|
89
|
-
"identomat_card": "ID card",
|
|
90
|
-
"identomat_im_ready": "I'm ready",
|
|
91
|
-
"identomat_initializing": "Initializing...",
|
|
92
|
-
"identomat_lets_try": "Let's try",
|
|
93
|
-
"identomat_passport": "Passport",
|
|
94
|
-
"identomat_passport_instructions": "Passport photo page",
|
|
95
|
-
"identomat_passport_upload": "Upload passport photo page",
|
|
96
|
-
"identomat_ukr_passport": "Ukrainian passport",
|
|
97
|
-
"identomat_record_begin_section_1": "Take a neutral expression",
|
|
98
|
-
"identomat_record_begin_section_2": "Smile on this sign",
|
|
99
|
-
"identomat_record_begin_section_3": "Take a neutral expression again",
|
|
100
|
-
"identomat_record_begin_title": "Get ready for your video selfie",
|
|
101
|
-
"identomat_record_fail_description": "But first, please take a look at the instructions",
|
|
102
|
-
"identomat_record_fail_title": "Let's try again",
|
|
103
|
-
"identomat_record_instructions": "Place your FACE within OVAL and follow the on-screen instructions",
|
|
104
|
-
"identomat_residence_permit": "Residence permit",
|
|
105
|
-
"identomat_residence_permit_front_instructions": "Scan FRONT SIDE of RESIDENCE PERMIT",
|
|
106
|
-
"identomat_residence_permit_front_upload": "Upload FRONT SIDE of RESIDENCE PERMIT",
|
|
107
|
-
"identomat_residence_permit_rear_instructions": "Scan BACK SIDE of RESIDENCE PERMIT",
|
|
108
|
-
"identomat_residence_permit_rear_upload": "Upload BACK SIDE of RESIDENCE PERMIT",
|
|
109
|
-
"identomat_inn": "Inn photo page",
|
|
110
|
-
"identomat_scan_inn": "Scan INN Document",
|
|
111
|
-
"identomat_retake_photo": "Retake photo",
|
|
112
|
-
"identomat_retry": "Retry",
|
|
113
|
-
"identomat_scan_code": "Scan the code",
|
|
114
|
-
"identomat_scan_me": "Scan me",
|
|
115
|
-
"identomat_select_document": "Select document",
|
|
116
|
-
"identomat_neutral_expression": "Neutral face",
|
|
117
|
-
"identomat_smile": "Smile",
|
|
118
|
-
"identomat_take_photo": "Take a photo",
|
|
119
|
-
"identomat_upload_another_file": "Upload another file",
|
|
120
|
-
"identomat_upload_file": "Upload a file",
|
|
121
|
-
"identomat_uploading": "Uploading...",
|
|
122
|
-
"identomat_verifying": "Verifying...",
|
|
123
|
-
"identomat_upload_instructions_1": "Upload a color image of the entire document",
|
|
124
|
-
"identomat_upload_instructions_2": "JPG or PNG format only",
|
|
125
|
-
"identomat_upload_instructions_3": "Screenshots are not allowed",
|
|
126
|
-
"identomat_document_align": "Frame your document",
|
|
127
|
-
"identomat_document_blurry": "Document is blurry",
|
|
128
|
-
"identomat_document_face_blurry": "Face on document is blurry",
|
|
129
|
-
"identomat_document_face_require_brighter": "Low light",
|
|
130
|
-
"identomat_document_face_too_bright": "Avoid direct light",
|
|
131
|
-
"identomat_document_move_away": "Please move document away",
|
|
132
|
-
"identomat_document_move_closer": "Please move document closer",
|
|
133
|
-
"identomat_document_move_down": "Please move document down",
|
|
134
|
-
"identomat_document_move_left": "Please move document to the left",
|
|
135
|
-
"identomat_document_move_right": "Please move document to the right",
|
|
136
|
-
"identomat_document_move_up": "Please move document up",
|
|
137
|
-
"identomat_document_type_unknown": "Unknown document type",
|
|
138
|
-
"identomat_document_covered": "Document is covered",
|
|
139
|
-
"identomat_document_grayscale": "Document is grayscale",
|
|
140
|
-
"identomat_document_format_mismatch": "Document format mismatch",
|
|
141
|
-
"identomat_document_type_mismatch": "Wrong document",
|
|
142
|
-
"identomat_document_not_readable": "Document not readable",
|
|
143
|
-
"identomat_document_face_align": "Document face align",
|
|
144
|
-
"identomat_document_spoofing_detected2": "Document spoofing detected",
|
|
145
|
-
"identomat_document_page_mismatch": "Wrong page",
|
|
146
|
-
"identomat_face_look_straight": "Look straight",
|
|
147
|
-
"identomat_face_mismatch": "Faces do not match",
|
|
148
|
-
"identomat_face_align": "Frame your face",
|
|
149
|
-
"identomat_face_away_from_center": "Center your Face",
|
|
150
|
-
"identomat_face_blurry": "Face is blurry",
|
|
151
|
-
"identomat_face_far_away": "Move closer",
|
|
152
|
-
"identomat_face_require_brighter": "Low light",
|
|
153
|
-
"identomat_face_too_bright": "Avoid direct light",
|
|
154
|
-
"identomat_face_too_close": "Move away",
|
|
155
|
-
"identomat_no_document_in_image": "Frame your document",
|
|
156
|
-
"identomat_smile_detected": "Get neutral face",
|
|
157
|
-
"identomat_upload_success": "Successfully uploaded!",
|
|
158
|
-
"identomat_scan_success": "Success!",
|
|
159
|
-
"identomat_scan_success_info": "Document scanned successfully, Change it to the other side.",
|
|
160
|
-
"identomat_liveness_success": "Liveness completed successfully",
|
|
161
|
-
"identomat_camera_permission_title": "Can't access the camera",
|
|
162
|
-
"identomat_camera_permission_text": "Permission on the camera is restricted, without the camera, the app can't progress forward, please go to settings and check camera permission.",
|
|
163
|
-
"identomat_audio_permission_title": "Can't access the microphone",
|
|
164
|
-
"identomat_audio_permission_text": "Permission on the microphone is restricted, without the microphone, a call can't be made, please go to settings and check audio permission.",
|
|
165
|
-
"identomat_no_connection": "No internet connection",
|
|
166
|
-
"identomat_scan_retry_title": "Capture failed",
|
|
167
|
-
"identomat_scan_retry_instruction": "Please try again in better lighting",
|
|
168
|
-
"identomat_scan_retry_again": "Try again",
|
|
169
|
-
"identomat_scan_retry_cancel": "Cancel process",
|
|
170
|
-
"identomat_liveness_retry_title": "Let's try again",
|
|
171
|
-
"identomat_liveness_retry_instruction": "But first, please take a look at the instructions",
|
|
172
|
-
"identomat_liveness_retry_again": "Try again",
|
|
173
|
-
"identomat_liveness_retry_instruction_1": "Place your FACE within OVAL",
|
|
174
|
-
"identomat_liveness_retry_instruction_2": "Place your FACE within OVAL and follow the on-screen instructions",
|
|
175
|
-
"identomat_camera_deny_title": "Camera access denied",
|
|
176
|
-
"identomat_camera_deny_settings": "Allow access",
|
|
177
|
-
"identomat_camera_deny_cancel": "Cancel process",
|
|
178
|
-
"identomat_cascading_instructions": "Ready for the task? \n\n When prompted, repeat \n the facial expression shown on the icons: \n\n<b> • Keep neutral face \n • Smile</b> \n\n good luck!",
|
|
179
|
-
"identomat_cascading_button": "Start Liveness Check",
|
|
180
|
-
"identomat_cascading_neutral_face": "Keep neutral face",
|
|
181
|
-
"identomat_cascading_start": "Get ready for the liveness check!",
|
|
182
|
-
"identomat_cascading_smile": "Smile!",
|
|
183
|
-
"identomat_cascading_fail": "Liveness Failed",
|
|
184
|
-
"identomat_cascading_success": "That's it!"
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
```
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
## Contributing
|
|
24
|
+
|
|
25
|
+
See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
|
|
26
|
+
|
|
27
|
+
## License
|
|
28
|
+
|
|
29
|
+
MIT
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
package com.reactlibrary;
|
|
2
|
+
|
|
3
|
+
import android.app.Activity;
|
|
4
|
+
import android.content.Intent;
|
|
5
|
+
import android.content.IntentFilter;
|
|
6
|
+
import android.widget.Toast;
|
|
7
|
+
import android.util.Log;
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
// https://facebook.github.io/react-native/
|
|
11
|
+
import org.json.JSONException;
|
|
12
|
+
import org.json.JSONObject;
|
|
13
|
+
|
|
14
|
+
import com.facebook.react.ReactInstanceManager;
|
|
15
|
+
import com.facebook.react.ReactNativeHost;
|
|
16
|
+
import com.facebook.react.bridge.CatalystInstance;
|
|
17
|
+
import com.facebook.react.bridge.NativeModule;
|
|
18
|
+
import com.facebook.react.bridge.ReactApplicationContext;
|
|
19
|
+
import com.facebook.react.bridge.ReactContext;
|
|
20
|
+
import com.facebook.react.bridge.ReactContextBaseJavaModule;
|
|
21
|
+
import com.facebook.react.bridge.ReactMethod;
|
|
22
|
+
import com.facebook.react.bridge.WritableNativeArray;
|
|
23
|
+
import com.identomat.IdentomatKotlinObjectBridge;
|
|
24
|
+
import com.identomat.IdentomatBridgeCallback;
|
|
25
|
+
|
|
26
|
+
import org.json.JSONObject;
|
|
27
|
+
|
|
28
|
+
import java.util.HashMap;
|
|
29
|
+
import java.util.Map;
|
|
30
|
+
import java.util.Iterator;
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
public class BridgeModule extends ReactContextBaseJavaModule {
|
|
35
|
+
private static ReactApplicationContext reactContext;
|
|
36
|
+
static IdentomatKotlinObjectBridge identomatSDK = new IdentomatKotlinObjectBridge();
|
|
37
|
+
String mLanguage=null;
|
|
38
|
+
BridgeModule(ReactApplicationContext context){
|
|
39
|
+
super(context);
|
|
40
|
+
BridgeModule.reactContext = context;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@Override
|
|
44
|
+
public String getName(){
|
|
45
|
+
return "BridgeModule";
|
|
46
|
+
}
|
|
47
|
+
public void callback(){
|
|
48
|
+
|
|
49
|
+
if (reactContext != null) {
|
|
50
|
+
CatalystInstance catalystInstance = reactContext.getCatalystInstance();
|
|
51
|
+
// WritableNativeArray params = new WritableNativeArray();
|
|
52
|
+
// params.pushString("session");
|
|
53
|
+
identomatSDK.setCallback(new IdentomatBridgeCallback(){
|
|
54
|
+
@Override
|
|
55
|
+
public void invoke(){
|
|
56
|
+
catalystInstance.callFunction("JavaScriptVisibleToJava", "callback",new WritableNativeArray());
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
@ReactMethod
|
|
64
|
+
public void setColors(String colorsString){
|
|
65
|
+
try {
|
|
66
|
+
JSONObject colorsObj=new JSONObject(colorsString);
|
|
67
|
+
Iterator<String> keys = colorsObj.keys();
|
|
68
|
+
HashMap<String, String> colors = new HashMap<String, String>();
|
|
69
|
+
while(keys.hasNext()) {
|
|
70
|
+
String key = keys.next();
|
|
71
|
+
colors.put(key, colorsObj.getString(key));
|
|
72
|
+
}
|
|
73
|
+
identomatSDK.setColors(colors);
|
|
74
|
+
} catch (JSONException e) {
|
|
75
|
+
e.printStackTrace();
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@ReactMethod
|
|
80
|
+
public void setVariables(String variablesString){
|
|
81
|
+
try {
|
|
82
|
+
JSONObject variablesObj=new JSONObject(variablesString);
|
|
83
|
+
Iterator<String> keys = variablesObj.keys();
|
|
84
|
+
HashMap<String, Object> variables = new HashMap<String, Object>();
|
|
85
|
+
while(keys.hasNext()) {
|
|
86
|
+
String key = keys.next();
|
|
87
|
+
variables.put(key, variablesObj.getInt(key));
|
|
88
|
+
}
|
|
89
|
+
identomatSDK.setVariables(variables);
|
|
90
|
+
} catch (JSONException e) {
|
|
91
|
+
e.printStackTrace();
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
@ReactMethod
|
|
95
|
+
public void setStrings(String strings){
|
|
96
|
+
try {
|
|
97
|
+
JSONObject allStringsObj=new JSONObject(strings);
|
|
98
|
+
Iterator<String> languageKeys = allStringsObj.keys();
|
|
99
|
+
HashMap<String, HashMap> fullStringsMap = new HashMap<String, HashMap>();
|
|
100
|
+
while(languageKeys.hasNext()) {
|
|
101
|
+
String languageKey = languageKeys.next();
|
|
102
|
+
JSONObject stringsObj=allStringsObj.getJSONObject(languageKey);
|
|
103
|
+
Iterator<String> keys = stringsObj.keys();
|
|
104
|
+
HashMap<String, String> stringsMap = new HashMap<String, String>();
|
|
105
|
+
while(keys.hasNext()) {
|
|
106
|
+
String key = keys.next();
|
|
107
|
+
stringsMap.put(key, stringsObj.getString(key));
|
|
108
|
+
}
|
|
109
|
+
fullStringsMap.put(languageKey, stringsMap);
|
|
110
|
+
}
|
|
111
|
+
identomatSDK.strings(fullStringsMap);
|
|
112
|
+
} catch (JSONException e) {
|
|
113
|
+
e.printStackTrace();
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
@ReactMethod
|
|
119
|
+
public void setBaseUrl(String baseUrl){
|
|
120
|
+
identomatSDK.setBaseUrl(baseUrl);
|
|
121
|
+
}
|
|
122
|
+
@ReactMethod
|
|
123
|
+
public void start(String mSessionKey){
|
|
124
|
+
callback();
|
|
125
|
+
identomatSDK.setUp(mSessionKey);
|
|
126
|
+
reactContext.startActivity(identomatSDK.getIdentomatActivity(reactContext));
|
|
127
|
+
}
|
|
128
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
package com.reactlibrary;
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import com.facebook.react.ReactPackage;
|
|
5
|
+
import com.facebook.react.bridge.JavaScriptModule;
|
|
6
|
+
import com.facebook.react.bridge.NativeModule;
|
|
7
|
+
import com.facebook.react.bridge.ReactApplicationContext;
|
|
8
|
+
import com.facebook.react.uimanager.ViewManager;
|
|
9
|
+
|
|
10
|
+
import java.util.ArrayList;
|
|
11
|
+
import java.util.Collections;
|
|
12
|
+
import java.util.List;
|
|
13
|
+
|
|
14
|
+
import com.reactlibrary.BridgeModule;
|
|
15
|
+
|
|
16
|
+
public class BridgePackage implements ReactPackage{
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
@Override
|
|
21
|
+
public List<NativeModule> createNativeModules(ReactApplicationContext reactContext){
|
|
22
|
+
List<NativeModule> modules = new ArrayList<>();
|
|
23
|
+
modules.add(new BridgeModule(reactContext));
|
|
24
|
+
return modules;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
public List<Class<? extends JavaScriptModule>> createJSModules() {
|
|
28
|
+
return Collections.emptyList();
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@Override
|
|
32
|
+
public List<ViewManager> createViewManagers(ReactApplicationContext reactContext){
|
|
33
|
+
return Collections.emptyList();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
}
|
package/ios/Identomat.m
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
//#import "Identomat.h"
|
|
2
|
+
//#import "RCTLog.h"
|
|
3
|
+
//
|
|
4
|
+
//@implementation Identomat
|
|
5
|
+
//
|
|
6
|
+
//RCT_EXPORT_MODULE()
|
|
7
|
+
//
|
|
8
|
+
//RCT_EXPORT_METHOD(start:(NSString *)name)
|
|
9
|
+
//{
|
|
10
|
+
// RCTLogInfo(@"Pretending to create an event %@", name);
|
|
11
|
+
//
|
|
12
|
+
//}
|
|
13
|
+
//
|
|
14
|
+
//@end
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
#import <Foundation/Foundation.h>
|
|
19
|
+
#import <React/RCTBridgeModule.h>
|
|
20
|
+
|
|
21
|
+
@interface RCT_EXTERN_MODULE(Identomat, NSObject)
|
|
22
|
+
RCT_EXTERN_METHOD(start: (NSString *)sessionId)
|
|
23
|
+
RCT_EXTERN_METHOD(setBaseUrl: (NSString *)baseUrl)
|
|
24
|
+
RCT_EXTERN_METHOD(setColors: (NSString *)colors)
|
|
25
|
+
RCT_EXTERN_METHOD(setStrings: (NSString *)strings)
|
|
26
|
+
RCT_EXTERN_METHOD(setVariables: (NSString *)variables)
|
|
27
|
+
RCT_EXTERN_METHOD(callback: (RCTResponseSenderBlock *)successCallback)
|
|
28
|
+
@end
|
|
29
|
+
|
|
30
|
+
|
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
// !$*UTF8*$!
|
|
2
|
+
{
|
|
3
|
+
archiveVersion = 1;
|
|
4
|
+
classes = {
|
|
5
|
+
};
|
|
6
|
+
objectVersion = 46;
|
|
7
|
+
objects = {
|
|
8
|
+
|
|
9
|
+
/* Begin PBXBuildFile section */
|
|
10
|
+
7E6308CE25DC1A8100342098 /* identomat.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7E6308CD25DC1A8100342098 /* identomat.framework */; };
|
|
11
|
+
7E82F44525D442830084A903 /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7E82F44425D442830084A903 /* JavaScriptCore.framework */; };
|
|
12
|
+
7EEF7D2425D3FF4B00426A7E /* Identomat.m in Sources */ = {isa = PBXBuildFile; fileRef = 7EEF7D2325D3FF4B00426A7E /* Identomat.m */; };
|
|
13
|
+
7EEF7D2925D40B0200426A7E /* Identomat.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7EEF7D2825D40B0200426A7E /* Identomat.swift */; };
|
|
14
|
+
/* End PBXBuildFile section */
|
|
15
|
+
|
|
16
|
+
/* Begin PBXCopyFilesBuildPhase section */
|
|
17
|
+
58B511D91A9E6C8500147676 /* CopyFiles */ = {
|
|
18
|
+
isa = PBXCopyFilesBuildPhase;
|
|
19
|
+
buildActionMask = 2147483647;
|
|
20
|
+
dstPath = "include/$(PRODUCT_NAME)";
|
|
21
|
+
dstSubfolderSpec = 16;
|
|
22
|
+
files = (
|
|
23
|
+
);
|
|
24
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
25
|
+
};
|
|
26
|
+
/* End PBXCopyFilesBuildPhase section */
|
|
27
|
+
|
|
28
|
+
/* Begin PBXFileReference section */
|
|
29
|
+
134814201AA4EA6300B7C361 /* libIdentomat.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libIdentomat.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
30
|
+
7E6308CD25DC1A8100342098 /* identomat.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = identomat.framework; path = Frameworks/identomat.framework; sourceTree = "<group>"; };
|
|
31
|
+
7E82F44425D442830084A903 /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/System/iOSSupport/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; };
|
|
32
|
+
7E82F79C25D56AEC0084A903 /* Identomat-Bridging-Header.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "Identomat-Bridging-Header.h"; sourceTree = "<group>"; };
|
|
33
|
+
7EEF7D2325D3FF4B00426A7E /* Identomat.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Identomat.m; sourceTree = "<group>"; };
|
|
34
|
+
7EEF7D2825D40B0200426A7E /* Identomat.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Identomat.swift; sourceTree = "<group>"; };
|
|
35
|
+
/* End PBXFileReference section */
|
|
36
|
+
|
|
37
|
+
/* Begin PBXFrameworksBuildPhase section */
|
|
38
|
+
58B511D81A9E6C8500147676 /* Frameworks */ = {
|
|
39
|
+
isa = PBXFrameworksBuildPhase;
|
|
40
|
+
buildActionMask = 2147483647;
|
|
41
|
+
files = (
|
|
42
|
+
7E6308CE25DC1A8100342098 /* identomat.framework in Frameworks */,
|
|
43
|
+
7E82F44525D442830084A903 /* JavaScriptCore.framework in Frameworks */,
|
|
44
|
+
);
|
|
45
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
46
|
+
};
|
|
47
|
+
/* End PBXFrameworksBuildPhase section */
|
|
48
|
+
|
|
49
|
+
/* Begin PBXGroup section */
|
|
50
|
+
134814211AA4EA7D00B7C361 /* Products */ = {
|
|
51
|
+
isa = PBXGroup;
|
|
52
|
+
children = (
|
|
53
|
+
134814201AA4EA6300B7C361 /* libIdentomat.a */,
|
|
54
|
+
);
|
|
55
|
+
name = Products;
|
|
56
|
+
sourceTree = "<group>";
|
|
57
|
+
};
|
|
58
|
+
58B511D21A9E6C8500147676 = {
|
|
59
|
+
isa = PBXGroup;
|
|
60
|
+
children = (
|
|
61
|
+
7E6308CD25DC1A8100342098 /* identomat.framework */,
|
|
62
|
+
7E82F79C25D56AEC0084A903 /* Identomat-Bridging-Header.h */,
|
|
63
|
+
7EEF7D2325D3FF4B00426A7E /* Identomat.m */,
|
|
64
|
+
7EEF7D2825D40B0200426A7E /* Identomat.swift */,
|
|
65
|
+
134814211AA4EA7D00B7C361 /* Products */,
|
|
66
|
+
7E82F44325D442830084A903 /* Frameworks */,
|
|
67
|
+
);
|
|
68
|
+
sourceTree = "<group>";
|
|
69
|
+
};
|
|
70
|
+
7E82F44325D442830084A903 /* Frameworks */ = {
|
|
71
|
+
isa = PBXGroup;
|
|
72
|
+
children = (
|
|
73
|
+
7E82F44425D442830084A903 /* JavaScriptCore.framework */,
|
|
74
|
+
);
|
|
75
|
+
name = Frameworks;
|
|
76
|
+
sourceTree = "<group>";
|
|
77
|
+
};
|
|
78
|
+
/* End PBXGroup section */
|
|
79
|
+
|
|
80
|
+
/* Begin PBXNativeTarget section */
|
|
81
|
+
58B511DA1A9E6C8500147676 /* Identomat */ = {
|
|
82
|
+
isa = PBXNativeTarget;
|
|
83
|
+
buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "Identomat" */;
|
|
84
|
+
buildPhases = (
|
|
85
|
+
58B511D71A9E6C8500147676 /* Sources */,
|
|
86
|
+
58B511D81A9E6C8500147676 /* Frameworks */,
|
|
87
|
+
58B511D91A9E6C8500147676 /* CopyFiles */,
|
|
88
|
+
);
|
|
89
|
+
buildRules = (
|
|
90
|
+
);
|
|
91
|
+
dependencies = (
|
|
92
|
+
);
|
|
93
|
+
name = Identomat;
|
|
94
|
+
productName = RCTDataManager;
|
|
95
|
+
productReference = 134814201AA4EA6300B7C361 /* libIdentomat.a */;
|
|
96
|
+
productType = "com.apple.product-type.library.static";
|
|
97
|
+
};
|
|
98
|
+
/* End PBXNativeTarget section */
|
|
99
|
+
|
|
100
|
+
/* Begin PBXProject section */
|
|
101
|
+
58B511D31A9E6C8500147676 /* Project object */ = {
|
|
102
|
+
isa = PBXProject;
|
|
103
|
+
attributes = {
|
|
104
|
+
LastUpgradeCheck = 0920;
|
|
105
|
+
ORGANIZATIONNAME = Facebook;
|
|
106
|
+
TargetAttributes = {
|
|
107
|
+
58B511DA1A9E6C8500147676 = {
|
|
108
|
+
CreatedOnToolsVersion = 6.1.1;
|
|
109
|
+
LastSwiftMigration = 1220;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "Identomat" */;
|
|
114
|
+
compatibilityVersion = "Xcode 3.2";
|
|
115
|
+
developmentRegion = en;
|
|
116
|
+
hasScannedForEncodings = 0;
|
|
117
|
+
knownRegions = (
|
|
118
|
+
en,
|
|
119
|
+
Base,
|
|
120
|
+
ka,
|
|
121
|
+
);
|
|
122
|
+
mainGroup = 58B511D21A9E6C8500147676;
|
|
123
|
+
productRefGroup = 58B511D21A9E6C8500147676;
|
|
124
|
+
projectDirPath = "";
|
|
125
|
+
projectRoot = "";
|
|
126
|
+
targets = (
|
|
127
|
+
58B511DA1A9E6C8500147676 /* Identomat */,
|
|
128
|
+
);
|
|
129
|
+
};
|
|
130
|
+
/* End PBXProject section */
|
|
131
|
+
|
|
132
|
+
/* Begin PBXSourcesBuildPhase section */
|
|
133
|
+
58B511D71A9E6C8500147676 /* Sources */ = {
|
|
134
|
+
isa = PBXSourcesBuildPhase;
|
|
135
|
+
buildActionMask = 2147483647;
|
|
136
|
+
files = (
|
|
137
|
+
7EEF7D2425D3FF4B00426A7E /* Identomat.m in Sources */,
|
|
138
|
+
7EEF7D2925D40B0200426A7E /* Identomat.swift in Sources */,
|
|
139
|
+
);
|
|
140
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
141
|
+
};
|
|
142
|
+
/* End PBXSourcesBuildPhase section */
|
|
143
|
+
|
|
144
|
+
/* Begin XCBuildConfiguration section */
|
|
145
|
+
58B511ED1A9E6C8500147676 /* Debug */ = {
|
|
146
|
+
isa = XCBuildConfiguration;
|
|
147
|
+
buildSettings = {
|
|
148
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
149
|
+
CLANG_ANALYZER_NONNULL = YES;
|
|
150
|
+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
|
151
|
+
CLANG_CXX_LIBRARY = "libc++";
|
|
152
|
+
CLANG_ENABLE_MODULES = YES;
|
|
153
|
+
CLANG_ENABLE_OBJC_ARC = YES;
|
|
154
|
+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
|
155
|
+
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
156
|
+
CLANG_WARN_COMMA = YES;
|
|
157
|
+
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
158
|
+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
|
159
|
+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
160
|
+
CLANG_WARN_EMPTY_BODY = YES;
|
|
161
|
+
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
162
|
+
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
163
|
+
CLANG_WARN_INT_CONVERSION = YES;
|
|
164
|
+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
|
165
|
+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
|
166
|
+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
167
|
+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
168
|
+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
169
|
+
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
170
|
+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
171
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
172
|
+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
173
|
+
COPY_PHASE_STRIP = NO;
|
|
174
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
175
|
+
ENABLE_TESTABILITY = YES;
|
|
176
|
+
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
177
|
+
GCC_DYNAMIC_NO_PIC = NO;
|
|
178
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
|
179
|
+
GCC_OPTIMIZATION_LEVEL = 0;
|
|
180
|
+
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
181
|
+
"DEBUG=1",
|
|
182
|
+
"$(inherited)",
|
|
183
|
+
);
|
|
184
|
+
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
|
185
|
+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
186
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
187
|
+
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
188
|
+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
189
|
+
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
190
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
191
|
+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
|
|
192
|
+
LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)";
|
|
193
|
+
LIBRARY_SEARCH_PATHS = (
|
|
194
|
+
"\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
|
|
195
|
+
"\"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)\"",
|
|
196
|
+
"\"$(inherited)\"",
|
|
197
|
+
);
|
|
198
|
+
MTL_ENABLE_DEBUG_INFO = YES;
|
|
199
|
+
ONLY_ACTIVE_ARCH = YES;
|
|
200
|
+
SDKROOT = iphoneos;
|
|
201
|
+
};
|
|
202
|
+
name = Debug;
|
|
203
|
+
};
|
|
204
|
+
58B511EE1A9E6C8500147676 /* Release */ = {
|
|
205
|
+
isa = XCBuildConfiguration;
|
|
206
|
+
buildSettings = {
|
|
207
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
208
|
+
CLANG_ANALYZER_NONNULL = YES;
|
|
209
|
+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
|
210
|
+
CLANG_CXX_LIBRARY = "libc++";
|
|
211
|
+
CLANG_ENABLE_MODULES = YES;
|
|
212
|
+
CLANG_ENABLE_OBJC_ARC = YES;
|
|
213
|
+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
|
214
|
+
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
215
|
+
CLANG_WARN_COMMA = YES;
|
|
216
|
+
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
217
|
+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
|
218
|
+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
219
|
+
CLANG_WARN_EMPTY_BODY = YES;
|
|
220
|
+
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
221
|
+
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
222
|
+
CLANG_WARN_INT_CONVERSION = YES;
|
|
223
|
+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
|
224
|
+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
|
225
|
+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
226
|
+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
227
|
+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
228
|
+
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
229
|
+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
230
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
231
|
+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
232
|
+
COPY_PHASE_STRIP = YES;
|
|
233
|
+
ENABLE_NS_ASSERTIONS = NO;
|
|
234
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
235
|
+
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
236
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
|
237
|
+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
238
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
239
|
+
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
240
|
+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
241
|
+
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
242
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
243
|
+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
|
|
244
|
+
LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)";
|
|
245
|
+
LIBRARY_SEARCH_PATHS = (
|
|
246
|
+
"\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
|
|
247
|
+
"\"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)\"",
|
|
248
|
+
"\"$(inherited)\"",
|
|
249
|
+
);
|
|
250
|
+
MTL_ENABLE_DEBUG_INFO = NO;
|
|
251
|
+
SDKROOT = iphoneos;
|
|
252
|
+
VALIDATE_PRODUCT = YES;
|
|
253
|
+
};
|
|
254
|
+
name = Release;
|
|
255
|
+
};
|
|
256
|
+
58B511F01A9E6C8500147676 /* Debug */ = {
|
|
257
|
+
isa = XCBuildConfiguration;
|
|
258
|
+
buildSettings = {
|
|
259
|
+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
|
260
|
+
CLANG_ENABLE_MODULES = YES;
|
|
261
|
+
FRAMEWORK_SEARCH_PATHS = (
|
|
262
|
+
"$(inherited)",
|
|
263
|
+
"$(PROJECT_DIR)",
|
|
264
|
+
"$(PROJECT_DIR)/Frameworks",
|
|
265
|
+
);
|
|
266
|
+
HEADER_SEARCH_PATHS = (
|
|
267
|
+
"$(inherited)",
|
|
268
|
+
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
|
|
269
|
+
"$(SRCROOT)/../../../React/**",
|
|
270
|
+
"$(SRCROOT)/../../react-native/React/**",
|
|
271
|
+
);
|
|
272
|
+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
|
273
|
+
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
|
274
|
+
OTHER_LDFLAGS = "-ObjC";
|
|
275
|
+
PRODUCT_NAME = Identomat;
|
|
276
|
+
SKIP_INSTALL = YES;
|
|
277
|
+
SWIFT_OBJC_BRIDGING_HEADER = "Identomat-Bridging-Header.h";
|
|
278
|
+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
|
279
|
+
SWIFT_VERSION = 5.0;
|
|
280
|
+
};
|
|
281
|
+
name = Debug;
|
|
282
|
+
};
|
|
283
|
+
58B511F11A9E6C8500147676 /* Release */ = {
|
|
284
|
+
isa = XCBuildConfiguration;
|
|
285
|
+
buildSettings = {
|
|
286
|
+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
|
287
|
+
CLANG_ENABLE_MODULES = YES;
|
|
288
|
+
FRAMEWORK_SEARCH_PATHS = (
|
|
289
|
+
"$(inherited)",
|
|
290
|
+
"$(PROJECT_DIR)",
|
|
291
|
+
"$(PROJECT_DIR)/Frameworks",
|
|
292
|
+
);
|
|
293
|
+
HEADER_SEARCH_PATHS = (
|
|
294
|
+
"$(inherited)",
|
|
295
|
+
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
|
|
296
|
+
"$(SRCROOT)/../../../React/**",
|
|
297
|
+
"$(SRCROOT)/../../react-native/React/**",
|
|
298
|
+
);
|
|
299
|
+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
|
300
|
+
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
|
301
|
+
OTHER_LDFLAGS = "-ObjC";
|
|
302
|
+
PRODUCT_NAME = Identomat;
|
|
303
|
+
SKIP_INSTALL = YES;
|
|
304
|
+
SWIFT_OBJC_BRIDGING_HEADER = "Identomat-Bridging-Header.h";
|
|
305
|
+
SWIFT_VERSION = 5.0;
|
|
306
|
+
};
|
|
307
|
+
name = Release;
|
|
308
|
+
};
|
|
309
|
+
/* End XCBuildConfiguration section */
|
|
310
|
+
|
|
311
|
+
/* Begin XCConfigurationList section */
|
|
312
|
+
58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "Identomat" */ = {
|
|
313
|
+
isa = XCConfigurationList;
|
|
314
|
+
buildConfigurations = (
|
|
315
|
+
58B511ED1A9E6C8500147676 /* Debug */,
|
|
316
|
+
58B511EE1A9E6C8500147676 /* Release */,
|
|
317
|
+
);
|
|
318
|
+
defaultConfigurationIsVisible = 0;
|
|
319
|
+
defaultConfigurationName = Release;
|
|
320
|
+
};
|
|
321
|
+
58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "Identomat" */ = {
|
|
322
|
+
isa = XCConfigurationList;
|
|
323
|
+
buildConfigurations = (
|
|
324
|
+
58B511F01A9E6C8500147676 /* Debug */,
|
|
325
|
+
58B511F11A9E6C8500147676 /* Release */,
|
|
326
|
+
);
|
|
327
|
+
defaultConfigurationIsVisible = 0;
|
|
328
|
+
defaultConfigurationName = Release;
|
|
329
|
+
};
|
|
330
|
+
/* End XCConfigurationList section */
|
|
331
|
+
};
|
|
332
|
+
rootObject = 58B511D31A9E6C8500147676 /* Project object */;
|
|
333
|
+
}
|
|
Binary file
|
|
Binary file
|
package/ios/Identomat.xcodeproj/xcuserdata/giorgi.xcuserdatad/xcschemes/xcschememanagement.plist
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>SchemeUserState</key>
|
|
6
|
+
<dict>
|
|
7
|
+
<key>Identomat.xcscheme_^#shared#^_</key>
|
|
8
|
+
<dict>
|
|
9
|
+
<key>orderHint</key>
|
|
10
|
+
<integer>0</integer>
|
|
11
|
+
</dict>
|
|
12
|
+
</dict>
|
|
13
|
+
</dict>
|
|
14
|
+
</plist>
|
package/ios/Identomat.xcodeproj/xcuserdata/otosiradze.xcuserdatad/xcschemes/xcschememanagement.plist
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>SchemeUserState</key>
|
|
6
|
+
<dict>
|
|
7
|
+
<key>Identomat.xcscheme_^#shared#^_</key>
|
|
8
|
+
<dict>
|
|
9
|
+
<key>orderHint</key>
|
|
10
|
+
<integer>0</integer>
|
|
11
|
+
</dict>
|
|
12
|
+
</dict>
|
|
13
|
+
</dict>
|
|
14
|
+
</plist>
|
package/ios/Identomat.xcworkspace/xcuserdata/giorgi.xcuserdatad/UserInterfaceState.xcuserstate
ADDED
|
Binary file
|
package/ios/Identomat.xcworkspace/xcuserdata/otosiradze.xcuserdatad/UserInterfaceState.xcuserstate
ADDED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@identomat-inc/react-native-identomat",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "identomat
|
|
3
|
+
"version": "1.1.4",
|
|
4
|
+
"description": "identomat",
|
|
5
5
|
"source": "./src/index.tsx",
|
|
6
6
|
"main": "./src/index.tsx",
|
|
7
7
|
"module": "./src/index.tsx",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"url": "https://gitlab.identomat.com/world/identomat-example-app-android"
|
|
55
55
|
},
|
|
56
56
|
"author": "Giorgi",
|
|
57
|
-
"license": "
|
|
57
|
+
"license": "MIT",
|
|
58
58
|
"bugs": {
|
|
59
59
|
"url": "https://gitlab.identomat.com/mobile/identomat-android-sdk-v2/issues"
|
|
60
60
|
},
|
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
"prettier": "^3.0.3",
|
|
79
79
|
"react": "18.3.1",
|
|
80
80
|
"react-native": "0.76.1",
|
|
81
|
+
"react-native-builder-bob": "^0.31.0",
|
|
81
82
|
"release-it": "^17.10.0",
|
|
82
83
|
"turbo": "^1.10.7",
|
|
83
84
|
"typescript": "^5.2.2"
|
|
@@ -104,6 +105,84 @@
|
|
|
104
105
|
"extends": [
|
|
105
106
|
"@commitlint/config-conventional"
|
|
106
107
|
]
|
|
108
|
+
},
|
|
109
|
+
"release-it": {
|
|
110
|
+
"git": {
|
|
111
|
+
"commitMessage": "chore: release ${version}",
|
|
112
|
+
"tagName": "v${version}"
|
|
113
|
+
},
|
|
114
|
+
"npm": {
|
|
115
|
+
"publish": true
|
|
116
|
+
},
|
|
117
|
+
"github": {
|
|
118
|
+
"release": true
|
|
119
|
+
},
|
|
120
|
+
"plugins": {
|
|
121
|
+
"@release-it/conventional-changelog": {
|
|
122
|
+
"preset": "angular"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"eslintConfig": {
|
|
127
|
+
"root": true,
|
|
128
|
+
"extends": [
|
|
129
|
+
"@react-native",
|
|
130
|
+
"prettier"
|
|
131
|
+
],
|
|
132
|
+
"rules": {
|
|
133
|
+
"react/react-in-jsx-scope": "off",
|
|
134
|
+
"prettier/prettier": [
|
|
135
|
+
"error",
|
|
136
|
+
{
|
|
137
|
+
"quoteProps": "consistent",
|
|
138
|
+
"singleQuote": true,
|
|
139
|
+
"tabWidth": 2,
|
|
140
|
+
"trailingComma": "es5",
|
|
141
|
+
"useTabs": false
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"eslintIgnore": [
|
|
147
|
+
"node_modules/",
|
|
148
|
+
"lib/"
|
|
149
|
+
],
|
|
150
|
+
"prettier": {
|
|
151
|
+
"quoteProps": "consistent",
|
|
152
|
+
"singleQuote": true,
|
|
153
|
+
"tabWidth": 2,
|
|
154
|
+
"trailingComma": "es5",
|
|
155
|
+
"useTabs": false
|
|
156
|
+
},
|
|
157
|
+
"react-native-builder-bob": {
|
|
158
|
+
"source": "src",
|
|
159
|
+
"output": "lib",
|
|
160
|
+
"targets": [
|
|
161
|
+
[
|
|
162
|
+
"commonjs",
|
|
163
|
+
{
|
|
164
|
+
"esm": true
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
[
|
|
168
|
+
"module",
|
|
169
|
+
{
|
|
170
|
+
"esm": true
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
[
|
|
174
|
+
"typescript",
|
|
175
|
+
{
|
|
176
|
+
"project": "tsconfig.build.json",
|
|
177
|
+
"esm": true
|
|
178
|
+
}
|
|
179
|
+
]
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
"create-react-native-library": {
|
|
183
|
+
"type": "module-legacy",
|
|
184
|
+
"languages": "kotlin-swift",
|
|
185
|
+
"version": "0.43.0"
|
|
107
186
|
}
|
|
108
187
|
}
|
|
109
188
|
|