Skip to content

Commit a10881d

Browse files
authored
Merge pull request #276 from adjust/fix_README
Add min version for using getAdid and getAttribution
2 parents a673d8a + 89c3374 commit a10881d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Since the 1st of August of 2014, apps in the Google Play Store must use the [Goo
107107
1. Open the `build.gradle` file of your app and find the `dependencies` block. Add the following line:
108108

109109
```
110-
compile 'com.google.android.gms:play-services-analytics:9.2.1'
110+
compile 'com.google.android.gms:play-services-analytics:10.2.1'
111111
```
112112
113113
![][gradle_gps]
@@ -716,6 +716,8 @@ For each device with your app installed on it, adjust backend generates unique *
716716
String adid = Adjust.getAdid();
717717
```
718718

719+
**Note**: You can only make this call in the Adjust SDK v4.11.0 and above.
720+
719721
**Note**: Information about **adid** is available after app installation has been tracked by the adjust backend. From that moment on, adjust SDK has information about your device **adid** and you can access it with this method. So, **it is not possible** to access **adid** value before the SDK has been initialised and installation of your app was tracked successfully.
720722

721723
### <a id="user-attribution"></a>User attribution
@@ -726,6 +728,8 @@ Like described in [attribution callback scetion](#attribution-callback), this ca
726728
AdjustAttribution attribution = Adjust.getAttribution();
727729
```
728730

731+
**Note**: You can only make this call in the Adjust SDK v4.11.0 and above.
732+
729733
**Note**: Information about current attribution is available after app installation has been tracked by the adjust backend and attribution callback has been initially triggered. From that moment on, adjust SDK has information about your user's attribution and you can access it with this method. So, **it is not possible** to access user's attribution value before the SDK has been initialised and attribution callback has been initially triggered.
730734

731735
### <a id="push-token"></a>Push token

0 commit comments

Comments
 (0)