-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
797 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>AvailableLibraries</key> | ||
<array> | ||
<dict> | ||
<key>LibraryIdentifier</key> | ||
<string>ios-arm64_armv7</string> | ||
<key>LibraryPath</key> | ||
<string>WalkMeSDK.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
<string>armv7</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>ios</string> | ||
</dict> | ||
<dict> | ||
<key>LibraryIdentifier</key> | ||
<string>ios-i386_x86_64-simulator</string> | ||
<key>LibraryPath</key> | ||
<string>WalkMeSDK.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>i386</string> | ||
<string>x86_64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>ios</string> | ||
<key>SupportedPlatformVariant</key> | ||
<string>simulator</string> | ||
</dict> | ||
</array> | ||
<key>CFBundlePackageType</key> | ||
<string>XFWK</string> | ||
<key>XCFrameworkFormatVersion</key> | ||
<string>1.0</string> | ||
</dict> | ||
</plist> |
258 changes: 258 additions & 0 deletions
258
WalkMeSDK.xcframework/ios-i386_x86_64-simulator/WalkMeSDK.framework/Headers/ABBI.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,258 @@ | ||
// Copyright © 2016 ABBI Ltd. <https://abbi.io> All rights reserved. | ||
// | ||
// Permission is hereby granted, free of charge, to any person obtaining a copy | ||
// of this software and associated documentation files (the "Software"), to deal | ||
// in the Software without restriction, including without limitation the rights | ||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
// copies of the Software, and to permit persons to whom the Software is | ||
// furnished to do so, subject to the following conditions: | ||
// | ||
// The above copyright notice and this permission notice shall be included in | ||
// all copies or substantial portions of the Software. | ||
// | ||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
// THE SOFTWARE. | ||
|
||
#import <Foundation/Foundation.h> | ||
#import "WMStartOptions.h" | ||
|
||
extern NSString *SDK_VERSION; | ||
|
||
/** | ||
* ABBI class manages the execution of ABBI SDK. | ||
* Navigate to https://console.mobile.walkme.com to Register/Login and Manage Your Promotions | ||
* For support, drop us an email at [email protected] | ||
*/ | ||
@interface ABBI : NSObject | ||
|
||
@property (nonatomic,weak) id<WMCampaignInfoDelegate> campaignInfoDelegate; | ||
@property (nonatomic,weak) id<WMAnalyticsDelegate> analyticsDelegate; | ||
|
||
/** | ||
* Starts ABBI SDK. | ||
* | ||
* @param appId The Application Id provided by WalkMe | ||
* @param appSecretKey The Application Secret key provided by WalkMe | ||
* | ||
* To get your Application Id and Application Secret key, login to WalkMe console at https://console.mobile.walkme.com | ||
* and click the settings icon near your Application Name. You can find more info here - https://walkme-mobile.zendesk.com/hc | ||
*/ | ||
+ (void)start:(NSString *)appId withSecretKey:(NSString *)appSecretKey; | ||
|
||
/** | ||
* Restarts ABBI SDK. | ||
* | ||
* This method can be called only after ABBI start was called first. | ||
* Restart ABBI SDK is allowed if old session is at least 1 minute old | ||
*/ | ||
+ (void)restart; | ||
|
||
/** | ||
* Starts ABBI SDK - FOR HYBRID APPS ONLY! | ||
* | ||
* @param appId The Application Id provided by ABBI | ||
* @param appSecretKey The Application Secret key provided by ABBI | ||
* @param type The Application Type (i.e. ABBI_APP_HYBRID) | ||
* | ||
*/ | ||
+ (void)start:(NSString *)appId withSecretKey:(NSString *)appSecretKey andApplicationType:(ABBIAppType)type; | ||
|
||
/** | ||
* Starts ABBI SDK - FOR SELF-HOSTED APPS ONLY! | ||
* | ||
* @param appId The Application Id provided by ABBI | ||
* @param appSecretKey The Application Secret key provided by ABBI | ||
* @param url the self hosted url | ||
* | ||
*/ | ||
+ (void)start:(NSString *)appId withSecretKey:(NSString *)appSecretKey andSelfHostedURL:(NSString *)url; | ||
|
||
/** | ||
* Starts ABBI SDK! | ||
* | ||
* @param options The options to start the SDK | ||
* | ||
*/ | ||
+ (void)startWithOptions:(WMStartOptions *)options; | ||
|
||
/** | ||
* Stop ABBI SDK. | ||
* | ||
* This method can be called only after ABBI start was called first. | ||
* Stop abbi SDK is allowed if old session is at least 1 minute old | ||
*/ | ||
+ (void)stop; | ||
|
||
/** | ||
* Sends a Goal to ABBI's Backend. | ||
* A Goal is a user action that can be used to target your users. | ||
* | ||
* Usage Example :@ | ||
* | ||
* [ABBI sendGoal:@"Bought a blue sword" withProperites:nil] | ||
* [ABBI sendGoal:@"Bought a blue sword" withProperites:@{@"item_name", @"unlimited_calls"}] | ||
* | ||
* @param goalName the Goal name. | ||
* @param properties the Goal properties, key-value structured (if any). | ||
*/ | ||
+ (void)sendGoal:(NSString *)goalName withProperites:(NSDictionary *)properties; | ||
|
||
/** | ||
* Sets a user attribute | ||
* | ||
* @param key the attribute key | ||
* @param value the attribute value | ||
* | ||
* @code | ||
* Usage Examples: | ||
* [ABBI setUserAttributeWithKey:@"isProUser" andValue:@YES]; | ||
* [ABBI setUserAttributeWithKey:@"isLoggedIn" andValue:@(0)]; | ||
*/ | ||
+ (void)setUserAttributeWithKey:(NSString *)key andValue:(id)value; | ||
|
||
/** | ||
* Sets multiple user attributes | ||
* | ||
* @param attributes the user attributes | ||
* | ||
* @code | ||
* Usage Example: | ||
* [ABBI setUserAttributes:@{@"isProUser": @YES, @"isLoggedIn": @(0)}]; | ||
*/ | ||
+ (void)setUserAttributes:(NSDictionary<NSString*,id> *)attributes; | ||
|
||
/** | ||
* Sets a private user attribute | ||
* | ||
* @param key the attribute key | ||
* @param value the attribute value | ||
* | ||
* @code | ||
* Usage Examples: | ||
* [ABBI setPrivateUserAttributeWithKey:@"gender" andValue:@"female"]; | ||
* [ABBI setPrivateUserAttributeWithKey:@"balance" andValue:@(1000)]; | ||
*/ | ||
+ (void)setPrivateUserAttributeWithKey:(NSString *)key andValue:(id)value; | ||
|
||
/** | ||
* Sets multiple private user attributes | ||
* | ||
* @param attributes the private user attributes | ||
* | ||
* @code | ||
* Usage Example: | ||
* [ABBI setPrivateUserAttributes:@{@"gender": @"female", @"balance": @(1000)}]; | ||
*/ | ||
+ (void)setPrivateUserAttributes:(NSDictionary<NSString*,id> *)attributes; | ||
|
||
/** | ||
* Clears all private user attributes | ||
*/ | ||
+ (void)clearPrivateUserAttributes; | ||
|
||
/** | ||
* Utility function for remote sessions with ABBI support team. | ||
* | ||
* @param n Will be given by ABBI support team when needed | ||
*/ | ||
+ (void)setFlag:(int)n; | ||
|
||
/** | ||
* Launches a campaign by trigger key | ||
* Once invoked, the method will show the campaign WITHOUT any of its segments (if defined) | ||
* | ||
* @code | ||
* Usage Example : | ||
* [ABBI trigger:@"Show How To Order Credit Card"]; | ||
*/ | ||
+ (void)trigger:(NSString *)trigger; | ||
|
||
/** | ||
* Launches a campaign by trigger key after redirecting the user to the given deep link | ||
* Once invoked, the method will show the campaign WITHOUT any of its segments (if defined) | ||
* | ||
* @code | ||
* Usage Example : | ||
* [ABBI trigger:@"Show How To Order Credit Card" withDeepLink:@"myapp://main_screen"]; | ||
*/ | ||
+ (void)trigger:(NSString*)trigger withDeepLink:(NSString*)deepLink; | ||
|
||
/** | ||
* Sets user id | ||
* | ||
* @param userId the user id as NSString | ||
* | ||
* @code | ||
* Usage Example: | ||
* [ABBI setUserID:@"myuserid"]; | ||
*/ | ||
+ (void)setUserID:(NSString*)userId; | ||
|
||
/** | ||
* Register a delegate to campaign events | ||
* | ||
* @param delegate The delegate | ||
* | ||
*/ | ||
+ (void)setCampaignInfoDelegate:(id<WMCampaignInfoDelegate>)delegate; | ||
|
||
/** | ||
* Register a delegate to analytics events | ||
* | ||
* @param delegate The delegate | ||
* | ||
*/ | ||
+ (void)setAnalyticsDelegate:(id<WMAnalyticsDelegate>)delegate; | ||
|
||
/** | ||
* Opens a URL | ||
* | ||
* @param url the URL that should be handled by the SDK | ||
* @param options the options received from the app delegate "application:openURL:options:" method | ||
* @return true if the SDK handled the openURL request successfully | ||
* | ||
*/ | ||
+ (BOOL)openURL:(NSURL*)url options:(NSDictionary*)options; | ||
|
||
/** | ||
* Set events that won't be sent | ||
* | ||
* @param events of type WMStatsEventType that won't be sent | ||
* | ||
* @code | ||
* Usage Example : | ||
* [ABBI setEventsFilter:@[@(WMStatsEventTypeAppTerminated), @(WMStatsEventTypeViewTransition)]]; | ||
* | ||
*/ | ||
+ (void)setEventsFilter:(NSArray<NSNumber*>*)events; | ||
|
||
/** | ||
* Set ID for a specific screen. | ||
* When used, this should be called everytime the screen shows | ||
* | ||
* @param screenID the ID to set for a specific screen | ||
* | ||
*/ | ||
+ (void)setScreenID:(NSString *)screenID; | ||
|
||
/** | ||
* Set the language for your campaigns. | ||
* When used, the language param you pass should match the name of one of the languages you’ve set up in the console. | ||
* | ||
* @param language the language for which you want the SDK to display your campaigns | ||
* | ||
*/ | ||
+ (void)setLanguage:(NSString *)language; | ||
|
||
/** | ||
* Dismiss currently presented campaign, in case nothing is presented this API does nothing. | ||
* Exception for launcher campaigns which are not affected by this API. | ||
*/ | ||
+ (void)dismissCampaign; | ||
|
||
@end |
19 changes: 19 additions & 0 deletions
19
WalkMeSDK.xcframework/ios-i386_x86_64-simulator/WalkMeSDK.framework/Headers/UIView+WalkMe.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// UIView+WalkMe.h | ||
// ABBISDK | ||
// | ||
// Created by Guy Sharony on 02/06/2019. | ||
// Copyright © 2019 WalkMe Ltd. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface UIView (WalkMe) | ||
|
||
@property (nonatomic, strong) NSString *__wm__elementID; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
21 changes: 21 additions & 0 deletions
21
WalkMeSDK.xcframework/ios-i386_x86_64-simulator/WalkMeSDK.framework/Headers/WMCampaignInfo.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// | ||
// WMCampaignInfo.h | ||
// ABBISDK | ||
// | ||
// Created by WalkMe on 07/03/2018. | ||
// Copyright © 2018 Abbi Ltd. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
#import "WMUserData.h" | ||
|
||
@interface WMCampaignInfo : NSObject | ||
|
||
@property (nonatomic,strong) NSString* campaginCta; | ||
@property (nonatomic,strong) NSString* campaignCtaId; | ||
@property (nonatomic,strong) NSString* campaignId; | ||
@property (nonatomic,strong) WMUserData* userData; | ||
@property (nonatomic,strong) NSDictionary* campaignData; | ||
|
||
|
||
@end |
Oops, something went wrong.