Skip to content

Commit

Permalink
Merge pull request #3 from tenjin/release-1.12.22
Browse files Browse the repository at this point in the history
Release 1.12.22
  • Loading branch information
giraldogdiego committed Feb 13, 2023
2 parents 8f0a2e9 + ad3aff8 commit 8385dc9
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 3 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ The Tenjin iOS SDK allows users to track events and installs in their iOS apps.
- [App Subversion][14]
- [Impression Level Ad Revenue Integration][15]
- [Attribution Info][16]
- [Customer User ID][17]

# <a id="sdk-integration"></a> SDK Integration

Expand Down Expand Up @@ -419,6 +420,19 @@ Tenjin supports retrieving of attributes, which are required for developers to g

:warning: **NOTE: Attribution Info is a paid feature, so please contact your Tenjin account manager if you are interested in.**

# <a id="customer-user-id"></a>Customer User ID
You can set and get customer user id to send as a parameter on events.

`setCustomerUserId(userId: "user_id")`

`getCustomerUserId()`

```objectivec
[TenjinSDK initialize:@"<SDK_KEY>"];
[TenjinSDK setCustomerUserId:@"user_id"];
userId = [TenjinSDK getCustomerUserId];
```
[1]: #sdk-integration
[2]: #attrackingmanager
[3]: #displayattprompt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,21 @@ andDeferredDeeplink:(NSURL *)url
// Update conversion value
+ (void)updatePostbackConversionValue:(int)conversionValue;

// Update conversion value and coarse value (iOS 16.1+)
+ (void)updatePostbackConversionValue:(int)conversionValue
coarseValue:(NSString*)coarseValue;

// Update conversion value, coarse value and lock window (iOS 16.1+)
+ (void)updatePostbackConversionValue:(int)conversionValue
coarseValue:(NSString*)coarseValue
lockWindow:(BOOL)lockWindow;

// Set customer user id to send as parameter on each event request
+ (void)setCustomerUserId:(NSString *)userId;

// Get customer user id saved on the device
+ (NSString *)getCustomerUserId;

#pragma mark Util

+ (void)verboseLogs;
Expand Down
Binary file modified TenjinSDK.xcframework/ios-arm64/TenjinSDK.framework/Info.plist
Binary file not shown.
Binary file modified TenjinSDK.xcframework/ios-arm64/TenjinSDK.framework/TenjinSDK
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,21 @@ andDeferredDeeplink:(NSURL *)url
// Update conversion value
+ (void)updatePostbackConversionValue:(int)conversionValue;

// Update conversion value and coarse value (iOS 16.1+)
+ (void)updatePostbackConversionValue:(int)conversionValue
coarseValue:(NSString*)coarseValue;

// Update conversion value, coarse value and lock window (iOS 16.1+)
+ (void)updatePostbackConversionValue:(int)conversionValue
coarseValue:(NSString*)coarseValue
lockWindow:(BOOL)lockWindow;

// Set customer user id to send as parameter on each event request
+ (void)setCustomerUserId:(NSString *)userId;

// Get customer user id saved on the device
+ (NSString *)getCustomerUserId;

#pragma mark Util

+ (void)verboseLogs;
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<dict>
<key>Headers/TenjinSDK.h</key>
<data>
KT72ufrSmyuQMrrezPb7knVvDvQ=
RIUvg5AVTyyZbEi261rDqiBilfc=
</data>
<key>Info.plist</key>
<data>
h8i52MauQQ7IM6urR/htaqZDzc8=
bxpF75reQJIycKLsVJp+/zBMwNQ=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand All @@ -23,7 +23,7 @@
<dict>
<key>hash2</key>
<data>
vrrFoe9lwsNMdfEHJmLeCwIsSl6kYJhtd2KE/7dNZfc=
GocpGD8fcJsBel8nmuml8uYLUC1j19UqDltJ1GOUxyA=
</data>
</dict>
<key>Modules/module.modulemap</key>
Expand Down

0 comments on commit 8385dc9

Please sign in to comment.