Skip to content

Commit

Permalink
Merge pull request #9 from tenjin/release-1.14.2
Browse files Browse the repository at this point in the history
Release 1.14.2
  • Loading branch information
giraldogdiego committed May 24, 2024
2 parents 9125f50 + e5e152c commit 30428ce
Show file tree
Hide file tree
Showing 11 changed files with 153 additions and 28 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,18 +249,18 @@ As of iOS 16.1, which supports SKAdNetwork 4.0, you can now send `coarseValue` (
[TenjinSDK connect];

//
// This will call [SKAdNetwork updatePostbackConversionValue: <YOUR 6 bit value>]
// This will call [SKAdNetwork updatePostbackConversionValue: <Integer between 0 and 63>]
// and also send conversion value to our servers.
//
// You will need to use a value between 0-63 for <YOUR 6 bit value>.
// You will need to use a value between 0-63.
//
[TenjinSDK updatePostbackConversionValue: <YOUR 6 bit value>];
[TenjinSDK updatePostbackConversionValue: <Integer between 0 and 63>];

// For iOS 16.1+ (SKAN 4.0)

[TenjinSDK updatePostbackConversionValue: <YOUR 6 bit value> coarseValue:@"medium"];
[TenjinSDK updatePostbackConversionValue: <Integer between 0 and 63> coarseValue:@"medium"];

[TenjinSDK updatePostbackConversionValue: <YOUR 6 bit value> coarseValue:@"medium" lockWindow:true];
[TenjinSDK updatePostbackConversionValue: <Integer between 0 and 63> coarseValue:@"medium" lockWindow:true];

}
}
Expand Down
14 changes: 7 additions & 7 deletions TenjinSDK.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,32 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_i386_x86_64-simulator</string>
<string>ios-arm64_armv7</string>
<key>LibraryPath</key>
<string>TenjinSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
<string>armv7</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7</string>
<string>ios-arm64_i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>TenjinSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
<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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,13 @@ andDeferredDeeplink:(NSURL *)url
//use sendEventWithName for custom event names
+ (void)sendEventWithName:(NSString *)eventName;

//This method checks to make sure integers are passed as values.
//This method is deprecated in favor of [sendEventWithName: andValue:], so you can pass an integer directly
+ (void)sendEventWithName:(NSString *)eventName
andEventValue:(NSString *)eventValue;
andEventValue:(NSString *)eventValue __deprecated_msg("use `sendEventWithName: andValue:` instead");

//Use this method to send custom events with values
+ (void)sendEventWithName:(NSString *)eventName
andValue:(NSInteger)eventValue;

//This method is deprecated in favor of [transaction: andReceipt:], so Tenjin can verify your transactions
+ (void)transaction:(SKPaymentTransaction *)transaction __attribute__((deprecated));
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?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>NSPrivacyTrackingDomains</key>
<array>
<string>https://track.tenjin.com</string>
</array>
<key>NSPrivacyTracking</key>
<true/>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeAdvertisingData</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeDeviceID</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
</array>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
</array>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#define kTenjinConversionEndpoint @"conversion-values"

//this line replaced by build script
#define kTenjinTenjinSDKVersion @"1.14.1"
#define kTenjinTenjinSDKVersion @"1.14.3"


#define kTenjinPlatformIos @"ios"
Expand Down Expand Up @@ -58,8 +58,7 @@
#define kTenjinGoogleAdUserDataKey @"TENJIN_GOOGLE_AD_USER_DATA"
#define kTenjinGoogleDMADisabled @"TENJIN_GOOGLE_DMA_DISABLED"

//one hour in seconds
#define kTenjinMaxWait 3600
#define kTenjinAttributionMaxBackoff 15

#define kTenjinStartupMaxRetries 5
#define kTenjinRetrySleepBaseInSeconds 2.0
Expand Down
Binary file modified TenjinSDK.xcframework/ios-arm64_armv7/TenjinSDK.framework/TenjinSDK
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,13 @@ andDeferredDeeplink:(NSURL *)url
//use sendEventWithName for custom event names
+ (void)sendEventWithName:(NSString *)eventName;

//This method checks to make sure integers are passed as values.
//This method is deprecated in favor of [sendEventWithName: andValue:], so you can pass an integer directly
+ (void)sendEventWithName:(NSString *)eventName
andEventValue:(NSString *)eventValue;
andEventValue:(NSString *)eventValue __deprecated_msg("use `sendEventWithName: andValue:` instead");

