Last active
July 19, 2023 19:23
-
-
Save tanner-west/281980fce222a612d284f76aa4a8a07c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.visionnativemodulepoc | |
import android.util.Log | |
import com.facebook.react.bridge.ReactApplicationContext | |
import com.facebook.react.bridge.ReactContextBaseJavaModule | |
import com.facebook.react.bridge.ReactMethod | |
class RNVisionModulePOC(reactContext: ReactApplicationContext): ReactContextBaseJavaModule(reactContext) { | |
private val TAG = "VisionModule" | |
override fun getName() = "VisionModule" | |
@ReactMethod | |
fun sayHello(){ | |
Log.i(TAG, "says hello") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment