-
Notifications
You must be signed in to change notification settings - Fork 110
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
AppsFlyerConversionListener not triggered. #10
Comments
Hey @raman-branavitski! As mentioned in the doc you refer to, please make sure to pass Activity instance as a context argument and not Application. |
Yes, that's a problem. In documentation there isn't any information that I should pass Activity context. Otherwise conversationListener doesn't work. |
@raman-branavitski here is the section with the relevant instructions. Please let us know if anything is yet not clear |
Ok, thanks. The problem is that I don't call |
To summarize. I can call |
@raman-branavitski Thanks for elaborating, understand the challenge more clearly now. You are correct, to make sure late initialization is done properly, you should pass Activity class as the context argument. |
Thanks Vitaly |
Hi, found an issue. According to documentation
startTracking
can be postponed until you receive user consent due to GDPR or CCPA requirements, etc.(https://support.appsflyer.com/hc/en-us/articles/207032126-Android-SDK-integration-for-developers#integration-34-delaying-initializing-the-sdk)In case of startTracking will be called with Application context after MainActivity.onResume() AppsFlyerConversionListener wouldn't be called until activity's onResume() will be triggered again.
The text was updated successfully, but these errors were encountered: