change(react-native): android native method to get sessionId

This commit is contained in:
Shekar Siri 2024-12-02 16:21:45 +01:00
parent 77273b0df9
commit 67a3494804

View file

@ -94,6 +94,11 @@ class ReactNativeModule(reactContext: ReactApplicationContext) :
OpenReplay.userAnonymousID(userID)
}
@ReactMethod
fun getSessionId(): String {
return OpenReplay.getSessionId()
}
@ReactMethod
fun networkRequest(
url: String,