Skip to content

Commit

Permalink
Latest Version 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
raj-squarebits authored Nov 10, 2022
1 parent 50102ce commit 313b2d0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ Initialise the SDK in your application class and add the API_KEY from DevNagri.
val arrays = R.array::class.java.fields.map { it.name }
val plurals = R.plurals::class.java.fields.map { it.name }
// passing arrays and plurals in init method is optional here, pass them only if defined in strings.xml file
DevNagriTranslationSdk.init(applicationContext, "API_KEY" ,syncTime, strings, arrays, plurals)
// passing arrays and plurals in init method is optional here, pass them only if defined in strings.xml file
DevNagriTranslationSdk.init(applicationContext, "API_KEY" ,syncTime, strings, arrays, plurals, initListener = {isInitialized, error ->
})
}
}

Expand Down
Binary file modified android-sdk.aar
Binary file not shown.
2 changes: 1 addition & 1 deletion jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
install:
- FILE="-Dfile=android-sdk.aar"
- mvn install:install-file $FILE -DgroupId=com.github.DevnagriAI -DartifactId=android-sdk -Dversion=1.0.5 -Dpackaging=aar -DpomFile=pom.xml
- mvn install:install-file $FILE -DgroupId=com.github.DevnagriAI -DartifactId=android-sdk -Dversion=1.0.6 -Dpackaging=aar -DpomFile=pom.xml
jdk:
- openjdk11
before_install:
Expand Down
5 changes: 2 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,18 @@
<dependency>
<groupId>androidx.room</groupId>
<artifactId>room-runtime</artifactId>
<version>2.2.5</version>
<version>2.3.0</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>androidx.room</groupId>
<artifactId>room-ktx</artifactId>
<version>2.2.5</version>
<version>2.3.0</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines-android</artifactId>
<version>1.4.2</version>
<scope>runtime</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit 313b2d0

Please sign in to comment.