@identomat-inc/react-native-identomat 1.0.20

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.
Files changed (96) hide show
  1. package/README.md +44 -0
  2. package/android/build.gradle +48 -0
  3. package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  4. package/android/gradle/wrapper/gradle-wrapper.properties +5 -0
  5. package/android/src/main/AndroidManifest.xml +7 -0
  6. package/android/src/main/java/com/reactlibrary/BridgeModule.java +86 -0
  7. package/android/src/main/java/com/reactlibrary/BridgePackage.java +36 -0
  8. package/index.js +46 -0
  9. package/ios/Frameworks/identomat.framework/Assets.car +0 -0
  10. package/ios/Frameworks/identomat.framework/Headers/identomat-Swift.h +638 -0
  11. package/ios/Frameworks/identomat.framework/Headers/identomat.h +18 -0
  12. package/ios/Frameworks/identomat.framework/Info.plist +0 -0
  13. package/ios/Frameworks/identomat.framework/Modules/identomat.swiftmodule/Project/arm.swiftsourceinfo +0 -0
  14. package/ios/Frameworks/identomat.framework/Modules/identomat.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  15. package/ios/Frameworks/identomat.framework/Modules/identomat.swiftmodule/Project/arm64.swiftsourceinfo +0 -0
  16. package/ios/Frameworks/identomat.framework/Modules/identomat.swiftmodule/Project/armv7-apple-ios.swiftsourceinfo +0 -0
  17. package/ios/Frameworks/identomat.framework/Modules/identomat.swiftmodule/Project/armv7.swiftsourceinfo +0 -0
  18. package/ios/Frameworks/identomat.framework/Modules/identomat.swiftmodule/arm.swiftdoc +0 -0
  19. package/ios/Frameworks/identomat.framework/Modules/identomat.swiftmodule/arm.swiftinterface +1866 -0
  20. package/ios/Frameworks/identomat.framework/Modules/identomat.swiftmodule/arm.swiftmodule +0 -0
  21. package/ios/Frameworks/identomat.framework/Modules/identomat.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  22. package/ios/Frameworks/identomat.framework/Modules/identomat.swiftmodule/arm64-apple-ios.swiftinterface +1947 -0
  23. package/ios/Frameworks/identomat.framework/Modules/identomat.swiftmodule/arm64-apple-ios.swiftmodule +0 -0
  24. package/ios/Frameworks/identomat.framework/Modules/identomat.swiftmodule/arm64.swiftdoc +0 -0
  25. package/ios/Frameworks/identomat.framework/Modules/identomat.swiftmodule/arm64.swiftinterface +1947 -0
  26. package/ios/Frameworks/identomat.framework/Modules/identomat.swiftmodule/arm64.swiftmodule +0 -0
  27. package/ios/Frameworks/identomat.framework/Modules/identomat.swiftmodule/armv7-apple-ios.swiftdoc +0 -0
  28. package/ios/Frameworks/identomat.framework/Modules/identomat.swiftmodule/armv7-apple-ios.swiftinterface +1866 -0
  29. package/ios/Frameworks/identomat.framework/Modules/identomat.swiftmodule/armv7-apple-ios.swiftmodule +0 -0
  30. package/ios/Frameworks/identomat.framework/Modules/identomat.swiftmodule/armv7.swiftdoc +0 -0
  31. package/ios/Frameworks/identomat.framework/Modules/identomat.swiftmodule/armv7.swiftinterface +1866 -0
  32. package/ios/Frameworks/identomat.framework/Modules/identomat.swiftmodule/armv7.swiftmodule +0 -0
  33. package/ios/Frameworks/identomat.framework/Modules/identomat.swiftmodule/x86_64.swiftdoc +0 -0
  34. package/ios/Frameworks/identomat.framework/Modules/identomat.swiftmodule/x86_64.swiftinterface +1947 -0
  35. package/ios/Frameworks/identomat.framework/Modules/identomat.swiftmodule/x86_64.swiftmodule +0 -0
  36. package/ios/Frameworks/identomat.framework/Modules/module.modulemap +11 -0
  37. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/3Qb-Zw-Ydv-view-5fQ-xy-n01.nib/objects-11.0+.nib +0 -0
  38. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/3Qb-Zw-Ydv-view-5fQ-xy-n01.nib/runtime.nib +0 -0
  39. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/Ajy-Ix-fe9-view-G1g-ks-BqP.nib/objects-11.0+.nib +0 -0
  40. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/Ajy-Ix-fe9-view-G1g-ks-BqP.nib/runtime.nib +0 -0
  41. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/Info.plist +0 -0
  42. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/RiD-hj-AH5-view-oaZ-g7-pTv.nib/objects-11.0+.nib +0 -0
  43. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/RiD-hj-AH5-view-oaZ-g7-pTv.nib/runtime.nib +0 -0
  44. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/VAA-Ss-lbh-view-UDO-8x-V4i.nib/objects-11.0+.nib +0 -0
  45. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/VAA-Ss-lbh-view-UDO-8x-V4i.nib/runtime.nib +0 -0
  46. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/YyM-f0-UbG-view-INz-ta-t1c.nib/objects-11.0+.nib +0 -0
  47. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/YyM-f0-UbG-view-INz-ta-t1c.nib/runtime.nib +0 -0
  48. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/agreement_view.nib/objects-11.0+.nib +0 -0
  49. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/agreement_view.nib/runtime.nib +0 -0
  50. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/default_view_controller.nib/objects-11.0+.nib +0 -0
  51. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/default_view_controller.nib/runtime.nib +0 -0
  52. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/document_types_view.nib/objects-11.0+.nib +0 -0
  53. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/document_types_view.nib/runtime.nib +0 -0
  54. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/fQF-H1-pI2-view-oqs-SO-IYK.nib/objects-11.0+.nib +0 -0
  55. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/fQF-H1-pI2-view-oqs-SO-IYK.nib/runtime.nib +0 -0
  56. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/liveness_view.nib/objects-11.0+.nib +0 -0
  57. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/liveness_view.nib/runtime.nib +0 -0
  58. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/match_photo_view.nib/objects-11.0+.nib +0 -0
  59. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/match_photo_view.nib/runtime.nib +0 -0
  60. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/qkz-dS-cJe-view-KRp-Px-e4R.nib/objects-11.0+.nib +0 -0
  61. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/qkz-dS-cJe-view-KRp-Px-e4R.nib/runtime.nib +0 -0
  62. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/scan_document_view.nib/objects-11.0+.nib +0 -0
  63. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/scan_document_view.nib/runtime.nib +0 -0
  64. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/upload_file_view.nib/objects-11.0+.nib +0 -0
  65. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/upload_file_view.nib/runtime.nib +0 -0
  66. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/upload_types_view.nib/objects-11.0+.nib +0 -0
  67. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/upload_types_view.nib/runtime.nib +0 -0
  68. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/vTZ-J7-KVA-view-nnL-sn-lBz.nib/objects-11.0+.nib +0 -0
  69. package/ios/Frameworks/identomat.framework/Storyboard.storyboardc/vTZ-J7-KVA-view-nnL-sn-lBz.nib/runtime.nib +0 -0
  70. package/ios/Frameworks/identomat.framework/_CodeSignature/CodeResources +1045 -0
  71. package/ios/Frameworks/identomat.framework/en.lproj/languages.strings +0 -0
  72. package/ios/Frameworks/identomat.framework/es.lproj/languages.strings +0 -0
  73. package/ios/Frameworks/identomat.framework/identomat +0 -0
  74. package/ios/Frameworks/identomat.framework/ka.lproj/languages.strings +0 -0
  75. package/ios/Frameworks/identomat.framework/ru.lproj/languages.strings +0 -0
  76. package/ios/Identomat-Bridging-Header.h +7 -0
  77. package/ios/Identomat.m +26 -0
  78. package/ios/Identomat.swift +122 -0
  79. package/ios/Identomat.xcodeproj/project.pbxproj +333 -0
  80. package/ios/Identomat.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  81. package/ios/Identomat.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  82. package/ios/Identomat.xcodeproj/project.xcworkspace/xcuserdata/otosiradze.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  83. package/ios/Identomat.xcodeproj/xcuserdata/otosiradze.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +6 -0
  84. package/ios/Identomat.xcodeproj/xcuserdata/otosiradze.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
  85. package/ios/Identomat.xcworkspace/contents.xcworkspacedata +7 -0
  86. package/ios/Identomat.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  87. package/ios/Identomat.xcworkspace/xcuserdata/otosiradze.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  88. package/package.json +14 -0
  89. package/react-native-identomat.podspec +44 -0
  90. package/windows/RNIdentomat/Properties/AssemblyInfo.cs +30 -0
  91. package/windows/RNIdentomat/Properties/RNIdentomat.rd.xml +28 -0
  92. package/windows/RNIdentomat/RNIdentomat.csproj +153 -0
  93. package/windows/RNIdentomat/RNIdentomatModule.cs +33 -0
  94. package/windows/RNIdentomat/RNIdentomatPackage.cs +53 -0
  95. package/windows/RNIdentomat/project.json +16 -0
  96. package/windows/RNIdentomat.sln +89 -0
