Android WakeLock

This commit is contained in:
OleSTEEP 2023-12-30 00:24:34 +03:00
parent ee3ae96146
commit 0c4ccf8a0f
2 changed files with 5 additions and 5 deletions

View file

@ -21,7 +21,7 @@ Android port of OMORI RPG game
- [ ] replaceAll polyfill - [ ] replaceAll polyfill
- [ ] External saves (Android/data) - [ ] External saves (Android/data)
- [ ] Cordova localhost bug - [ ] Cordova localhost bug
- [ ] WakeLock - [x] WakeLock
- [x] Fix game canvas size - [x] Fix game canvas size
- [x] On-screen controls - [x] On-screen controls
- [x] Fix game closing on back button - [x] Fix game closing on back button

View file

@ -18,11 +18,11 @@
<icon monochrome="res/android/xxxhdpi/ic_launcher_monochrome.png" background="res/android/xxxhdpi/ic_launcher_background.png" density="xxxhdpi" foreground="res/android/xxxhdpi/ic_launcher_foreground.png" src="res/android/xxxhdpi/ic_launcher.png" /> <icon monochrome="res/android/xxxhdpi/ic_launcher_monochrome.png" background="res/android/xxxhdpi/ic_launcher_background.png" density="xxxhdpi" foreground="res/android/xxxhdpi/ic_launcher_foreground.png" src="res/android/xxxhdpi/ic_launcher.png" />
</platform> </platform>
<!-- <platform name="android"> <platform name="android">
<edit-config file="AndroidManifest.xml" mode="merge" target="/manifest/application"> <config-file target="AndroidManifest.xml" parent="/*" xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.WAKE_LOCK" /> <uses-permission android:name="android.permission.WAKE_LOCK" />
</edit-config> </config-file>
</platform> --> </platform>
<name>OMORI</name> <name>OMORI</name>
<description>OMORI Android Port</description> <description>OMORI Android Port</description>