Skip to content

Commit 1351ead

Browse files
committed
Add documentation for pre-installed apps
1 parent 2c8b721 commit 1351ead

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

doc/preinstalled.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## Using AdjustIo for pre-installed apps
2+
3+
If you want to use the AdjustIo SDK to recognize users that found your app pre-installed on their device, follow these steps.
4+
5+
1. Integrate AdjustIo as described in our [README].
6+
2. Create a new tracker in your [dashboard].
7+
3. Open your `AndroidManifest.xml` and add the following line to your AdjustIo settings:
8+
9+
```xml
10+
<meta-data android:name="AdjustIoDefaultTracker" android:value="{Tracker}" />
11+
```
12+
13+
Replace `{Tracker}` with the tracker you created in step 2.
14+
15+
4. Build and run your app. You should see a line like the following in LogCat:
16+
17+
```
18+
Default tracker: 'abc123'
19+
```
20+
21+
22+
[README]: ../README.md
23+
[dashboard]: http://adjust.io

0 commit comments

Comments
 (0)