Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Your "Full Code" example isn't even full #13

Open
cihadturhan opened this issue Apr 21, 2024 · 2 comments
Open

Your "Full Code" example isn't even full #13

cihadturhan opened this issue Apr 21, 2024 · 2 comments

Comments

@cihadturhan
Copy link

cihadturhan commented Apr 21, 2024

The documentation lacks of clarity and I'm confused in some parts.

https://github.com/AppsFlyerSDK/appsflyer-unity-purchase-connector/blob/master/docs/purchaseConnectorUnity.md#full-code-example

There is no class definition in the code... class AppsFlyerConnector : MonoBehaviour
And how does it collect IAP data automatically or should I add a conversion event in didReceivePurchaseRevenueValidationInfo?

Do I need to add compiler flag for iOS an Android?

#if UNITY_ANDROID
AppsFlyerPurchaseConnector.init(this, AppsFlyerConnector.Store.GOOGLE);
#else 
AppsFlyerPurchaseConnector.init(this, AppsFlyerConnector.Store.APPLE);
#endif
@minnleee
Copy link

minnleee commented Jun 26, 2024

do you have any workaround, @cihadturhan ? I follow up the example, but still dont get log on event didReceivePurchaseRevenueValidationInfo.

Do you think we need to implement the interface: IAppsFlyerPurchaseValidation?

@minnleee
Copy link

minnleee commented Jun 27, 2024

I managed to run it. You need to implement IAppsFlyerPurchaseValidation in script: AppsFlyerObjectScript and use the script to init AppsFlyerPurchaseConnector. I guess AF call this in low level code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants