Skip to content

Commit

Permalink
MOB-1417 #comment updated sdks and added warning required methods to …
Browse files Browse the repository at this point in the history
…android
  • Loading branch information
shachartransmit committed Dec 6, 2024
1 parent 6d11db6 commit 0318e25
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ dependencies {
// For < 0.71, this will be from the local maven repo
// For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
//noinspection GradleDynamicVersion
implementation "com.ts.sdk:identityorchestration:1.0.+"
implementation "com.ts.sdk:identityorchestration:1.0.22"
implementation "com.facebook.react:react-native:+"
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ class TsIdentityOrchestrationModule(private val reactContext: ReactApplicationCo
return NAME
}

@ReactMethod
fun addListener(type: String?) {
// Keep: Required for RN built in Event Emitter Calls.
}

@ReactMethod
fun removeListeners(type: Int?) {
// Keep: Required for RN built in Event Emitter Calls.
}

@ReactMethod
fun initializeSDK(promise: Promise) {
promise.reject(
Expand Down
2 changes: 0 additions & 2 deletions example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ buildscript {
minSdkVersion = 23
compileSdkVersion = 33
targetSdkVersion = 33
// ndkVersion = "26.1.10909125"
// kotlinVersion = "1.9.22"
ndkVersion = "25.1.8937393"
kotlinVersion = "1.8.0"
}
Expand Down
2 changes: 1 addition & 1 deletion react-native-ts-identity-orchestration.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => min_ios_version_supported }
s.source = { :git => "https://github.com/TransmitSecurity/react-native-ts-identity-orchestration.git.git", :tag => "#{s.version}" }

s.dependency 'IdentityOrchestration', '~> 1.1.3'
s.dependency 'IdentityOrchestration', '~> 1.1.10'
s.source_files = "ios/**/*.{h,m,mm,swift}"

# Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
Expand Down

0 comments on commit 0318e25

Please sign in to comment.