diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 0000000..e69de29 diff --git a/src/main/java/im/actor/cloud/MainActivity.java b/src/main/java/im/actor/cloud/MainActivity.java index a03f838..d64cb70 100644 --- a/src/main/java/im/actor/cloud/MainActivity.java +++ b/src/main/java/im/actor/cloud/MainActivity.java @@ -10,6 +10,7 @@ public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); + ActorSDK.sharedActor().waitForReady(); ActorSDK.sharedActor().startMessagingApp(this); finish(); } diff --git a/src/main/java/im/actor/cloud/MessengerApplication.java b/src/main/java/im/actor/cloud/MessengerApplication.java index 10c52d4..30ec395 100644 --- a/src/main/java/im/actor/cloud/MessengerApplication.java +++ b/src/main/java/im/actor/cloud/MessengerApplication.java @@ -7,6 +7,7 @@ public class MessengerApplication extends ActorSDKApplication { @Override public void onConfigureActorSDK() { ActorSDK.sharedActor().setCallsEnabled(true); + ActorSDK.sharedActor().setVideoCallsEnabled(true); ActorSDK.sharedActor().setFastShareEnabled(true); } }