Wassauf Khalid
Wassauf Khalid

Reputation: 73

quickblox sample video chat does not receives call when screen is off

i have to integrate video chat in my app and was trying Quickblox sample video chat but it does not receives call when screen is off. How can i make it able to receive ?

Upvotes: 1

Views: 140

Answers (1)

Sanju Rajpal
Sanju Rajpal

Reputation: 136

Configure the following property for your activity in manifest file :

android:showOnLockScreen="true"

E.g.

<activity
            android:name="CallActivity"
            android:configChanges="orientation"
            android:launchMode="singleTask"
            android:resizeableActivity="false"
            android:screenOrientation="portrait"
            android:showOnLockScreen="true"/>

Upvotes: 2

Related Questions