Skip to content

Commit

Permalink
Version 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
raj-squarebits authored Dec 14, 2022
1 parent 7022f67 commit 3f42e5d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Add the below dependency in your app build.gradle file:

...
implementation ('com.github.DevnagriAI:android-java-sdk:1.0.8@aar') { transitive(true) }
implementation ('com.github.DevnagriAI:android-java-sdk:1.1.0@aar') { transitive(true) }
}
Expand All @@ -49,13 +49,12 @@ Initialise the SDK in your application class and add the API_KEY from DevNagri.
Field[] strings = R.string.class.getFields();
Field[] arrays = R.array.class.getFields();
Field[] styles = R.style.class.getFields();
Field[] plurals = null;
// passing arrays and plurals in init method is optional here, pass them only if defined in strings.xml file
try {
devNagriTranslationSdk = new DevNagriTranslationSdk();
devNagriTranslationSdk.init(getApplicationContext(), API_KEY, sync_Time, strings, arrays, plurals,styles, new ResponseListener() {
devNagriTranslationSdk.init(getApplicationContext(), API_KEY, sync_Time, strings, arrays, plurals, new ResponseListener() {
@Override
public void responseCallback(Boolean isCompleted, String error) {
Log.d(TAG, "DevNagri Sdk initialized");
Expand Down
Binary file modified android-java-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-java-sdk.aar"
- mvn install:install-file $FILE -DgroupId=com.github.DevnagriAI -DartifactId=android-java-sdk -Dversion=1.0.8 -Dpackaging=aar -DpomFile=pom.xml
- mvn install:install-file $FILE -DgroupId=com.github.DevnagriAI -DartifactId=android-java-sdk -Dversion=1.1.0 -Dpackaging=aar -DpomFile=pom.xml
jdk:
- openjdk11
before_install:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.DevnagriAI</groupId>
<artifactId>android-java-sdk</artifactId>
<version>1.0.8</version>
<version>1.1.0</version>
<!-- <packaging>aar</packaging>-->
<dependencies>
<dependency>
Expand Down

0 comments on commit 3f42e5d

Please sign in to comment.