Keeping mobile app awake / prevent screenlock

Get help using Construct 2

Post » Thu Nov 12, 2015 12:03 pm

remy-jay wrote:@AndreasR, I tried downloading the package but the ZIP file won't decompress on my PC, is that expected?

Link: https://shatter-box.com/downloads/cranb ... n-package/


I just tested it on my end and it works fine to unzip the file.
Can you try an alternative program and try it again?

Regards
Image Image iTunes: Match3 | Google Play: Match3
B
104
S
37
G
31
Posts: 1,164
Reputation: 28,953

Post » Thu Nov 12, 2015 12:07 pm

grigrizljac wrote:I have added the plugin to Intel XDK, but the screen still turns off ... (Android)


Try to install this plugin in Intel XDK instead.
https://github.com/simplec-dev/powermanagement

Cranberrygame has updated the plugin from phonegap to cordova and the cordova version is using the new github link, but the phonegap plugin the old one.

Regards
Image Image iTunes: Match3 | Google Play: Match3
B
104
S
37
G
31
Posts: 1,164
Reputation: 28,953

Post » Fri Nov 13, 2015 7:28 pm

AndreasR wrote:
grigrizljac wrote:I have added the plugin to Intel XDK, but the screen still turns off ... (Android)


Try to install this plugin in Intel XDK instead.
https://github.com/simplec-dev/powermanagement

Cranberrygame has updated the plugin from phonegap to cordova and the cordova version is using the new github link, but the phonegap plugin the old one.

Regards

It works now (at least on Android, I still have to test for iOS ...), thank you! :)
B
32
S
7
G
4
Posts: 398
Reputation: 4,591

Post » Sat Nov 14, 2015 8:23 am

grigrizljac wrote:
AndreasR wrote:
grigrizljac wrote:I have added the plugin to Intel XDK, but the screen still turns off ... (Android)


Try to install this plugin in Intel XDK instead.
https://github.com/simplec-dev/powermanagement

Cranberrygame has updated the plugin from phonegap to cordova and the cordova version is using the new github link, but the phonegap plugin the old one.

Regards

It works now (at least on Android, I still have to test for iOS ...), thank you! :)


You're welcome ;)
Image Image iTunes: Match3 | Google Play: Match3
B
104
S
37
G
31
Posts: 1,164
Reputation: 28,953

Post » Tue Sep 26, 2017 9:46 am

Very interesting info, i am waiting for more !!! Keep updating your topics and you will have a lot o readers...
B
2
Posts: 2
Reputation: 154

Previous

Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 7 guests