diff --git a/README.md b/README.md index 584a1ef..511837f 100644 --- a/README.md +++ b/README.md @@ -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 -> + + }) } } diff --git a/android-sdk.aar b/android-sdk.aar index a4ad153..ec52f75 100644 Binary files a/android-sdk.aar and b/android-sdk.aar differ diff --git a/jitpack.yml b/jitpack.yml index f2c3409..d85fb54 100644 --- a/jitpack.yml +++ b/jitpack.yml @@ -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: diff --git a/pom.xml b/pom.xml index fac3ecc..4d2dfc2 100644 --- a/pom.xml +++ b/pom.xml @@ -26,19 +26,18 @@ androidx.room room-runtime - 2.2.5 + 2.3.0 runtime androidx.room room-ktx - 2.2.5 + 2.3.0 runtime org.jetbrains.kotlinx kotlinx-coroutines-android - 1.4.2 runtime