Skip to content

Commit

Permalink
v6.15.1
Browse files Browse the repository at this point in the history
  • Loading branch information
af-vero committed Aug 22, 2024
1 parent 3d5d1b2 commit e66c6e6
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 6 deletions.
11 changes: 11 additions & 0 deletions Assets/AppsFlyer/AFAdRevenueData.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

### <a id="plugin-build-for"> This plugin is built for

- Android AppsFlyer SDK v6.14.2
- iOS AppsFlyer SDK v6.14.5
- Android AppsFlyer SDK v6.15.0
- iOS AppsFlyer SDK v6.15.1

---
### <a id="init-sdk-deeplink"> AD_ID permission for Android
Expand Down
Binary file removed appsflyer-unity-plugin-6.14.5.unitypackage
Binary file not shown.
Binary file added appsflyer-unity-plugin-6.15.1.unitypackage
Binary file not shown.
4 changes: 2 additions & 2 deletions deploy/build_unity_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ echo "Start Build for appsflyer-unity-plugin.unitypackage"

DEPLOY_PATH=outputs
UNITY_PATH="/Applications/Unity/Unity.app/Contents/MacOS/Unity"
PACKAGE_NAME="appsflyer-unity-plugin-6.14.5.unitypackage"
PACKAGE_NAME="appsflyer-unity-plugin-6.15.1.unitypackage"
mkdir -p $DEPLOY_PATH

#move external dependency manager
Expand All @@ -23,7 +23,7 @@ mv external-dependency-manager-1.2.177.unitypackage ..
Assets \
$PWD/$DEPLOY_PATH/$PACKAGE_NAME \
-quit \
&& echo "package exported successfully to outputs/appsflyer-unity-plugin-6.14.5.unitypackage" \
&& echo "package exported successfully to outputs/appsflyer-unity-plugin-6.15.1.unitypackage" \
|| echo "Failed to export package. See create_unity_core.log for more info."


Expand Down
4 changes: 2 additions & 2 deletions deploy/strict_mode_build_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ echo "Start Build for appsflyer-unity-plugin.unitypackage. Strict Mode."

DEPLOY_PATH=outputs
UNITY_PATH="/Applications/Unity/Unity.app/Contents/MacOS/Unity"
PACKAGE_NAME="appsflyer-unity-plugin-strict-mode-6.14.5.unitypackage"
PACKAGE_NAME="appsflyer-unity-plugin-strict-mode-6.15.1.unitypackage"
mkdir -p $DEPLOY_PATH

#move external dependency manager
Expand Down Expand Up @@ -37,7 +37,7 @@ echo "Commenting out functions. Done."
Assets \
$PWD/$DEPLOY_PATH/$PACKAGE_NAME \
-quit \
&& echo "package exported successfully to outputs/appsflyer-unity-plugin-strict-mode-6.14.5.unitypackage" \
&& echo "package exported successfully to outputs/appsflyer-unity-plugin-strict-mode-6.15.1.unitypackage" \
|| echo "Failed to export package. See create_unity_core.log for more info."


Expand Down
23 changes: 23 additions & 0 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ The list of available methods for this plugin is described below.
- [setPhoneNumber](#setphonenumber)
- [getConversionData](#getconversiondata)
- [attributeAndOpenStore](#attributeandopenstore)
- [logAdRevenue](#logAdRevenue)
- [recordCrossPromoteImpression](#recordcrosspromoteimpression)
- [generateUserInviteLink](#generateuserinvitelink)
- [setSharingFilterForAllPartners *Deprecated*](#setsharingfilterforallpartners-deprecated)
Expand Down Expand Up @@ -612,6 +613,28 @@ AppsFlyer.attributeAndOpenStore("123456789", "test campaign", parameters, this);

---

### logAdRevenue
**`void logAdRevenue(AFAdRevenueData adRevenueData, Dictionary<string, string> additionalParameters)`**

Logs ad revenue data along with additional parameters if provided.

| parameter | type | description |
| ------------------- |----------------------------- |-----------------------------------------------------|
| `adRevenueData` | `AFAdRevenueData` | Instance of AFAdRevenueData containing ad revenue information |
| `additionalParameters` | `Dictionary<string, string> `| An optional map of additional parameters to be logged with ad revenue data |

*Example:*

```c#
Dictionary<string, string> parameters = new Dictionary<string, string>();
parameters.Add("value1", "5");
parameters.Add(AdRevenueScheme.COUNTRY, "USA");
var logRevenue = new AFAdRevenueData("monetizationNetworkEx", MediationNetwork.GoogleAdMob, "USD", 0.99);
AppsFlyer.logAdRevenue(logRevenue, parameters);
```

---

### recordCrossPromoteImpression
**`void recordCrossPromoteImpression(string appID, string campaign);`**

Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit e66c6e6

Please sign in to comment.