reactnative-plugin-appice 1.6.0 → 1.6.1
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 +37 -37
- package/android/README.md +14 -14
- package/android/android.iml +150 -150
- package/android/build.gradle +152 -152
- package/android/gitignore +47 -47
- package/android/src/main/AndroidManifest.xml +234 -234
- package/android/src/main/java/com/reactlibrary/AppICEUtils.java +38 -38
- package/android/src/main/java/com/reactlibrary/AppIceReactPluginModule.java +473 -473
- package/android/src/main/java/com/reactlibrary/AppIceReactPluginPackage.java +28 -28
- package/android/src/main/java/com/reactlibrary/CampaignCampsReceiver.java +73 -73
- package/android/src/main/java/com/reactlibrary/InAppWebView.java +67 -67
- package/android/src/main/java/com/reactlibrary/NotificationEventService.java +62 -62
- package/example/App.js +148 -148
- package/example/Gemfile +6 -6
- package/example/__tests__/App-test.js +14 -14
- package/example/android/app/_BUCK +55 -55
- package/example/android/app/build.gradle +320 -320
- package/example/android/app/build_defs.bzl +19 -19
- package/example/android/app/proguard-rules.pro +10 -10
- package/example/android/app/src/debug/AndroidManifest.xml +13 -13
- package/example/android/app/src/debug/java/com/example/ReactNativeFlipper.java +73 -73
- package/example/android/app/src/main/AndroidManifest.xml +72 -72
- package/example/android/app/src/main/java/com/example/MainActivity.java +48 -48
- package/example/android/app/src/main/java/com/example/MainApplication.java +91 -91
- package/example/android/app/src/main/java/com/example/newarchitecture/MainApplicationReactNativeHost.java +116 -116
- package/example/android/app/src/main/java/com/example/newarchitecture/components/MainComponentsRegistry.java +36 -36
- package/example/android/app/src/main/java/com/example/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java +48 -48
- package/example/android/app/src/main/jni/Android.mk +48 -48
- package/example/android/app/src/main/jni/MainApplicationModuleProvider.cpp +24 -24
- package/example/android/app/src/main/jni/MainApplicationModuleProvider.h +16 -16
- package/example/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.cpp +45 -45
- package/example/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.h +38 -38
- package/example/android/app/src/main/jni/MainComponentsRegistry.cpp +61 -61
- package/example/android/app/src/main/jni/MainComponentsRegistry.h +32 -32
- package/example/android/app/src/main/jni/OnLoad.cpp +11 -11
- package/example/android/app/src/main/res/drawable/rn_edit_text_material.xml +36 -36
- package/example/android/app/src/main/res/values/strings.xml +3 -3
- package/example/android/app/src/main/res/values/styles.xml +9 -9
- package/example/android/build.gradle +53 -53
- package/example/android/gradle/wrapper/gradle-wrapper.properties +5 -5
- package/example/android/gradle.properties +40 -40
- package/example/android/gradlew +234 -234
- package/example/android/settings.gradle +11 -11
- package/example/app.json +3 -3
- package/example/babel.config.js +3 -3
- package/example/index.js +9 -9
- package/example/ios/Podfile +44 -44
- package/example/ios/Podfile.lock +561 -561
- package/example/ios/_xcode.env +11 -11
- package/example/ios/example/AppDelegate.h +8 -8
- package/example/ios/example/AppDelegate.mm +174 -174
- package/example/ios/example/Images.xcassets/AppIcon.appiconset/Contents.json +53 -53
- package/example/ios/example/Images.xcassets/Contents.json +6 -6
- package/example/ios/example/Info.plist +62 -62
- package/example/ios/example/LaunchScreen.storyboard +47 -47
- package/example/ios/example/example.entitlements +8 -8
- package/example/ios/example/main.m +10 -10
- package/example/ios/example.xcodeproj/project.pbxproj +712 -712
- package/example/ios/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme +88 -88
- package/example/ios/example.xcworkspace/contents.xcworkspacedata +10 -10
- package/example/ios/example.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -8
- package/example/ios/exampleTests/Info.plist +24 -24
- package/example/ios/exampleTests/exampleTests.m +66 -66
- package/example/metro.config.js +17 -17
- package/example/package.json +34 -34
- package/index.js +124 -124
- package/ios/AppICEReactEvent.h +23 -23
- package/ios/AppICEReactEvent.m +86 -77
- package/ios/AppIceReactPlugin.h +22 -22
- package/ios/AppIceReactPlugin.m +190 -191
- package/ios/AppIceReactPlugin.xcodeproj/project.pbxproj +364 -434
- package/ios/AppIceReactPlugin.xcodeproj/project.xcworkspace/contents.xcworkspacedata +4 -4
- package/ios/AppIceReactPlugin.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -8
- package/ios/AppIceReactPlugin.xcodeproj/xcuserdata/Adi.xcuserdatad/xcschemes/xcschememanagement.plist +14 -14
- package/ios/AppIceReactPlugin.xcworkspace/contents.xcworkspacedata +10 -10
- package/ios/AppIceReactPlugin.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -8
- package/ios/Podfile +10 -10
- package/ios/Podfile.lock +3 -3
- package/ios/Pods/Manifest.lock +3 -3
- package/ios/Pods/Pods.xcodeproj/project.pbxproj +395 -395
- package/ios/Pods/Pods.xcodeproj/xcuserdata/Adi.xcuserdatad/xcschemes/Pods-AppIceReactPlugin.xcscheme +58 -58
- package/ios/Pods/Pods.xcodeproj/xcuserdata/Adi.xcuserdatad/xcschemes/xcschememanagement.plist +18 -18
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-Info.plist +26 -26
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-acknowledgements.markdown +3 -3
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-acknowledgements.plist +29 -29
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-dummy.m +5 -5
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-umbrella.h +16 -16
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin.debug.xcconfig +6 -6
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin.modulemap +6 -6
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin.release.xcconfig +6 -6
- package/package.json +40 -40
- package/reactnative-plugin-appice.podspec +30 -30
- package/ios/AppICESDK/appICE.momd/VersionInfo.plist +0 -0
- package/ios/AppICESDK/appICE.momd/appICE 2.mom +0 -0
- package/ios/AppICESDK/appICE.momd/appICE 3.mom +0 -0
- package/ios/AppICESDK/appICE.momd/appICE 4.mom +0 -0
- package/ios/AppICESDK/appICE.momd/appICE 4.omo +0 -0
- package/ios/AppICESDK/appICE.momd/appICE.mom +0 -0
- package/ios/AppICESDK/appICE.momd/appICE2.mom +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/APPChildViewController.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/AppICE_btn.png +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/Black button.png +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/HAlfFooterNOTINAppViewController.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/HAlfHeaderINAppViewController.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/HAlfINAppViewController.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/INAppViewController.nib/objects-11.0+.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/INAppViewController.nib/runtime.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/Info.plist +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/RatingViewController.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/SurveyViewController.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/checked.png +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/close-button.png +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/sound2.caf +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/unchecked.png +0 -0
- package/ios/AppICESDK/include/iosAppiceSDK/AppICEInboxMessage.h +0 -43
- package/ios/AppICESDK/include/iosAppiceSDK/AppICEJSInterface.h +0 -21
- package/ios/AppICESDK/include/iosAppiceSDK/appICE.h +0 -190
- package/ios/AppICESDK/include/iosAppiceSDK/appICEUserDetails.h +0 -87
- package/ios/AppICESDK/include/iosAppiceSDK/isrgrootx1.der +0 -0
- package/ios/AppICESDK/include/iosAppiceSDK/lets-encrypt-r3.der +0 -0
- package/ios/AppICESDK/libiosAppiceSDK_v1.7.56.a +0 -0
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
// appICE.h
|
|
3
|
-
//
|
|
4
|
-
// This code is provided under the MIT License.
|
|
5
|
-
//
|
|
6
|
-
// Please visit www.semusi.com for more information.
|
|
7
|
-
|
|
8
|
-
#import <Foundation/Foundation.h>
|
|
9
|
-
#import <UIKit/UIKit.h>
|
|
10
|
-
#import "AppICEInboxMessage.h"
|
|
11
|
-
#import "appICEUserDetails.h"
|
|
12
|
-
|
|
13
|
-
@class appICEEventQueue;
|
|
14
|
-
@class appICEUserDetails;
|
|
15
|
-
@class appICEConnectionQueue;
|
|
16
|
-
|
|
17
|
-
@interface appICE : NSObject<UIAlertViewDelegate,NSURLConnectionDelegate>{
|
|
18
|
-
NSMutableDictionary *inboxData;
|
|
19
|
-
}
|
|
20
|
-
NS_ASSUME_NONNULL_BEGIN
|
|
21
|
-
@property (strong, nonatomic) NSMutableDictionary *inboxData;
|
|
22
|
-
+ (instancetype)sharedInstance;
|
|
23
|
-
+ (NSNumber*) getIncSequenceId;
|
|
24
|
-
|
|
25
|
-
@property (strong, nonatomic) UIWindow *window;
|
|
26
|
-
|
|
27
|
-
// INITILIZE THE APPICE
|
|
28
|
-
-(void)startContext;
|
|
29
|
-
|
|
30
|
-
// APP CRASH EVENT
|
|
31
|
-
-(void) appcrashevent:(NSString*) CrashEXception;
|
|
32
|
-
|
|
33
|
-
// SET APPICE KEYS (APP ID , APP KEY , API KEY), IF YOU WANT TO USE ANY OTHER ANALYTICS SDK SIMULTANEOUSLY THEN PLEASE KEEP EMPTY IN DEVOCE ID
|
|
34
|
-
+(void) setupKeys:(NSString *)appKey withapiKey:(NSString *)apiKey withappId:(NSString *)appId otherSdkdeviceId:(NSString*)deviceId;
|
|
35
|
-
|
|
36
|
-
+(void) setupKeys:(NSString *)appKey withapiKey:(NSString *)apiKey withappId:(NSString *)appId otherSdkdeviceId:(NSString*)deviceId region:(NSString*)region baseUrl:(NSString *)baseUrl certficates:(NSArray *)certficates;
|
|
37
|
-
|
|
38
|
-
+(void) setupKeys:(NSString *)appKey withapiKey:(NSString *)apiKey withappId:(NSString *)appId;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
-(void)getAppAndUserData:(NSString*)profilestatus competingapisource:(NSString*)competingstatus campaignapisource:(NSString*)campaignstatus inboxsource:(NSString*)inboxstatus;
|
|
42
|
-
|
|
43
|
-
+ (NSMutableDictionary *)NewDeviceandAppmetrics;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
-(void) campaignRecordEvent:(NSMutableArray *) KeyandCampaignID;
|
|
47
|
-
|
|
48
|
-
// EVENT TRACKING
|
|
49
|
-
- (void)recordEvent:(NSString *)key count:(int)count;
|
|
50
|
-
|
|
51
|
-
// EVENT TRACKING WITH SEGMENTATION
|
|
52
|
-
- (void)recordEvent:(NSString *)key segmentation:(NSDictionary *)segmentation count:(int)count;
|
|
53
|
-
|
|
54
|
-
typedef void (^AppICEInboxSuccessBlock)(BOOL success);
|
|
55
|
-
typedef void (^AppICEInboxCallback)(AppICEInboxMessage *AppICEInboxMessage);
|
|
56
|
-
typedef void (^AppiceClickDelegate)(NSDictionary *cData);
|
|
57
|
-
//@property (nonatomic, copy) AppICEInboxSuccessBlock statement;
|
|
58
|
-
- (void)synchronizeInbox:(AppICEInboxSuccessBlock)CallBack timeoutinSec:(int)timeoutinSec;
|
|
59
|
-
// SET AND GET CHILD ID
|
|
60
|
-
-(void) setChildId:(NSString*)value;
|
|
61
|
-
|
|
62
|
-
-(NSString*)getChildId:(NSString*) key;
|
|
63
|
-
|
|
64
|
-
// SET ALIAS FUNCTION && will send to server only when baseUrl is not null through PutApp call
|
|
65
|
-
-(void) setAlias:(NSString*)value;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
// SET CUSTOM VARIABLE
|
|
70
|
-
//will send to server only when baseUrl is not null through PutApp call
|
|
71
|
-
-(void) setCustomVariable:(NSString*) key withStringValue:(NSString*)value;
|
|
72
|
-
|
|
73
|
-
-(void) setCustomVariable:(NSString*) key withBoolValue:(BOOL)value;
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
-(void) setCustomVariable:(NSString*)key withLongValue:(int64_t) value;
|
|
77
|
-
|
|
78
|
-
-(void) setCustomVariable:(NSString*) key withIntvalue:(int32_t) value;
|
|
79
|
-
|
|
80
|
-
// GET CUSTOM VARIABLE
|
|
81
|
-
-(NSString*)getCustomVariable:(NSString*) key;
|
|
82
|
-
|
|
83
|
-
// REMOVE CUSTOM VARIABLE && will send to server only when baseUrl is not null through PutApp call
|
|
84
|
-
-(void)removeCustomVariable:(NSString*) key;
|
|
85
|
-
|
|
86
|
-
// GET SDK VERSION
|
|
87
|
-
-(NSString*) getSdkVersion;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
// GET TIME OUT OF BACKGROUND TIMER
|
|
91
|
-
-(int) getSessionTimeout;
|
|
92
|
-
|
|
93
|
-
// SET TIME OUT OF BACKGROUND TIMER
|
|
94
|
-
-(void) setSessionTimeout:(int) Timeout;
|
|
95
|
-
|
|
96
|
-
// Set User Detail && will send to server only when baseUrl is not null through PutApp call
|
|
97
|
-
-(void) setUserDetail:(appICEUserDetails*) userdetail;
|
|
98
|
-
|
|
99
|
-
//set multiple users id
|
|
100
|
-
-(void)setUserId:(NSArray*) userIdArray;
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
//get multiple users id
|
|
104
|
-
-(NSMutableArray*)getUserId;
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
//Get User Detail
|
|
108
|
-
-(appICEUserDetails*)getUserDetail;
|
|
109
|
-
-(NSString *)getInternalId;
|
|
110
|
-
|
|
111
|
-
//Get Inbox Message Count
|
|
112
|
-
-(int)getMessageCount :(int)status;
|
|
113
|
-
|
|
114
|
-
//Get Messages count with UserId & status
|
|
115
|
-
-(int)getMessageCount :(int)status userId:(NSArray *)userId;
|
|
116
|
-
|
|
117
|
-
//Get messages
|
|
118
|
-
-(NSMutableArray*)getInboxMessages :(int)status;
|
|
119
|
-
|
|
120
|
-
//Get Inbox messages with UserId & Status
|
|
121
|
-
-(NSMutableArray*)getInboxMessages :(int)status userId:(NSArray *)userId;
|
|
122
|
-
|
|
123
|
-
//Get message object belonging to the given message id only. Message id should be a String
|
|
124
|
-
-(AppICEInboxMessage*)getInboxMessageForId :(NSString*)messageId;
|
|
125
|
-
|
|
126
|
-
//Get the inbox message with a specified message identifier.
|
|
127
|
-
-(AppICEInboxMessage*)getInboxMessageForId :(NSString*)messageId userId:(NSArray *)userId;
|
|
128
|
-
|
|
129
|
-
//Get message object belonging to the given campid id only. campid id should be a String
|
|
130
|
-
-(void)getInboxMessageForCampaignId:(NSString*)campID callBack:(AppICEInboxCallback)callBack timeout:(int)timeout;
|
|
131
|
-
|
|
132
|
-
//Get the inbox message with a specified campid identifier and userid.
|
|
133
|
-
-(void)getInboxMessageForCampaignId:(NSString*)campID userId:(NSArray *)userId callBack:(AppICEInboxCallback)callBack timeout:(int)timeout;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
//Mark Message as Read or deleted
|
|
137
|
-
-(BOOL)updateInboxMessage :(int)status :(NSString *)messageId;
|
|
138
|
-
-(BOOL)updateInboxMessage :(int)status messageId:(NSString *)messageId userid:(NSString *)userId;
|
|
139
|
-
|
|
140
|
-
//PUSH NOTIFICATIONS Methods
|
|
141
|
-
//check the server of the push Notifcations
|
|
142
|
-
-(BOOL)isAppICENotification:(NSDictionary *)userInfo;
|
|
143
|
-
|
|
144
|
-
// method for handling remote and local push Notifications: handles deep link and record event
|
|
145
|
-
-(void) handleClickOnPush:(id) userInfo OpenDeepLink:(BOOL)openDeepLink;
|
|
146
|
-
|
|
147
|
-
// Set device token
|
|
148
|
-
+(void) setTokenInPushNotification:(NSData*) appPushToken;
|
|
149
|
-
|
|
150
|
-
//get device Token and save it and will send to server only when baseUrl is not null
|
|
151
|
-
+(void) deviceTokenForPushNotification:(NSString*) appPushTokenString;
|
|
152
|
-
|
|
153
|
-
//validating integration of sdk, returning bool value.
|
|
154
|
-
-(BOOL)validateIntegration;
|
|
155
|
-
|
|
156
|
-
//method for handling notfication clicked event
|
|
157
|
-
- (void)pushNotificationClickedEvent:(id _Nonnull)notificationData;
|
|
158
|
-
|
|
159
|
-
// method for handling notfication received event
|
|
160
|
-
- (void)pushNotificationReceived:(id _Nonnull)notificationData;
|
|
161
|
-
|
|
162
|
-
+ (void)runSyncMainQueue:(void (^)(void))block;
|
|
163
|
-
- (BOOL)isSilentPush:(NSDictionary*) payload;
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
-(NSMutableDictionary*)getInBoxData;
|
|
167
|
-
- (NSString*)expandedPushURL:(NSDictionary*) payload;
|
|
168
|
-
- (NSString*)expandedPushData:(NSDictionary*) payload;
|
|
169
|
-
-(void)renderNotification:(NSNotification*)data;
|
|
170
|
-
|
|
171
|
-
// will send to server only when baseUrl is not null through PutApp call
|
|
172
|
-
-(void)setInitialise:(NSString*)urlString;
|
|
173
|
-
|
|
174
|
-
//inapp
|
|
175
|
-
-(void)resumeInApp;
|
|
176
|
-
-(void)suspendInApp;
|
|
177
|
-
-(void)discardInApp;
|
|
178
|
-
-(void)dismissInApp;
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
- (BOOL)isAdvancePush:(NSDictionary*) payload;
|
|
182
|
-
- (NSString*)getAdvancedPushMediaUrl:(NSDictionary*) payload;
|
|
183
|
-
|
|
184
|
-
- (void)setClickCallback:(AppiceClickDelegate)CallBack;
|
|
185
|
-
-(void)invokeCallback:(NSDictionary*)userInfo;
|
|
186
|
-
-(AppiceClickDelegate)getClickCallback;
|
|
187
|
-
|
|
188
|
-
@end
|
|
189
|
-
|
|
190
|
-
NS_ASSUME_NONNULL_END
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// appICEUserDetails.h
|
|
3
|
-
// appICETestApp
|
|
4
|
-
//
|
|
5
|
-
// Created by MacBook on 29/08/17.
|
|
6
|
-
// Copyright © 2017 InnovationBox. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#import <Foundation/Foundation.h>
|
|
10
|
-
|
|
11
|
-
@interface CustomUserPropertyConstants : NSObject
|
|
12
|
-
|
|
13
|
-
@property (class, nonatomic, readonly) NSString *TOP_N_PRODUCTS_VIEWED;
|
|
14
|
-
@property (class, nonatomic, readonly) NSString *N_COMPLAINTS_RAISED;
|
|
15
|
-
@property (class, nonatomic, readonly) NSString *PREF_LOGIN_DEVICE ;
|
|
16
|
-
@property (class, nonatomic, readonly) NSString *REFERRAL_CAMPAIGN;
|
|
17
|
-
|
|
18
|
-
@end
|
|
19
|
-
|
|
20
|
-
@interface Ecommerce : CustomUserPropertyConstants
|
|
21
|
-
|
|
22
|
-
@property (class, nonatomic, readonly) NSString *TOTAL_ORDER_VALUE;
|
|
23
|
-
@property (class, nonatomic, readonly) NSString *ADD_TO_CART_N_DAYS;
|
|
24
|
-
|
|
25
|
-
@end
|
|
26
|
-
|
|
27
|
-
@interface FinancialServices : CustomUserPropertyConstants
|
|
28
|
-
|
|
29
|
-
@property (class, nonatomic, readonly) NSString *CREDIT_SCORE;
|
|
30
|
-
@property (class, nonatomic, readonly) NSString *DEBT_TO_INCOME_RATIO;
|
|
31
|
-
@property (class, nonatomic, readonly) NSString *SAVINGS_BALANCE;
|
|
32
|
-
@property (class, nonatomic, readonly) NSString *CHECKING_BALANCE;
|
|
33
|
-
@property (class, nonatomic, readonly) NSString *AVERAGE_TRANSACTION_AMOUNT;
|
|
34
|
-
@property (class, nonatomic, readonly) NSString *FREQUENCY_OF_TRANSACTION;
|
|
35
|
-
@property (class, nonatomic, readonly) NSString *TYPE_OF_TRANSACTION;
|
|
36
|
-
|
|
37
|
-
@end
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
@interface appICEUserDetails : NSObject
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
extern NSString* const kAIUserName;
|
|
44
|
-
extern NSString* const kAIUserUsername;
|
|
45
|
-
extern NSString* const kAIUserEmail;
|
|
46
|
-
extern NSString* const kAIUserOrganization;
|
|
47
|
-
extern NSString* const kAIUserPhone;
|
|
48
|
-
extern NSString* const kAIUserGender;
|
|
49
|
-
extern NSString* const kAIUserBirthYear;
|
|
50
|
-
extern NSString* const kAIUserIsUserEmployed;
|
|
51
|
-
extern NSString* const kAIUserEmploymentType;
|
|
52
|
-
extern NSString* const kAIUserEducationType;
|
|
53
|
-
extern NSString* const kAIUserIsUserMarried;
|
|
54
|
-
extern NSString* const kAIUserAge;
|
|
55
|
-
extern NSString* const kAIUserPicture;
|
|
56
|
-
extern NSString* const kAIUserPicturePath;
|
|
57
|
-
extern NSString* const kAIUserCustom;
|
|
58
|
-
extern NSString* const kAIAlias;
|
|
59
|
-
extern NSString* const kAIFirstSeen;
|
|
60
|
-
extern NSString* const kAILastSeen;
|
|
61
|
-
|
|
62
|
-
@property (nonatomic, assign) int age;
|
|
63
|
-
@property (nonatomic, assign) BOOL is_user_married;
|
|
64
|
-
@property (nonatomic, assign) BOOL is_user_employed;
|
|
65
|
-
@property (nonatomic, assign) long dob;
|
|
66
|
-
@property (strong, nonatomic) NSString *name;
|
|
67
|
-
@property (strong, nonatomic) NSString * email;
|
|
68
|
-
@property (strong, nonatomic) NSString * phone;
|
|
69
|
-
@property (strong, nonatomic) NSString * gender;
|
|
70
|
-
|
|
71
|
-
@property (strong, nonatomic) NSString * employment_type;
|
|
72
|
-
@property (strong, nonatomic) NSString * education_type;
|
|
73
|
-
|
|
74
|
-
@property (nonatomic, assign) long firstSeen;
|
|
75
|
-
@property (nonatomic, assign) long lastSeen;
|
|
76
|
-
|
|
77
|
-
@property (nonatomic, strong) NSDictionary *customProperties;
|
|
78
|
-
|
|
79
|
-
+(appICEUserDetails*)sharedUserDetails;
|
|
80
|
-
|
|
81
|
-
// GET USER DETAIL IN AppICE
|
|
82
|
-
-(appICEUserDetails *) getUserDetail;
|
|
83
|
-
|
|
84
|
-
// SET USER DETAIL IN AppICE
|
|
85
|
-
-(void) setUserDetail:(appICEUserDetails*) userdetail;
|
|
86
|
-
|
|
87
|
-
@end
|
|
Binary file
|
|
Binary file
|
|
Binary file
|