10000 Merge remote-tracking branch 'origin/master' · Micoder-dev/DirectAppUpdate@a94a674 · GitHub
[go: up one dir, main page]

Skip to content

Commit a94a674

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 0ab81a2 + 5d6c674 commit a94a674

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ DirectAppUpdate is an open-source in-app update library using Jetpack Compose to
1111

1212
### Library Setup
1313

14-
#### In your `settings.gradle`
14+
#### In your `settings.gradle.ktx`
1515
```gradle
1616
dependencyResolutionManagement {
1717
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
1818
repositories {
1919
mavenCentral()
20-
maven { url 'https://jitpack.io' }
20+
maven("https://jitpack.io")
2121
}
2222
}
2323
```
2424

25-
#### In your project `build.gradle`
25+
#### In your project `build.gradle.ktx`
2626
[![](https://jitpack.io/v/Micoder-dev/DirectAppUpdate.svg)](https://jitpack.io/#Micoder-dev/DirectAppUpdate)
2727
```gradle
2828
dependencies {
29-
implementation 'com.github.Micoder-dev:DirectAppUpdate:Tag'
29+
implementation("com.github.Micoder-dev:DirectAppUpdate:Tag")
3030
}
3131
```
3232

@@ -37,7 +37,7 @@ Create a configuration file for your app updates:
3737
```json
3838
{
3939
"apkFileName": "new_release.apk",
40-
"appName": "CTN-IPTV",
40+
"appName": "My App",
4141
"downloadUrl": "https://example/new_release.apk",
4242
"immediateUpdate": false,
4343
"releaseNotes": "- Exciting Update\n - Bug Fixes",
@@ -51,7 +51,7 @@ Create a configuration file for your app updates:
5151
### 1st Way: Simple Implementation using Jetpack Compose
5252

5353
```kotlin
54-
val configUrl = "https://cloud-multiapp-default-rtdb.firebaseio.com/ctn-iptv.json"
54+
val configUrl = "https://example/micoder.json"
5555
DirectAppUpdate(activity = this@MainActivity, configUrl = configUrl, appIcon = R.mipmap.ic_launcher)
5656
```
5757

0 commit comments

Comments
 (0)
0