adjust / adobe_air_sdk

This is the Adobe AIR SDK of
http://adjust.com
Other
24 stars 12 forks source link

Error #1006: value is not a function #24

Closed tontonpiero closed 7 years ago

tontonpiero commented 7 years ago

Hi, I get this error just after starting the SDK on my iPad 2:

Error #1006: value is not a function
com.adjust.sdk::Adjust$/extensionResponseDelegate at /Users/AB/Dev/adobe_air_sdk/src/com/adjust/sdk/Adjust.as:185

This error disappears for a long time after that, and then happens again (I think it only happens when the Adjust session is starting).

I'm using the latest Adjust SDK and Air 24

afjoseph commented 7 years ago

Hey @tontonpiero. Thanks for reporting the issue.

Can you paste how does your EventSuccess delegate looks line?

tontonpiero commented 7 years ago

Sure, here it is:

protected function init():void {
    var adjustConfig:AdjustConfig = new AdjustConfig(myAppToken, Environment.SANDBOX);
    adjustConfig.setLogLevel(LogLevel.VERBOSE);
    adjustConfig.setAttributionCallbackDelegate(handleAttribution);
    Adjust.start(adjustConfig);
}

protected function handleAttribution(attribution:AdjustAttribution):void {
    Log.debug("Tracker token = " + attribution.getTrackerToken());
    Log.debug("Tracker name = " + attribution.getTrackerName());
    Log.debug("Campaign = " + attribution.getCampaign());
    Log.debug("Network = " + attribution.getNetwork());
    Log.debug("Creative = " + attribution.getCreative());
    Log.debug("Adgroup = " + attribution.getAdGroup());
    Log.debug("Click label = " + attribution.getClickLabel());
}

I reverted to a previous version of Adjust SDK (4.1.0) and it works fine.

afjoseph commented 7 years ago

Yep, got it. Thanks for reporting this. It is not a critical issue and will be fixed in upcoming release which is arriving soon. Thanks again for reporting it!

afjoseph commented 7 years ago

@tontonpiero Thanks for your patience. This issue was fixed in the latest version. Please update and let us know if there is any further problems. I'll close the issue for now. Feel free to open it if necessary.