Skip to content

Commit

Permalink
chore: add multiply function on android
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecornejo1 committed Jun 19, 2024
1 parent 91f88c6 commit fb81a96
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions android/src/main/java/com/iovation/IovationModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ class IovationModule(reactContext: ReactApplicationContext) :
FraudForceManager.refresh(context)
}

@ReactMethod
fun multiply(a: Double, b: Double, promise: Promise) {
promise.resolve(a * b)
}

@ReactMethod
fun getBlackbox(promise: Promise) {
val blackbox = FraudForceManager.getBlackbox(context)
Expand Down

0 comments on commit fb81a96

Please sign in to comment.