@@ -11,22 +11,22 @@ DirectAppUpdate is an open-source in-app update library using Jetpack Compose to
11
11
12
12
### Library Setup
13
13
14
- #### In your ` settings.gradle `
14
+ #### In your ` settings.gradle.ktx `
15
15
``` gradle
16
16
dependencyResolutionManagement {
17
17
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
18
18
repositories {
19
19
mavenCentral()
20
- maven { url ' https://jitpack.io' }
20
+ maven(" https://jitpack.io")
21
21
}
22
22
}
23
23
```
24
24
25
- #### In your project ` build.gradle `
25
+ #### In your project ` build.gradle.ktx `
26
26
[ ![ ] ( https://jitpack.io/v/Micoder-dev/DirectAppUpdate.svg )] ( https://jitpack.io/#Micoder-dev/DirectAppUpdate )
27
27
``` gradle
28
28
dependencies {
29
- implementation ' com.github.Micoder-dev:DirectAppUpdate:Tag'
29
+ implementation(" com.github.Micoder-dev:DirectAppUpdate:Tag")
30
30
}
31
31
```
32
32
@@ -37,7 +37,7 @@ Create a configuration file for your app updates:
37
37
``` json
38
38
{
39
39
"apkFileName" : " new_release.apk" ,
40
- "appName" : " CTN-IPTV " ,
40
+ "appName" : " My App " ,
41
41
"downloadUrl" : " https://example/new_release.apk" ,
42
42
"immediateUpdate" : false ,
43
43
"releaseNotes" : " - Exciting Update\n - Bug Fixes" ,
@@ -51,7 +51,7 @@ Create a configuration file for your app updates:
51
51
### 1st Way: Simple Implementation using Jetpack Compose
52
52
53
53
``` kotlin
54
- val configUrl = " https://cloud-multiapp-default-rtdb.firebaseio.com/ctn-iptv .json"
54
+ val configUrl = " https://example/micoder .json"
55
55
DirectAppUpdate (activity = this @MainActivity, configUrl = configUrl, appIcon = R .mipmap.ic_launcher)
56
56
```
57
57
0 commit comments