MM2-0 / Kvaesitso

A search-focused Android launcher
https://kvaesitso.mm20.de/
GNU General Public License v3.0
2.51k stars 86 forks source link

Plugins are not showing up in settings #821

Open malfisya opened 6 months ago

malfisya commented 6 months ago

I installed all the available plugins (OneDrive, OpenWeather, and Breezy Weather), but none of them appear on Plugins settings page. At least for Breezy Weather plugin, Breezy Weather managed to detected it (It showed up on Send GadgetBridge data). Is there any setting thta shoud be enable first for it to be detected? Installed all of the via F-Droid from MM20 repo. Cheers !

https://github.com/MM2-0/Kvaesitso/assets/101771435/3573600f-c4f9-4861-8301-3f0b5cd2d3fe

IMG-20240510-WA0002

kvaesitso-log-2024-05-10-192403.txt

MM2-0 commented 6 months ago

Can you go to settings > crash reporter > toggle on the exceptions filter (the ⚠️ icon in the top right corner) and see if there is anything there?

malfisya commented 6 months ago

There are a few, I only post the last three here. I couldn't figure out how to share it properly, but here it is.

java.lang.IllegalArgumentException: Unknown authority de.mm20.launcher2.plugin.breezyweather.weather
    at android.content.ContentResolver.call(ContentResolver.java:2417)
    at android.content.ContentResolver.call(ContentResolver.java:2400)
    at PluginScanner.findPlugins(PluginScanner.kt:84)
    at de.mm20.launcher2.plugins.PluginServiceImpl$refreshPlugins$1.invokeSuspend(PluginService.kt:199)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:103)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:98)
java.lang.IllegalArgumentException: Unknown authority de.mm20.launcher2.plugin.onedrive.files
    at android.content.ContentResolver.call(ContentResolver.java:2417)
    at android.content.ContentResolver.call(ContentResolver.java:2400)
    at PluginScanner.findPlugins(PluginScanner.kt:84)
    at de.mm20.launcher2.plugins.PluginServiceImpl$refreshPlugins$1.invokeSuspend(PluginService.kt:199)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:103)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:98)
.kt:98)
java.lang.IllegalArgumentException: baseUrl must end in /: https://overpass.osm.ch/api
    at retrofit2.Retrofit$Builder.baseUrl(Retrofit.java:53)
    at de.mm20.launcher2.openstreetmaps.OsmRepository$special$$inlined$map$1$2.emit(Emitters.kt:101)
    at de.mm20.launcher2.preferences.search.LocationSearchSettings$special$$inlined$map$5$2.emit(Emitters.kt:59)
    at kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1.invoke(SafeCollector.kt:5)
    at kotlinx.coroutines.flow.internal.SafeCollector.emit(SafeCollector.kt:17)
    at kotlinx.coroutines.flow.internal.SafeCollector.emit(SafeCollector.kt:1)
    at androidx.datastore.core.SingleProcessDataStore$data$1$invokeSuspend$$inlined$map$1$2.emit(Collect.kt:73)
    at kotlinx.coroutines.flow.FlowKt__LimitKt$dropWhile$1$1.emit(Limit.kt:79)
    at kotlinx.coroutines.flow.StateFlowImpl.collect(StateFlow.kt:192)
    at kotlinx.coroutines.flow.StateFlowImpl$collect$1.invokeSuspend(StateFlow.kt:13)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:111)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:98)
crisqyxw commented 1 month ago

Same problem here...

Leilei332 commented 1 month ago

For some Chinese users, this problem may be related to the battery settings like "Allow being opened by other applications".

IMG_20241003_083640.jpg

MM2-0 commented 1 month ago

For some Chinese users, this problem may be related to the battery settings like "Allow being opened by other applications".

Good to know. Where do you find this settings, and do you need to grant it to each plugin, or to the main app? And does that fix it for you @crisqyxw, @malfisya ?

malfisya commented 1 month ago

I cannot read the screenshot above, so I couldn't find the settings mentioned. More specific instruction from @Leilei332 (preferably in english) would be very much appreciated.

Leilei332 commented 1 month ago

For Huawei (EMUI 8), this settings is located in settings, battery, launch. Then click the kvaesitso plugin, and enable all the three options.

Screenshot_20241005-151105.jpg

For other brands and OS I'm not sure, they may have a similar option like that. And as far as I remember, the error I saw in the log is different from @malfisya 's, so it may not be related to it.

malfisya commented 1 month ago

Thank you for the guide. Unfortunately, my phone don't have that kind option.