//Use this method to send custom events with values
+ (void)sendEventWithName:(NSString *)eventName
andValue:(NSInteger)eventValue;

//This method is deprecated in favor of [transaction: andReceipt:], so Tenjin can verify your transactions
+ (void)transaction:(SKPaymentTransaction *)transaction __attribute__((deprecated));
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?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>NSPrivacyTrackingDomains</key>
<array>
<string>https://track.tenjin.com</string>
</array>
<key>NSPrivacyTracking</key>
<true/>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeAdvertisingData</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeDeviceID</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
</array>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
</array>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#define kTenjinConversionEndpoint @"conversion-values"

//this line replaced by build script
#define kTenjinTenjinSDKVersion @"1.14.1"
#define kTenjinTenjinSDKVersion @"1.14.3"


#define kTenjinPlatformIos @"ios"
Expand Down Expand Up @@ -58,8 +58,7 @@
#define kTenjinGoogleAdUserDataKey @"TENJIN_GOOGLE_AD_USER_DATA"
#define kTenjinGoogleDMADisabled @"TENJIN_GOOGLE_DMA_DISABLED"

//one hour in seconds
#define kTenjinMaxWait 3600
#define kTenjinAttributionMaxBackoff 15

#define kTenjinStartupMaxRetries 5
#define kTenjinRetrySleepBaseInSeconds 2.0
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</data>
<key>Headers/TenjinSDK.h</key>
<data>
zAIRKoiTPRF2vym+QHsNcrHfaI8=
TxO7/qlPZR+UTR5/KtXBkGu53ls=
</data>
<key>Info.plist</key>
<data>
Expand Down Expand Up @@ -84,6 +84,10 @@
<data>
zJjkkkrtIkSMVLcgJOHBjVCyNGY=
</data>
<key>PrivacyInfo.xcprivacy</key>
<data>
ZgZkUSvBfEzKqWNcw+WRrHWAHzk=
</data>
<key>PrivateHeaders/AsyncOperation.h</key>
<data>
ED1GXKimECuv7STFczEyYEfmCnI=
Expand All @@ -106,7 +110,7 @@
</data>
<key>PrivateHeaders/TenjinConst.h</key>
<data>
ofeRucjrU6kWCz+CiR4P9O91r9o=
csZhT/GwkJUzG3C45rbKQGZ2jlA=
</data>
<key>PrivateHeaders/TenjinUtil.h</key>
<data>
Expand Down Expand Up @@ -215,11 +219,11 @@
<dict>
<key>hash</key>
<data>
zAIRKoiTPRF2vym+QHsNcrHfaI8=
TxO7/qlPZR+UTR5/KtXBkGu53ls=
</data>
<key>hash2</key>
<data>
HSBLARdap9XC7O2Hp5l1Mi3PQ+KMFy3CeY9xSD8BSGc=
F3iwfP9yxwG20kd5XnfN9hAqpf4PkZESz3QLCngnuIM=
</data>
</dict>
<key>Modules/TenjinSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
Expand Down Expand Up @@ -332,6 +336,17 @@
+6VF6T3zybby0RiGlE+yBYzWCzBZvE9XIIeVVt2DkaA=
</data>
</dict>
<key>PrivacyInfo.xcprivacy</key>
<dict>
<key>hash</key>
<data>
ZgZkUSvBfEzKqWNcw+WRrHWAHzk=
</data>
<key>hash2</key>
<data>
k44L0hH+byKJ/QemLFr2FCQAQtocXOp2THl0wPl8c+c=
</data>
</dict>
<key>PrivateHeaders/AsyncOperation.h</key>
<dict>
<key>hash</key>
Expand Down Expand Up @@ -391,11 +406,11 @@
<dict>
<key>hash</key>
<data>
ofeRucjrU6kWCz+CiR4P9O91r9o=
csZhT/GwkJUzG3C45rbKQGZ2jlA=
</data>
<key>hash2</key>
<data>
zZyyBXf+sbu3j2hBuOqXuPh41WH+KiI3N1rXny8+xnY=
e/z8h5JK7/WRYYQyAimQehZYWQU5zLMazY3XiQgjBpE=
</data>
</dict>
<key>PrivateHeaders/TenjinUtil.h</key>
Expand Down

0 comments on commit 30428ce

Please sign in to comment.