Comments (2)
Hi @Mustafax06,
adid
is a backend-side generated identifier which Adjust SDK gets only after it communicates for the first time ever with our backend and then gets this back in the answer we receive from the backend. When Adjust SDK is launched in the app for the first time ever, it sends a package we call a session
to the backend. After backend responds to it, this is the first moment in which SDK gets the adid
value, caches it locally and as of that moment on, provides it back if Adjust.getAdid()
getter is called. We still do have a (nowadays) misfortunate implementation of this getter which is synchronous and will provide you with null
back until SDK obtains the adid
value, but this will change with the upcoming major SDK v5 release.
If one would want to capture the moment in which SDK is getting in possession of adid
for the first time ever without the need to loop the "poll the getter -> get null
-> retry" sequence, way to do that would be to implement session tracking callbacks. These callbacks would get pinged when session sending attempt succeeds / fails and if you'd check AdjustSessionSuccess
and AdjustSessionFailure
instances, they should contain the field which contains the adid
value.
So I'd advise you maybe to give these callbacks a shot and double check if that works for your use case. Feel free to ping in case you have any further questions.
from unity_sdk.
Hello there @uerceg,
Can you please make sure that the SessionSuccessCallback
and the SessionFailureCallback
are working? because they dont seem to be invoked at all despite setting the delegates, just a simple log statement isnt even excecuted. which makes it difficult to understand when the adId is being cached
from unity_sdk.
Related Issues (20)
- [Question] (Deeplink)Android URL Scheme Definition Not Very Well HOT 4
- [Question] INSTALL_PACKAGES permission required always? HOT 2
- HTTP Client Error with status code: 500
- Build error on iOS after upgrading to 4.33.1 HOT 5
- Android Build failed after intalling Firebase Cloud Messaging Unity Sdk. HOT 1
- ANR caused by SDK HOT 1
- Attribution Data Issue on iOS
- AddURISchemes should not check for ://
- Adding the Adjust Package with scoped registries
- Ambiguous overloads found for onGoogleAdIdRead HOT 2
- Request for Unity SDK update to include iOS SDK v4.38.0 HOT 2
- deactivateSKAdNetworkHandling set it is true HOT 1
- Xcode Build Fail l(d: Undefined symbols: , error: linker command failed with exit code 1 (use -v to see invocation)) HOT 5
- ATT Popup Not Displayed HOT 12
- java.lang.ClassNotFoundException: com.adjust.sdk.Adjust HOT 1
- iOS Custom Link attribution not working properly when ATT tracking is authorized.
- [QUESTION] Usage Of Dynamic Link
- Crash on Android after updating the SDK HOT 1
- V5 Unity Package Manager support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unity_sdk.