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

Commit ffd4418f authored by Robert Wiebe's avatar Robert Wiebe
Browse files

Update README.md to reflect version 0.4.0

parent 20538408
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -20,7 +20,6 @@ repositories {
}

dependencies {
	implementation 'com.google.code.gson:gson:2.8.5'
	implementation "com.github.nextcloud:Android-SingleSignOn:0.4.0"
}
```
@@ -180,7 +179,7 @@ AccountImporter.getSingleSignOnAccount(context, accountName);
```

    
   You can use this callback to subscribe to errors that might occur during the initialization of the API. You can start making requests to the API as soon as you instantiated the `NextcloudAPI` object. For a minimal example to get started (without retrofit) take a look at section 4.2. The callback method `onConnected` will be called once the connection to the files app is established. You can start making calls to the api before that callback is fired as the library will queue your calls until the connection is established.
   You can use this callback to subscribe to errors that might occur during the initialization of the API. You can start making requests to the API as soon as you instantiated the `NextcloudAPI` object. For a minimal example to get started (without retrofit) take a look at section 5.2. The callback method `onConnected` will be called once the connection to the files app is established. You can start making calls to the api before that callback is fired as the library will queue your calls until the connection is established.

   5.1) **Using Retrofit**

+1 −0
Original line number Diff line number Diff line
@@ -51,6 +51,7 @@ android {
}

dependencies {
    implementation 'com.google.code.gson:gson:2.8.5'
    implementation "androidx.appcompat:appcompat:1.0.2"
    implementation 'androidx.annotation:annotation:1.0.2'
    implementation 'androidx.core:core:1.0.2'