tama преди 1 година
родител
ревизия
48da998251

+ 5 - 0
NexilisSampleCodeReact-Android/android/app/src/main/java/com/paliolitesamplecode/CallNative.java

@@ -50,6 +50,11 @@ public class CallNative extends ReactContextBaseJavaModule {
         API.openSettings();
     }
 
+    @ReactMethod
+    public void openProfile() {
+        API.openProfile();
+    }
+
     @ReactMethod
     public void openWhiteboard(Promise promise) {
         String response = API.openWhiteboard();

+ 1 - 0
NexilisSampleCodeReact-Android/ios/CallNative.m

@@ -25,5 +25,6 @@ RCT_EXTERN_METHOD(openContactCenterAudioCall:(NSInteger *)category)
 RCT_EXTERN_METHOD(openContactCenterVideoCall:(NSInteger *)category)
 RCT_EXTERN_METHOD(signInAdmin:(NSString *)pwd)
 RCT_EXTERN_METHOD(openSetOfficer)
+RCT_EXTERN_METHOD(openProfile)
 
 @end

+ 5 - 0
NexilisSampleCodeReact-Android/ios/CallNative.swift

@@ -47,6 +47,11 @@ class CallNative: NSObject, ConnectDelegate {
       APIS.openSetting()
     }
   }
+  @objc func openProfile() {
+    DispatchQueue.main.async {
+      APIS.openProfile()
+    }
+  }
   @objc func openWhiteboard() {
     DispatchQueue.main.async {
       APIS.openWhiteboard()