@bits-innovate/react-native-vstarcam 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -126,6 +126,20 @@ public class VStarCamModule extends ReactContextBaseJavaModule {
126
126
  releaseListenerClass = Class.forName("com.vstarcam.app_p2p_api.ClientReleaseListener");
127
127
  Log.d(TAG, "Listener interfaces loaded");
128
128
 
129
+ // Log all methods on each listener for debugging
130
+ Log.d(TAG, "ClientStateListener methods:");
131
+ for (Method m : stateListenerClass.getDeclaredMethods()) {
132
+ Log.d(TAG, " -> " + m.getName() + "(" + java.util.Arrays.toString(m.getParameterTypes()) + ")");
133
+ }
134
+ Log.d(TAG, "ClientCommandListener methods:");
135
+ for (Method m : commandListenerClass.getDeclaredMethods()) {
136
+ Log.d(TAG, " -> " + m.getName() + "(" + java.util.Arrays.toString(m.getParameterTypes()) + ")");
137
+ }
138
+ Log.d(TAG, "ClientReleaseListener methods:");
139
+ for (Method m : releaseListenerClass.getDeclaredMethods()) {
140
+ Log.d(TAG, " -> " + m.getName() + "(" + java.util.Arrays.toString(m.getParameterTypes()) + ")");
141
+ }
142
+
129
143
  // Initialize P2P system with listeners
130
144
  initializeP2P();
131
145
  } catch (ClassNotFoundException e) {
@@ -585,7 +599,7 @@ public class VStarCamModule extends ReactContextBaseJavaModule {
585
599
  @ReactMethod
586
600
  public void getSdkVersion(Promise promise) {
587
601
  WritableMap result = Arguments.createMap();
588
- result.putString("version", "1.0.11");
602
+ result.putString("version", "1.0.12");
589
603
  result.putBoolean("nativeLoaded", isNativeLibraryLoaded);
590
604
  result.putString("nativeLib", "OKSMARTPPCS");
591
605
  result.putBoolean("p2pInitialized", isP2PInitialized);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bits-innovate/react-native-vstarcam",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "React Native bridge for VStarCam P2P SDK",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",