PhotoPrism Android app would crash once enabling Auto Upload in the setting page. The stack trace in the logcat is below. Reloading the app and accessing the Setting page would also crash the app with the same stack trace.
Fix: Updating the flutter_photo_manager library version fixes the crash.
pubspec.lock changes were auto-generated during building and testing fix.
Please let me know if I can provide any other information or further testing.
Thanks
java.lang.IllegalStateException: galleryName must not be null at top.kikt.imagescanner.core.utils.AndroidQDBUtils.getGalleryList(AndroidQDBUtils.kt:66) at top.kikt.imagescanner.core.PhotoManager.getGalleryList(PhotoManager.kt:42) at top.kikt.imagescanner.core.PhotoManagerPlugin$onHandlePermissionResult$1.invoke(PhotoManagerPlugin.kt:165) at top.kikt.imagescanner.core.PhotoManagerPlugin$onHandlePermissionResult$1.invoke(PhotoManagerPlugin.kt:23) at top.kikt.imagescanner.core.PhotoManagerPlugin$sam$java_lang_Runnable$0.run(Unknown Source:2) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:919)
PhotoPrism Android app would crash once enabling Auto Upload in the setting page. The stack trace in the logcat is below. Reloading the app and accessing the Setting page would also crash the app with the same stack trace.
Fix: Updating the flutter_photo_manager library version fixes the crash.
pubspec.lock changes were auto-generated during building and testing fix. Please let me know if I can provide any other information or further testing.
Thanks
java.lang.IllegalStateException: galleryName must not be null at top.kikt.imagescanner.core.utils.AndroidQDBUtils.getGalleryList(AndroidQDBUtils.kt:66) at top.kikt.imagescanner.core.PhotoManager.getGalleryList(PhotoManager.kt:42) at top.kikt.imagescanner.core.PhotoManagerPlugin$onHandlePermissionResult$1.invoke(PhotoManagerPlugin.kt:165) at top.kikt.imagescanner.core.PhotoManagerPlugin$onHandlePermissionResult$1.invoke(PhotoManagerPlugin.kt:23) at top.kikt.imagescanner.core.PhotoManagerPlugin$sam$java_lang_Runnable$0.run(Unknown Source:2) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:919)