chore: initial commit
Some checks failed
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / build-library (push) Has been cancelled
CI / build-android (push) Has been cancelled
CI / build-ios (push) Has been cancelled

This commit is contained in:
2025-12-16 14:54:44 +05:30
commit 7681e46449
81 changed files with 3916 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
package com.weightscalebridge
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.module.annotations.ReactModule
@ReactModule(name = WeightScaleBridgeModule.NAME)
class WeightScaleBridgeModule(reactContext: ReactApplicationContext) :
NativeWeightScaleBridgeSpec(reactContext) {
override fun getName(): String {
return NAME
}
// Example method
// See https://reactnative.dev/docs/native-modules-android
override fun multiply(a: Double, b: Double): Double {
return a * b
}
companion object {
const val NAME = "WeightScaleBridge"
}
}