capacitor-plugin-vonage 0.1.8 → 0.1.9

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.
@@ -62,7 +62,7 @@ public class VideoCallActivity extends AppCompatActivity implements EasyPermissi
62
62
  String PUBLISHERNAME;
63
63
  String profilePicApiUrl;
64
64
  boolean isPatientOnline = false;
65
- boolean enableVCConfig = false;
65
+ public static boolean enableVCConfig = false;
66
66
  boolean isMuted = false;
67
67
  boolean isCamOff = false;
68
68
  public boolean temptest = false;
@@ -591,7 +591,7 @@ public class VideoCallActivity extends AppCompatActivity implements EasyPermissi
591
591
  showToast("Notification has been sent");
592
592
  }
593
593
  }
594
- public void patientStatusChanged(Boolean isOnline) {
594
+ public void patientStatusChanged(Boolean isOnline,Boolean enableVCConfig) {
595
595
 
596
596
  if(enableVCConfig) {
597
597
  if (subscriber == null) {
@@ -57,7 +57,7 @@ public class vonagePlugin extends Plugin{
57
57
  public void run() {
58
58
  try{
59
59
  // VideoCallActivity temp = new VideoCallActivity();
60
- VideoCallActivity.instance.patientStatusChanged(isOnline);
60
+ VideoCallActivity.instance.patientStatusChanged(isOnline,VideoCallActivity.instance.enableVCConfig);
61
61
  }catch (Exception e){
62
62
  showLog("temp");
63
63
  showLog(e.toString());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-plugin-vonage",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "opentok sdk capacitor plugin",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",