appsflyer-unity-plugin icon indicating copy to clipboard operation
appsflyer-unity-plugin copied to clipboard

AppsFlyerSDK.IAppsFlyerNativeBridge.attributeAndOpenStore marked as iOS only, after 6.6

Open IoannisFMG opened this issue 2 years ago • 4 comments

Hi! We recently had to update the appsflyer SDK version from 6.4 to 6.8 and I see that the AppsFlyerSDK.IAppsFlyerNativeBridge.attributeAndOpenStore stopped working on Android devices. Searching the code revealed that the call has been marked as iOS only in the Android Bridge file.

I have checked the Android and Unity plugin changelogs and I saw no reference or reason this might have happened. I also saw that the native code that actually handles that is still in the java file, only the bridge doesn't call it.

Was this marked as iOS only erroneously? Did something change without being documented?

IoannisFMG avatar Sep 20 '22 08:09 IoannisFMG

Hi,

Thank you for reaching out! It seems that it is indeed an error, we will investigate it. If the error is confirmed, we will fix it and include it in one of our next releases. In the meantime, please reach out to our [email protected]. They will be able to help you with relevant questions about this matter.

af-margot avatar Sep 20 '22 13:09 af-margot

The most easy way to fix this, as far as I see, is to just call the other attributeAndOpenStore from the exposed one.

public void attributeAndOpenStore(string appID, string campaign, Dictionary<string, string> userParams, MonoBehaviour gameObject)
{
    attributeAndOpenStore(appID, campaign, userParams);
}

Other ways would require refactoring and/or optional parameters.

IoannisFMG avatar Sep 21 '22 07:09 IoannisFMG

Hi @IoannisFMG,

You can implement this solution in the meantime until we are releasing the next version.

af-margot avatar Sep 22 '22 09:09 af-margot

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Oct 23 '22 09:10 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Nov 13 '22 09:11 github-actions[bot]