Skip to content

Commit c39becd

Browse files
committed
Plugin docs
1 parent ce2cdfd commit c39becd

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

doc/plugin/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Plugins
2+
3+
The plugin mechanism allows to add optional functionality to the Adjust SDK without changing the current implementation.
4+
Just add one of the plugins from the `plugin` folder to `Adjust/src/com/adjust/sdk/plugin`
5+
and it's functionality will be automatically added.

doc/plugin/Vulcun.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Vulcun
2+
3+
To add the `Vulcun` plugin, first move the file `plugin/Vulcun.java` to the folder `Adjust/src/com/adjust/sdk/plugin/`.
4+
5+
The `Vulcun` plugin allows to collect the sha-1 of the device's primary email. To access this information, you need to add the following permission to the `AndroidManifest.xml` of your app:
6+
7+
````
8+
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
9+
````
10+
Optionally, you can add a string to be concatenated with the email before is hashed with the `sha-1` algorithm. Add the string in a `meta-data` tag inside the `application` tag, as follows:
11+
12+
```
13+
<meta-data android:name="AdjustVulcunSalt" android:value="vulcun salt example" />
14+
```

0 commit comments

Comments
 (0)