react-native-incognia 6.4.0 → 6.5.0-local
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/android/build.gradle +3 -2
- package/android/libs/incognia-br-6.8.3.aar +0 -0
- package/android/libs/incognia-core-br-6.8.3.aar +0 -0
- package/android/libs/incognia-trial-br-6.8.3.aar +0 -0
- package/ios/Frameworks/IncogniaBR.xcframework/Info.plist +42 -0
- package/ios/Frameworks/IncogniaBR.xcframework/ios-arm64_armv7/IncogniaBR.framework/Headers/ICGIncogniaConsentTypes.h +17 -0
- package/ios/Frameworks/IncogniaBR.xcframework/ios-arm64_armv7/IncogniaBR.framework/Headers/ICGIncogniaDependencies.h +15 -0
- package/ios/Frameworks/IncogniaBR.xcframework/ios-arm64_armv7/IncogniaBR.framework/Headers/IncogniaBR.h +2 -0
- package/ios/Frameworks/IncogniaBR.xcframework/ios-arm64_armv7/IncogniaBR.framework/IncogniaBR +0 -0
- package/ios/Frameworks/IncogniaBR.xcframework/ios-arm64_armv7/IncogniaBR.framework/Modules/module.modulemap +6 -0
- package/ios/Frameworks/IncogniaBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaBR.framework/Headers/ICGIncogniaConsentTypes.h +17 -0
- package/ios/Frameworks/IncogniaBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaBR.framework/Headers/ICGIncogniaDependencies.h +15 -0
- package/ios/Frameworks/IncogniaBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaBR.framework/Headers/IncogniaBR.h +2 -0
- package/ios/Frameworks/IncogniaBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaBR.framework/IncogniaBR +0 -0
- package/ios/Frameworks/IncogniaBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaBR.framework/Modules/module.modulemap +6 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/Info.plist +42 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_armv7/IncogniaCoreBR.framework/Headers/ICGCheckIn.h +19 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_armv7/IncogniaCoreBR.framework/Headers/ICGConsentDialogOptions.h +68 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_armv7/IncogniaCoreBR.framework/Headers/ICGConsentRequest.h +21 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_armv7/IncogniaCoreBR.framework/Headers/ICGConsentResult.h +46 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_armv7/IncogniaCoreBR.framework/Headers/ICGConsentTypes.h +24 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_armv7/IncogniaCoreBR.framework/Headers/ICGError.h +26 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_armv7/IncogniaCoreBR.framework/Headers/ICGEventProperties.h +27 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_armv7/IncogniaCoreBR.framework/Headers/ICGIncognia.h +118 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_armv7/IncogniaCoreBR.framework/Headers/ICGOptions.h +67 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_armv7/IncogniaCoreBR.framework/Headers/ICGTransactionAddress.h +28 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_armv7/IncogniaCoreBR.framework/Headers/ICGUserAddress.h +43 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_armv7/IncogniaCoreBR.framework/Headers/IncogniaCoreBR.h +23 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_armv7/IncogniaCoreBR.framework/IncogniaCoreBR +0 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_armv7/IncogniaCoreBR.framework/Modules/module.modulemap +6 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaCoreBR.framework/Headers/ICGCheckIn.h +19 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaCoreBR.framework/Headers/ICGConsentDialogOptions.h +68 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaCoreBR.framework/Headers/ICGConsentRequest.h +21 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaCoreBR.framework/Headers/ICGConsentResult.h +46 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaCoreBR.framework/Headers/ICGConsentTypes.h +24 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaCoreBR.framework/Headers/ICGError.h +26 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaCoreBR.framework/Headers/ICGEventProperties.h +27 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaCoreBR.framework/Headers/ICGIncognia.h +118 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaCoreBR.framework/Headers/ICGOptions.h +67 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaCoreBR.framework/Headers/ICGTransactionAddress.h +28 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaCoreBR.framework/Headers/ICGUserAddress.h +43 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaCoreBR.framework/Headers/IncogniaCoreBR.h +23 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaCoreBR.framework/IncogniaCoreBR +0 -0
- package/ios/Frameworks/IncogniaCoreBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaCoreBR.framework/Modules/module.modulemap +6 -0
- package/ios/Frameworks/IncogniaTrialBR.xcframework/Info.plist +42 -0
- package/ios/Frameworks/IncogniaTrialBR.xcframework/ios-arm64_armv7/IncogniaTrialBR.framework/Headers/ICGIncogniaTrial.h +82 -0
- package/ios/Frameworks/IncogniaTrialBR.xcframework/ios-arm64_armv7/IncogniaTrialBR.framework/Headers/ICGIncogniaTrialDependencies.h +23 -0
- package/ios/Frameworks/IncogniaTrialBR.xcframework/ios-arm64_armv7/IncogniaTrialBR.framework/Headers/IncogniaTrialBR.h +2 -0
- package/ios/Frameworks/IncogniaTrialBR.xcframework/ios-arm64_armv7/IncogniaTrialBR.framework/IncogniaTrialBR +0 -0
- package/ios/Frameworks/IncogniaTrialBR.xcframework/ios-arm64_armv7/IncogniaTrialBR.framework/Modules/module.modulemap +6 -0
- package/ios/Frameworks/IncogniaTrialBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaTrialBR.framework/Headers/ICGIncogniaTrial.h +82 -0
- package/ios/Frameworks/IncogniaTrialBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaTrialBR.framework/Headers/ICGIncogniaTrialDependencies.h +23 -0
- package/ios/Frameworks/IncogniaTrialBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaTrialBR.framework/Headers/IncogniaTrialBR.h +2 -0
- package/ios/Frameworks/IncogniaTrialBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaTrialBR.framework/IncogniaTrialBR +0 -0
- package/ios/Frameworks/IncogniaTrialBR.xcframework/ios-arm64_i386_x86_64-simulator/IncogniaTrialBR.framework/Modules/module.modulemap +6 -0
- package/package.json +1 -1
- package/react-native-incognia.podspec +1 -3
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
//
|
|
2
|
+
// ICGIncogniaTrial.h
|
|
3
|
+
// Incognia
|
|
4
|
+
//
|
|
5
|
+
// Created by Douglas Soares on 01/12/20.
|
|
6
|
+
// Copyright © 2020 Incognia. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import <UIKit/UIKit.h>
|
|
10
|
+
#import "ICGIncogniaTrialDependencies.h"
|
|
11
|
+
|
|
12
|
+
@interface ICGIncogniaTrial : NSObject
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Records a signup without any other information.
|
|
16
|
+
*/
|
|
17
|
+
+ (void)trackSignupSent;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Records a signup with its associated id.
|
|
21
|
+
*/
|
|
22
|
+
+ (void)trackSignupSentWithId:(nullable NSString *)signupId;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Records a signup with its associated id and address.
|
|
26
|
+
*/
|
|
27
|
+
+ (void)trackSignupSentWithId:(nullable NSString *)signupId address:(nullable ICGUserAddress *)userAddress;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Records a signup with its associated address.
|
|
31
|
+
*/
|
|
32
|
+
+ (void)trackSignupSentWithAddress:(nullable ICGUserAddress *)userAddress;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Records a signup with its associated id, address and custom event properties that may help our analysis.
|
|
36
|
+
*/
|
|
37
|
+
+ (void)trackSignupSentWithId:(nullable NSString *)signupId eventProperties:(nullable ICGEventProperties *)eventProperties address:(nullable ICGUserAddress *)userAddress;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Records a login with its associated id and the accountId that belongs to the authenticated user.
|
|
41
|
+
*/
|
|
42
|
+
+ (void)trackLoginSucceededWithId:(nullable NSString *)loginId accountId:(nonnull NSString *)accountId;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Records a login with the accountId that belongs to the authenticated user.
|
|
46
|
+
*/
|
|
47
|
+
+ (void)trackLoginSucceededWithAccountId:(nonnull NSString *)accountId;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Records a login with its associated id, the accountId that belongs to the authenticated user and custom event properties that may help our analysis.
|
|
51
|
+
*/
|
|
52
|
+
+ (void)trackLoginSucceededWithId:(nullable NSString *)loginId accountId:(nonnull NSString *)accountId eventProperties:(nullable ICGEventProperties *)eventProperties;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Records a payment with its associated id, the accountId that belongs to the user performing the action and a set of associated addresses.
|
|
56
|
+
*/
|
|
57
|
+
+ (void)trackPaymentSentWithId:(nullable NSString *)transactionId
|
|
58
|
+
transactionAddresses:(nullable NSSet<ICGTransactionAddress *> *)addresses;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Records a payment with the accountId that belongs to the user performing the action and a set of associated addresses.
|
|
62
|
+
*/
|
|
63
|
+
+ (void)trackPaymentSentWithTransactionAddresses:(nullable NSSet<ICGTransactionAddress *> *)addresses;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Records a payment with the accountId that belongs to the user performing the action.
|
|
67
|
+
*/
|
|
68
|
+
+ (void)trackPaymentSent;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Records a payment with its associated id, the accountId that belongs to the user performing the action.
|
|
72
|
+
*/
|
|
73
|
+
+ (void)trackPaymentSentWithId:(nullable NSString *)transactionId;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Records a payment with its associated id, the accountId that belongs to the user performing the action, a set of associated addresses and custom event properties that may help our analysis.
|
|
77
|
+
*/
|
|
78
|
+
+ (void)trackPaymentSentWithId:(nullable NSString *)transactionId
|
|
79
|
+
eventProperties:(nullable ICGEventProperties *)eventProperties
|
|
80
|
+
transactionAddresses:(nullable NSSet<ICGTransactionAddress *> *)addresses;
|
|
81
|
+
|
|
82
|
+
@end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
#if __has_include(<IncogniaCore/IncogniaCore.h>)
|
|
2
|
+
#import <IncogniaCore/IncogniaCore.h>
|
|
3
|
+
#elif __has_include(<IncogniaCoreBR/IncogniaCoreBR.h>)
|
|
4
|
+
#import <IncogniaCoreBR/IncogniaCoreBR.h>
|
|
5
|
+
#else
|
|
6
|
+
#import "ICGError.h"
|
|
7
|
+
#import "ICGOptions.h"
|
|
8
|
+
#import "ICGConsentTypes.h"
|
|
9
|
+
#import "ICGConsentResult.h"
|
|
10
|
+
#import "ICGConsentDialogOptions.h"
|
|
11
|
+
#import "ICGUserAddress.h"
|
|
12
|
+
#import "ICGCheckIn.h"
|
|
13
|
+
#import "ICGEventProperties.h"
|
|
14
|
+
#import "ICGTransactionAddress.h"
|
|
15
|
+
#endif
|
|
16
|
+
|
|
17
|
+
#if __has_include(<Incognia/Incognia.h>)
|
|
18
|
+
#import <Incognia/Incognia.h>
|
|
19
|
+
#elif __has_include(<IncogniaBR/IncogniaBR.h>)
|
|
20
|
+
#import <IncogniaBR/IncogniaBR.h>
|
|
21
|
+
#else
|
|
22
|
+
#import "ICGIncogniaConsentTypes.h"
|
|
23
|
+
#endif
|
|
Binary file
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
//
|
|
2
|
+
// ICGIncogniaTrial.h
|
|
3
|
+
// Incognia
|
|
4
|
+
//
|
|
5
|
+
// Created by Douglas Soares on 01/12/20.
|
|
6
|
+
// Copyright © 2020 Incognia. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import <UIKit/UIKit.h>
|
|
10
|
+
#import "ICGIncogniaTrialDependencies.h"
|
|
11
|
+
|
|
12
|
+
@interface ICGIncogniaTrial : NSObject
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Records a signup without any other information.
|
|
16
|
+
*/
|
|
17
|
+
+ (void)trackSignupSent;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Records a signup with its associated id.
|
|
21
|
+
*/
|
|
22
|
+
+ (void)trackSignupSentWithId:(nullable NSString *)signupId;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Records a signup with its associated id and address.
|
|
26
|
+
*/
|
|
27
|
+
+ (void)trackSignupSentWithId:(nullable NSString *)signupId address:(nullable ICGUserAddress *)userAddress;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Records a signup with its associated address.
|
|
31
|
+
*/
|
|
32
|
+
+ (void)trackSignupSentWithAddress:(nullable ICGUserAddress *)userAddress;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Records a signup with its associated id, address and custom event properties that may help our analysis.
|
|
36
|
+
*/
|
|
37
|
+
+ (void)trackSignupSentWithId:(nullable NSString *)signupId eventProperties:(nullable ICGEventProperties *)eventProperties address:(nullable ICGUserAddress *)userAddress;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Records a login with its associated id and the accountId that belongs to the authenticated user.
|
|
41
|
+
*/
|
|
42
|
+
+ (void)trackLoginSucceededWithId:(nullable NSString *)loginId accountId:(nonnull NSString *)accountId;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Records a login with the accountId that belongs to the authenticated user.
|
|
46
|
+
*/
|
|
47
|
+
+ (void)trackLoginSucceededWithAccountId:(nonnull NSString *)accountId;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Records a login with its associated id, the accountId that belongs to the authenticated user and custom event properties that may help our analysis.
|
|
51
|
+
*/
|
|
52
|
+
+ (void)trackLoginSucceededWithId:(nullable NSString *)loginId accountId:(nonnull NSString *)accountId eventProperties:(nullable ICGEventProperties *)eventProperties;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Records a payment with its associated id, the accountId that belongs to the user performing the action and a set of associated addresses.
|
|
56
|
+
*/
|
|
57
|
+
+ (void)trackPaymentSentWithId:(nullable NSString *)transactionId
|
|
58
|
+
transactionAddresses:(nullable NSSet<ICGTransactionAddress *> *)addresses;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Records a payment with the accountId that belongs to the user performing the action and a set of associated addresses.
|
|
62
|
+
*/
|
|
63
|
+
+ (void)trackPaymentSentWithTransactionAddresses:(nullable NSSet<ICGTransactionAddress *> *)addresses;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Records a payment with the accountId that belongs to the user performing the action.
|
|
67
|
+
*/
|
|
68
|
+
+ (void)trackPaymentSent;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Records a payment with its associated id, the accountId that belongs to the user performing the action.
|
|
72
|
+
*/
|
|
73
|
+
+ (void)trackPaymentSentWithId:(nullable NSString *)transactionId;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Records a payment with its associated id, the accountId that belongs to the user performing the action, a set of associated addresses and custom event properties that may help our analysis.
|
|
77
|
+
*/
|
|
78
|
+
+ (void)trackPaymentSentWithId:(nullable NSString *)transactionId
|
|
79
|
+
eventProperties:(nullable ICGEventProperties *)eventProperties
|
|
80
|
+
transactionAddresses:(nullable NSSet<ICGTransactionAddress *> *)addresses;
|
|
81
|
+
|
|
82
|
+
@end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
#if __has_include(<IncogniaCore/IncogniaCore.h>)
|
|
2
|
+
#import <IncogniaCore/IncogniaCore.h>
|
|
3
|
+
#elif __has_include(<IncogniaCoreBR/IncogniaCoreBR.h>)
|
|
4
|
+
#import <IncogniaCoreBR/IncogniaCoreBR.h>
|
|
5
|
+
#else
|
|
6
|
+
#import "ICGError.h"
|
|
7
|
+
#import "ICGOptions.h"
|
|
8
|
+
#import "ICGConsentTypes.h"
|
|
9
|
+
#import "ICGConsentResult.h"
|
|
10
|
+
#import "ICGConsentDialogOptions.h"
|
|
11
|
+
#import "ICGUserAddress.h"
|
|
12
|
+
#import "ICGCheckIn.h"
|
|
13
|
+
#import "ICGEventProperties.h"
|
|
14
|
+
#import "ICGTransactionAddress.h"
|
|
15
|
+
#endif
|
|
16
|
+
|
|
17
|
+
#if __has_include(<Incognia/Incognia.h>)
|
|
18
|
+
#import <Incognia/Incognia.h>
|
|
19
|
+
#elif __has_include(<IncogniaBR/IncogniaBR.h>)
|
|
20
|
+
#import <IncogniaBR/IncogniaBR.h>
|
|
21
|
+
#else
|
|
22
|
+
#import "ICGIncogniaConsentTypes.h"
|
|
23
|
+
#endif
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -14,9 +14,7 @@ Pod::Spec.new do |s|
|
|
|
14
14
|
s.source = { :git => "https://github.com/inloco/react-native-incognia.git", :tag => "#{s.version}" }
|
|
15
15
|
|
|
16
16
|
s.source_files = "ios/**/*.{h,m,mm}"
|
|
17
|
+
s.vendored_frameworks = 'ios/Frameworks/IncogniaBR.xcframework', 'ios/Frameworks/IncogniaCoreBR.xcframework', 'ios/Frameworks/IncogniaTrialBR.xcframework'
|
|
17
18
|
|
|
18
19
|
s.dependency "React-Core"
|
|
19
|
-
s.dependency 'IncogniaTrialBR', '~> 6.4.3'
|
|
20
|
-
s.dependency 'IncogniaBR', '~> 6.4.3'
|
|
21
|
-
s.dependency 'IncogniaCoreBR', '~> 6.4.3'
|
|
22
20
|
end
|