Error after update to current Android App for Deck 0.6.4

I have this Error after updating from 0.6.3:

java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
at android.app.SharedPreferencesImpl.getLong(SharedPreferencesImpl.java)
at it.niedermann.nextcloud.deck.ui.DrawerActivity.lambda$null$2$DrawerActivity(DrawerActivity.java:133)
at it.niedermann.nextcloud.deck.ui.-$$Lambda$DrawerActivity$bCpozhu_AVJ_lTe_ch2lk50NFgg.onChanged(lambda)
at androidx.lifecycle.LiveData.considerNotify(LiveData.java:113)
at androidx.lifecycle.LiveData.dispatchingValue(LiveData.java:131)
at androidx.lifecycle.LiveData.setValue(LiveData.java:289)
at androidx.lifecycle.MutableLiveData.setValue(MutableLiveData.java:33)
at androidx.lifecycle.LiveData$1.run(LiveData.java:91)
at android.os.Handler.handleCallback(Handler.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)

I am in Android 6.0 and cannot Upgrade to higher versions.

Thanks.

@der.einstein if the issue persists in the latest released version*, feel free to open a bug report in the GitHub issue tracker: https://github.com/stefan-niedermann/nextcloud-deck/issues/new?labels=bug&template=bug_report.md

  • At the time writing this is version 1.5.6.

Regards