-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from tenjin/dg/release-1.1.2/TENJIN-20329
Release 1.1.2 [TENJIN-20329]
- Loading branch information
Showing
5 changed files
with
38 additions
and
3 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 |
---|---|---|
|
@@ -85,13 +85,15 @@ Tenjin.optInGoogleDMA() | |
|
||
### Register transaction | ||
```javascript | ||
transaction(productName, currencyCode, quantity, unitPrice) | ||
transactionWithReceipt(productName, currencyCode, quantity, unitPrice, transactionId, receipt) | ||
``` | ||
Parameters: | ||
- `productName`: String | ||
- `currencyCode`: String | ||
- `quantity`: Number | ||
- `unitPrice`: Number | ||
- `transactionId`: String | ||
- `receipt`: String (Base 64) | ||
|
||
### Send event with name | ||
```javascript | ||
|
@@ -199,5 +201,22 @@ Parameters: | |
- `adPersonalization`: Boolean | ||
- `adUserData`: Boolean | ||
|
||
### SKAdNetwork and Conversion value (iOS) | ||
|
||
As part of <a href="https://developer.apple.com/documentation/storekit/skadnetwork">SKAdNetwork</a>, we created a wrapper method for <a href="https://developer.apple.com/documentation/storekit/skadnetwork/3919928-updatepostbackconversionvalue">`updatePostbackConversionValue(conversionValue: Integer)`</a>. | ||
Our method will register the equivalent SKAdNetwork methods and also send the conversion values to our servers. | ||
|
||
`updatePostbackConversionValue(conversionValue: Integer)` 6 bit value should correspond to the in-app event and shouldn’t be entered as binary representation but 0-63 integer. | ||
|
||
As of iOS 16.1, which supports SKAdNetwork 4.0, you can now send `coarseValue` (String, with possible variants being "low", "medium" or "high") and `lockWindow` (Boolean) as parameters on the update postback method: | ||
|
||
`updatePostbackConversionValue(conversionValue: Integer, coarseValue: String)` | ||
|
||
`updatePostbackConversionValue(conversionValue: Integer, coarseValue: String, lockWindow: Bool)` | ||
|
||
- For iOS version 16.1+ which supports SKAdNetwork 4.0, you can call this method as many times as you want and can make the conversion value lower or higher than the previous value. | ||
|
||
- For iOS versions lower than 16.1 supporting SKAdnetWork versions lower than 4.0, you can call this method and our SDK will automatically detect the iOS version and update `conversionValue` only. | ||
|
||
## Support | ||
If you have any issues with the plugin integration or usage, please contact us to [email protected] |
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
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
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
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