Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash on share when not loggedin
java.lang.RuntimeException: at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2957) at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3032) at android.app.ActivityThread.-wrap11 (Unknown Source) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1696) at android.os.Handler.dispatchMessage (Handler.java:105) at android.os.Looper.loop (Looper.java:164) at android.app.ActivityThread.main (ActivityThread.java:6944) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374) Caused by: java.lang.IllegalArgumentException: at okhttp3.HttpUrl$Builder.parse (HttpUrl.java:1333) at okhttp3.HttpUrl.get (HttpUrl.java:916) at retrofit2.Retrofit$Builder.baseUrl (Retrofit.java:458) at com.github.gotify.api.ClientFactory.defaultClient (ClientFactory.java:47) at com.github.gotify.api.ClientFactory.clientToken (ClientFactory.java:28) at com.github.gotify.sharing.ShareActivity.onCreate (ShareActivity.java:82) at android.app.Activity.performCreate (Activity.java:7183) at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1220) at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2910)
- Loading branch information