v1.3.0: fixed crash issues on iOS by disabling controllers for now
This commit is contained in:
@@ -54,7 +54,8 @@ public class ControllerHandler implements ControllerListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static boolean controllersSupported() {
|
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;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
+2
-2
@@ -14,8 +14,8 @@ allprojects {
|
|||||||
appName = 'Shattered Pixel Dungeon'
|
appName = 'Shattered Pixel Dungeon'
|
||||||
appPackageName = 'com.shatteredpixel.shatteredpixeldungeon'
|
appPackageName = 'com.shatteredpixel.shatteredpixeldungeon'
|
||||||
|
|
||||||
appVersionCode = 631
|
appVersionCode = 632
|
||||||
appVersionName = '1.3.0-ALPHA-1'
|
appVersionName = '1.3.0-ALPHA-2'
|
||||||
|
|
||||||
appJavaCompatibility = JavaVersion.VERSION_1_8
|
appJavaCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user