omikit-plugin 4.1.3 → 4.1.4

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.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  The [omikit-plugin](https://www.npmjs.com/package/omikit-plugin) enables VoIP/SIP calling via the OMICALL platform with support for both Old and **New Architecture** (TurboModules + Fabric).
4
4
 
5
- **Status:** Active maintenance | **Version:** 4.1.3
5
+ **Status:** Active maintenance | **Version:** 4.1.4
6
6
 
7
7
  ---
8
8
 
@@ -46,7 +46,7 @@ The [omikit-plugin](https://www.npmjs.com/package/omikit-plugin) enables VoIP/SI
46
46
 
47
47
  | Platform | SDK | Version |
48
48
  |----------|-----|---------|
49
- | Android | OMIKIT | 2.6.8 |
49
+ | Android | OMIKIT | 2.6.9 |
50
50
  | iOS | OmiKit | 1.11.9 |
51
51
 
52
52
  ### Platform Requirements
@@ -65,7 +65,7 @@ dependencies {
65
65
  // OMISDK
66
66
  implementation("androidx.work:work-runtime:2.8.1")
67
67
  implementation "androidx.security:security-crypto:1.1.0-alpha06"
68
- api "io.omicrm.vihat:omi-sdk:2.6.8"
68
+ api "io.omicrm.vihat:omi-sdk:2.6.9"
69
69
 
70
70
  // React Native — resolved from consumer's node_modules
71
71
  implementation "com.facebook.react:react-native:+"
@@ -1153,21 +1153,12 @@ class OmikitPluginModule(reactContext: ReactApplicationContext?) :
1153
1153
 
1154
1154
  @ReactMethod
1155
1155
  fun getCurrentUser(promise: Promise) {
1156
- Log.d("OmikitPlugin", "📍 getCurrentUser called")
1157
- Log.d("OmikitPlugin", "📍 reactApplicationContext is null? ${reactApplicationContext == null}")
1158
1156
  mainScope.launch {
1159
1157
  var callResult: Any? = null
1160
1158
  withContext(Dispatchers.Default) {
1161
1159
  try {
1162
1160
  val omiClient = OmiClient.getInstance(reactApplicationContext!!)
1163
- Log.d("OmikitPlugin", "📍 OmiClient instance: $omiClient")
1164
1161
  callResult = omiClient.getCurrentUser()
1165
- Log.d("OmikitPlugin", "📍 getCurrentUser raw result: $callResult")
1166
- Log.d("OmikitPlugin", "📍 result type: ${callResult?.javaClass?.name ?: "null"}")
1167
- if (callResult is Map<*, *>) {
1168
- Log.d("OmikitPlugin", "📍 result keys: ${(callResult as Map<*, *>).keys}")
1169
- Log.d("OmikitPlugin", "📍 result values: ${(callResult as Map<*, *>).values}")
1170
- }
1171
1162
  } catch (e: Throwable) {
1172
1163
  Log.e("OmikitPlugin", "❌ getCurrentUser error: ${e.message}", e)
1173
1164
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omikit-plugin",
3
- "version": "4.1.3",
3
+ "version": "4.1.4",
4
4
  "description": "Omikit Plugin by ViHAT",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",