capacitor-plugin-vonage 0.1.7 → 0.1.8

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.
@@ -110,6 +110,9 @@ public class VideoCallActivity extends AppCompatActivity implements EasyPermissi
110
110
  private final Session.SessionListener sessionListener = new Session.SessionListener() {
111
111
  @Override
112
112
  public void onConnected(Session session) {
113
+ if(!enableVCConfig){
114
+ notifyObservers("admit");
115
+ }
113
116
  main.setVisibility(View.VISIBLE);
114
117
  startTimer();
115
118
  progressBar.setVisibility(View.INVISIBLE);
@@ -582,6 +582,9 @@ class VideoChatViewController: UIViewController,OTSessionDelegate,OTPublisherDel
582
582
  DispatchQueue.main.async {
583
583
  if(self.enableVCConfig){
584
584
  self.patientStatusChanged()
585
+ }else{
586
+ let userInfo = ["isProvider": self.isProvider]
587
+ self.delegate?.videoCallStarted(userInfo)
585
588
  }
586
589
  }
587
590
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-plugin-vonage",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "opentok sdk capacitor plugin",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",