Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit a5d4e3ba authored by David Luhmer's avatar David Luhmer Committed by GitHub
Browse files

Fix #34

parent d03f2c02
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -13,17 +13,17 @@ This library allows you to use accounts as well as the network stack provided by
1) Add this library to your project

```gradle
dependencies {
    implementation "com.github.nextcloud:android-SingleSignOn:master-SNAPSHOT"
repositories {
    ...
    maven { url "https://jitpack.io" }

}
```
2) Add the following permission to your `AndroidManifest.xml`

```xml
<uses-permission android:name="com.nextcloud.android.sso"/>
dependencies {
    implementation "com.github.nextcloud:android-SingleSignOn:0.1.2"
}
```

3) To choose an account, include the following code in your login dialog:
2) To choose an account, include the following code in your login dialog:

```java
private void openAccountChooser() {