Skip to content

Commit

Permalink
pull updates from ios n android
Browse files Browse the repository at this point in the history
  • Loading branch information
hasismaeel5 committed Oct 6, 2021
1 parent 7fb4bfd commit fdc3ce4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ repositories {

dependencies {
//noinspection GradleDynamicVersion
implementation 'com.github.voiceittech:VoiceItApi2AndroidSDK:2.2.5'
implementation 'com.github.voiceittech:VoiceItApi2AndroidSDK:2.3.0'
implementation 'com.facebook.react:react-native:+' // From node_modules
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public void onFailure(int statusCode, Header[] headers, Throwable throwable, JSO
}

@ReactMethod
public void encapsulatedFaceEnrollment(String userId,final Callback successCallback, final Callback failureCallback){
public void encapsulatedFaceEnrollment(String userId, String contentLanguage, final Callback successCallback, final Callback failureCallback){
myVoiceIt.encapsulatedFaceEnrollment(getCurrentActivity(), userId, new JsonHttpResponseHandler(){
@Override
public void onSuccess(int statusCode, Header[] headers, JSONObject response) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-native-voiceit",
"title": "React Native Voiceit",
"version": "1.2.6",
"version": "1.3.0",
"description": "Voiceit's React Native SDK",
"main": "index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion react-native-voiceit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Pod::Spec.new do |s|
s.requires_arc = true

s.dependency "React"
s.dependency "VoiceIt2-IosSDK", '~> 2.2.8'
s.dependency "VoiceIt2-IosSDK", '~> 2.3.0'
# ...
# s.dependency "..."
end

0 comments on commit fdc3ce4

Please sign in to comment.