v1.3.0: fixed crash issues on iOS by disabling controllers for now

This commit is contained in:
Evan Debenham
2022-06-11 12:50:14 -04:00
parent d195fce5bd
commit a37a7acaa4
2 changed files with 4 additions and 3 deletions

View File

@@ -54,7 +54,8 @@ public class ControllerHandler implements ControllerListener {
}
public static boolean controllersSupported() {
if (DeviceCompat.isAndroid() && Gdx.app.getVersion() < 16) {
//disabled on iOS as a temporary workaround for dependency issues between RoboVM and gdx-controllers
if (DeviceCompat.isiOS() || (DeviceCompat.isAndroid() && Gdx.app.getVersion() < 16)) {
return false;
} else {
return true;

View File

@@ -14,8 +14,8 @@ allprojects {
appName = 'Shattered Pixel Dungeon'
appPackageName = 'com.shatteredpixel.shatteredpixeldungeon'
appVersionCode = 631
appVersionName = '1.3.0-ALPHA-1'
appVersionCode = 632
appVersionName = '1.3.0-ALPHA-2'
appJavaCompatibility = JavaVersion.VERSION_1_8