Skip to content

Commit

Permalink
Merge pull request #19 from AppsFlyerSDK/releases/2.x.x/2.0.x/2.0.4-rc1
Browse files Browse the repository at this point in the history
v2.0.4
  • Loading branch information
af-vero authored Oct 21, 2024
2 parents 698e367 + 0df7fdb commit 9102d62
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Assets/AppsFlyer/AppsFlyerPurchaseConnector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace AppsFlyerConnector

public class AppsFlyerPurchaseConnector : MonoBehaviour {

public static readonly string kAppsFlyerPurchaseConnectorVersion = "2.0.3";
public static readonly string kAppsFlyerPurchaseConnectorVersion = "2.0.4";

#if UNITY_ANDROID && !UNITY_EDITOR
private static AndroidJavaClass appsFlyerAndroidConnector = new AndroidJavaClass("com.appsflyer.unity.afunitypurchaseconnector.AppsFlyerAndroidWrapper");
Expand Down
4 changes: 4 additions & 0 deletions Assets/AppsFlyer/Plugins/iOS/AppsFlyerPurchaseiOSWrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
// Unity-iPhone


#if __has_include("AFUnityUtils.mm")
#import "AFUnityUtils.mm"
#else
#import "../../../appsflyer-unity-plugin/Plugins/iOS/AFUnityUtils.mm"
#endif
#import "UnityAppController.h"
#if __has_include(<PurchaseConnector/PurchaseConnector.h>)
#import <PurchaseConnector/PurchaseConnector.h>
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Versions
## v2.0.4
* Fix 'missing AFUnityUtils.mm' when install UnitySDK by Unity Package Manager

## v2.0.3
* Update iOS PurchaseConnector to 6.15.2

Expand Down
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions deploy/build_appsflyer_unity_purchase-connector_plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ echo "Start build for appsflyer-unity-purchase-connector.unitypackage"

DEPLOY_PATH=output
UNITY_PATH="/Applications/Unity/Unity.app/Contents/MacOS/Unity"
PACKAGE_NAME="appsflyer-unity-purchase-connector-2.0.3.unitypackage"
PACKAGE_NAME="appsflyer-unity-purchase-connector-2.0.4.unitypackage"
mkdir -p $DEPLOY_PATH

#move external dependency manager
Expand All @@ -23,7 +23,7 @@ mv external-dependency-manager-1.2.144.unitypackage ..
Assets \
$PWD/$DEPLOY_PATH/$PACKAGE_NAME \
-quit \
&& echo "Package exported successfully to output/appsflyer-unity-purchase-connector-2.0.3.unitypackage" \
&& echo "Package exported successfully to output/appsflyer-unity-purchase-connector-2.0.4.unitypackage" \
|| echo "Failed to export package. See create_unity_core.log for more info"

if [ "$1" == "-p" ]; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ echo "Start build for appsflyer-unity-purchase-connector.unitypackage - Strict M

DEPLOY_PATH=output
UNITY_PATH="/Applications/Unity/Unity.app/Contents/MacOS/Unity"
PACKAGE_NAME="appsflyer-unity-purchase-connector-strict-mode-2.0.3.unitypackage"
PACKAGE_NAME="appsflyer-unity-purchase-connector-strict-mode-2.0.4.unitypackage"
mkdir -p $DEPLOY_PATH

#move external dependency manager
Expand All @@ -27,7 +27,7 @@ echo "Changing PurchaseConnector to Strict Mode. Done."
Assets \
$PWD/$DEPLOY_PATH/$PACKAGE_NAME \
-quit \
&& echo "Package exported successfully to output/appsflyer-unity-purchase-connector-strict-mode-2.0.3.unitypackage" \
&& echo "Package exported successfully to output/appsflyer-unity-purchase-connector-strict-mode-2.0.4.unitypackage" \
|| echo "Failed to export package. See create_unity_core.log for more info"

if [ "$1" == "-p" ]; then
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 9102d62

Please sign in to comment.