@identomat-inc/react-native-identomat 1.1.3 → 1.1.6

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,188 +1,33 @@
1
-
2
1
  # react-native-identomat
3
2
 
4
- ## Getting started
3
+ identomat
5
4
 
6
- `$ npm install '@identomat-inc/react-native-identomat'`
5
+ ## Installation
7
6
 
7
+ ```sh
8
+ npm install react-native-identomat
9
+ ```
8
10
 
9
- #### iOS
10
- 1. run pod install in you ios directory
11
+ ## Usage
11
12
 
12
- #### Android
13
13
 
14
- 1. Insert the following lines inside the dependencies block in `android/build.gradle`:
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
- ## Usage
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
- ## config
45
- ```javascript
46
- module.exports = {
47
- sessionKey : '',
48
- baseUrl : 'https://widget.identomat.com/api/',
49
- colors: {
50
- "background_low":"#222222",
51
- "background_high":"#2D2D2D",
52
- "text_color_title":"#A4A4A4",
53
- "text_color_header":"#A4A4A4",
54
- "text_color":"#676767",
55
- "primary_button":"#7848FF",
56
- "primary_button_text":"#FFFFFF",
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,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
+ }
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "self:">
6
+ </FileRef>
7
+ </Workspace>
@@ -0,0 +1,8 @@
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>IDEDidComputeMac32BitWarning</key>
6
+ <true/>
7
+ </dict>
8
+ </plist>
@@ -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>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Bucket
3
+ uuid = "F3F77F0F-51F9-4230-9856-00688EC1D646"
4
+ type = "1"
5
+ version = "2.0">
6
+ </Bucket>
@@ -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>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "group:Identomat.xcodeproj">
6
+ </FileRef>
7
+ </Workspace>
@@ -0,0 +1,8 @@
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>IDEDidComputeMac32BitWarning</key>
6
+ <true/>
7
+ </dict>
8
+ </plist>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@identomat-inc/react-native-identomat",
3
- "version": "1.1.3",
3
+ "version": "1.1.6",
4
4
  "description": "identomat",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./src/index.tsx",