You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by "Peter Dähn (Jira)" <ji...@apache.org> on 2020/06/05 13:49:00 UTC

[jira] [Commented] (OPENMEETINGS-2365) Android/iOS/Mobile view prevent screen from sleep

    [ https://issues.apache.org/jira/browse/OPENMEETINGS-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17126776#comment-17126776 ] 

Peter Dähn commented on OPENMEETINGS-2365:
------------------------------------------

I had this in a private project and use this to overcome the sleep problem:

[https://github.com/richtr/NoSleep.js]

It is under MIT Licence.

 

Alternatively, you can manually add [NoSleep.js|https://github.com/richtr/NoSleep.js/blob/master/dist/NoSleep.js] to your project (or the [minified version|https://github.com/richtr/NoSleep.js/blob/master/dist/NoSleep.min.js]).

> Android/iOS/Mobile view prevent screen from sleep
> -------------------------------------------------
>
>                 Key: OPENMEETINGS-2365
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2365
>             Project: Openmeetings
>          Issue Type: Improvement
>          Components: UI
>    Affects Versions: 5.0.0-M4, 5.0.0
>            Reporter: Sebastian Wagner
>            Assignee: Sebastian Wagner
>            Priority: Major
>             Fix For: 5.1.0
>
>
> On Mobile devices the screen will sleep after few seconds.
> What happens then is that the OpenMeetings application freezes and looses real-time connection.
> So when you come back your application is out of sync.
> As well as often it looses the connection and only thing you can do is reload the browser.
> This can be prevented by things like: [https://davidwalsh.name/wake-lock-shim]
> But needs investigation.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)