Skip to content

Commit 7812c04

Browse files
Added a step to android secure storage setup (#103)
1 parent 91c18d0 commit 7812c04

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sdk/unity/onboard/recovering-sessions.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ On Web builds, we leverage [IndexedDB](https://developer.mozilla.org/en-US/docs/
3333

3434
On Android builds, we leverage the [Android Keystore](https://developer.android.com/privacy-and-security/keystore).
3535

36+
The first step is to import the `AndroidKeyBridge.java` plugin into your Assets folder. This is most easily done via Samples in the package manager - simply import the sample titled `Android Secure Storage`.
37+
3638
Our Keystore plugin for Unity (included in the SDK) requires a Custom Main Gradle Template. Please navigate to your Project Settings, then under `Player > Publishing Settings` enable `Custom Main Gradle Template`. This will create a file `Assets/Plugins/Android/mainTemplate.gradle` (or similar, the editor will show you the path) if you don't have one already. Here is an example `mainTemplate.gradle` file; please copy/paste this (or incorporate into your existing file).
3739

3840
```

0 commit comments

Comments
 (0)