Skip to content

Commit

Permalink
Resolve TIMOB-14503 LiveView: A Live-View enabled app should force th…
Browse files Browse the repository at this point in the history
…e screen to stay on and bump version
  • Loading branch information
euforic committed Dec 10, 2013
1 parent 50ff0af commit 07f559c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
6 changes: 6 additions & 0 deletions build/liveview.js
Original file line number Diff line number Diff line change
Expand Up @@ -669,4 +669,10 @@ Module.prototype.cache = function() {

Module.patch(globalScope);

// Prevent display from sleeping

Titanium.App.idleTimerDisabled = true;
Titanium.UI.View.keepScreenOn = true;


})(this);
5 changes: 1 addition & 4 deletions build/liveview.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions lib/platform/_tail.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,10 @@

Module.patch(globalScope);

// Prevent display from sleeping

Titanium.App.idleTimerDisabled = true;
Titanium.UI.View.keepScreenOn = true;


})(this);
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "liveview",
"version": "0.1.35",
"version": "0.1.36",
"description": "Titanium Live Realtime App Development",
"main": "index.js",
"private": true,
Expand Down

0 comments on commit 07f559c

Please sign in to comment.