@@ -0,0 +1,7 @@
1
+ //
2
+ // Use this file to import your target's public headers that you would like to expose to Swift.
3
+ //
4
+
5
+
6
+ #import <React/RCTBridgeModule.h>
7
+ #import <UIKit/UIKit.h>
@@ -0,0 +1,26 @@
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 *)identomatConfig withSession: (NSString *)sessionId)
23
+ RCT_EXTERN_METHOD(callBack: (RCTResponseSenderBlock *)successCallback)
24
+ @end
25
+
26
+
@@ -0,0 +1,122 @@
1
+ //
2
+ // Identomat.swift
3
+ // Identomat
4
+ //
5
+ // Created by Oto Siradze on 2/10/21.
6
+ // Copyright © 2021 Facebook. All rights reserved.
7
+ //
8
+
9
+ import Foundation
10
+ import UIKit
11
+ import identomat
12
+
13
+ @objc(Identomat)
14
+
15
+ class Identomat: NSObject, RCTBridgeModule{
16
+
17
+ static func moduleName() -> String!{
18
+ return "Identomat";
19
+ }
20
+
21
+ static func requirement () -> Bool {
22
+ return true;
23
+ }
24
+
25
+ var successCallback: RCTResponseSenderBlock? = nil;
26
+
27
+ @objc
28
+ func start(_ identomatConfig:String, withSession sessionId : String) -> Void {
29
+ DispatchQueue.main.async {
30
+
31
+ let topController = UIApplication.topViewController()
32
+ let data: Data? = identomatConfig.data(using: .utf8)
33
+ let json = (try? JSONSerialization.jsonObject(with: data!, options: [])) as! [String:Any]
34
+
35
+ let flags = json["flags"] as! [String : Any]
36
+ let documentTypes = self.parseDocuments(documentTypes: json["docTypes"] as! [String:Any])
37
+
38
+ IdentomatManager.getInstance().setUp(token: sessionId, flags: flags, documentTypes: documentTypes)
39
+ if let color = json["colors"] as? [String : String]{
40
+ IdentomatManager.getInstance().setColors(color: color)
41
+ }
42
+ if let strings = json["strings"] as? [String : Any?]{
43
+ IdentomatManager.getInstance().setStrings(dict: strings)
44
+ }
45
+ if let fonts = json["fonts"] as? [String : Any?]{
46
+ if let head1 = fonts["Head1Font"] as? String{
47
+ IdentomatManager.getInstance().setHead1Font(fontname: head1)
48
+ }
49
+ if let head2 = fonts["Head2Font"] as? String{
50
+ IdentomatManager.getInstance().setHead2Font(fontname: head2)
51
+ }
52
+ if let body = fonts["BodyFont"] as? String{
53
+ IdentomatManager.getInstance().setBodyFont(fontname: body)
54
+ }
55
+ }
56
+ //start identomat
57
+ let identomatView = IdentomatManager.getInstance().getIdentomatView()
58
+ identomatView.modalPresentationStyle = .fullScreen
59
+ topController!.present(identomatView, animated: true)
60
+
61
+ }
62
+ }
63
+ @objc
64
+ func callBack(_ successCallback: @escaping RCTResponseSenderBlock){
65
+ self.successCallback = successCallback;
66
+ IdentomatManager.getInstance().callBack {
67
+ print("process is done we are good")
68
+ self.successCallback!([NSNull(),"done"])
69
+ }
70
+
71
+ }
72
+
73
+ func parseDocuments(documentTypes : [String:Any]) -> [Int]{
74
+ var docTypes : [Int] = []
75
+ if let documentCard = documentTypes["id_card"] as? Bool{
76
+ if(documentCard){
77
+ docTypes.append(Document.CARD)
78
+ }
79
+ }
80
+ if let documentPassport = documentTypes["passport"] as? Bool{
81
+ if(documentPassport){
82
+ docTypes.append(Document.PASSPORT)
83
+ }
84
+ }
85
+ if let documentLicense = documentTypes["driving_license"] as? Bool{
86
+ if(documentLicense){
87
+ docTypes.append(Document.LICENSE)
88
+ }
89
+ }
90
+ if let documentResidence = documentTypes["residence_permit"] as? Bool{
91
+ if(documentResidence){
92
+ docTypes.append(Document.RESIDENCE)
93
+ }
94
+ }
95
+ return docTypes
96
+ }
97
+
98
+ }
99
+ class Document {
100
+ public static let CARD : Int = 0
101
+ public static let LICENSE : Int = 1
102
+ public static let RESIDENCE : Int = 2
103
+ public static let PASSPORT : Int = 3
104
+ }
105
+
106
+
107
+ extension UIApplication {
108
+ class func topViewController(controller: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
109
+ if let navigationController = controller as? UINavigationController {
110
+ return topViewController(controller: navigationController.visibleViewController)
111
+ }
112
+ if let tabController = controller as? UITabBarController {
113
+ if let selected = tabController.selectedViewController {
114
+ return topViewController(controller: selected)
115
+ }
116
+ }
117
+ if let presented = controller?.presentedViewController {
118
+ return topViewController(controller: presented)
119
+ }
120
+ return controller
121
+ }
122
+ }
@@ -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,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 ADDED
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "@identomat-inc/react-native-identomat",
3
+ "version": "1.0.20",
4
+ "description": "identomat bridge module",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "keywords": [
10
+ "react-native"
11
+ ],
12
+ "author": "Giorgi",
13
+ "license": "ISC"
14
+ }
@@ -0,0 +1,44 @@
1
+ require "json"
2
+
3
+ package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
+
5
+ Pod::Spec.new do |s|
6
+ s.name = "react-native-identomat"
7
+ s.version = package["version"]
8
+ s.summary = package["description"]
9
+ s.description = <<-DESC
10
+ react-native-identomat
11
+ DESC
12
+ s.homepage = "https://giorgiberidze2501@bitbucket.org/raizomat/react-native-identomat"
13
+ # brief license entry:
14
+ s.license = "MIT"
15
+ # optional - use expanded license entry instead:
16
+ # s.license = { :type => "MIT", :file => "LICENSE" }
17
+ s.authors = { "Your Name" => "yourname@email.com" }
18
+ s.platforms = { :ios => "9.0" }
19
+ s.source = { :git => "https://giorgiberidze2501@bitbucket.org/raizomat/react-native-identomat.git", :tag => "#{s.version}" }
20
+
21
+ s.source_files = "ios/**/*.{h,c,m,swift}"
22
+ s.swift_version = "5"
23
+ s.requires_arc = true
24
+
25
+ #.dependency = 'Frameworks/identomat.framework'
26
+
27
+ s.vendored_frameworks = 'ios/Frameworks/identomat.framework'
28
+ s.preserve_path = 'ios/Frameworks/'
29
+ s.dependency "React"
30
+
31
+ # s.subspec 'identomat' do |df|
32
+ # df.source_files = "Frameworks/**/*.swift"
33
+ # end
34
+
35
+ # s.subspec 'Core' do |core|
36
+ # core.source_files = "Core/**/*.swift"
37
+ # core.dependency 'Core/DependencyFramework'
38
+ # end
39
+
40
+
41
+ # .
42
+ # s.dependency "..."
43
+ end
44
+
@@ -0,0 +1,30 @@
1
+ using System.Reflection;
2
+ using System.Runtime.CompilerServices;
3
+ using System.Runtime.InteropServices;
4
+
5
+ // General Information about an assembly is controlled through the following
6
+ // set of attributes. Change these attribute values to modify the information
7
+ // associated with an assembly.
8
+ [assembly: AssemblyTitle("RNIdentomat")]
9
+ [assembly: AssemblyDescription("")]
10
+ [assembly: AssemblyConfiguration("")]
11
+ [assembly: AssemblyCompany("")]
12
+ [assembly: AssemblyProduct("RNIdentomat")]
13
+ [assembly: AssemblyCopyright("Copyright © 2016")]
14
+ [assembly: AssemblyTrademark("")]
15
+ [assembly: AssemblyCulture("")]
16
+
17
+ // Version information for an assembly consists of the following four values:
18
+ //
19
+ // Major Version
20
+ // Minor Version
21
+ // Build Number
22
+ // Revision
23
+ //
24
+ // You can specify all the values or you can default the Build and Revision Numbers
25
+ // by using the '*' as shown below:
26
+ // [assembly: AssemblyVersion("1.0.*")]
27
+ [assembly: AssemblyVersion("1.0.0.0")]
28
+ [assembly: AssemblyFileVersion("1.0.0.0")]
29
+ [assembly: ComVisible(false)]
30
+