Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

IoannisFMGcommented, Sep 21, 2022

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.

github-actions[bot]commented, Nov 13, 2022

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

AppsFlyer iOS SDK release notes – Help Center
A new AppsFlyer domain name in the URL used by the SDK to send requests to AppsFlyer servers. Changed behaviour of the setHost...
Read more >
Basic SDK integration guide – Help Center
Basic SDK integration guide ... At a glance: Work with your mobile or CTV app developer to integrate and install the SDK into...
Read more >
AppsFlyer attribution model – Help Center
At a glance: AppsFlyer determines the media source motivating a user to install or re-engage with an app and attributes the user action......
Read more >
Testing the SDK integration for marketers
At a glance: Test your Android or iOS app integration with AppsFlyer. ... installs, in-app events, and retargeting are recorded and attributed correctly....
Read more >
Cross-promotion attribution for developers
Implementing cross-promotion attribution in the SDK ... Use the following code to attribute the click and launch the app store's app page.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found