supabase-community / supabase-kt

A Kotlin Multiplatform Client for Supabase.
https://supabase.com/docs/reference/kotlin/introduction
MIT License
410 stars 37 forks source link

[Enhancement]: Make Android Min SDK Obvious #786

Open rocxteady opened 6 days ago

rocxteady commented 6 days ago

General Info

Version(s)

3.0.1

Kotlin Target(s) and their respective versions

Android 7

What happened? (include your code)

You should make your min sdk support for Android a little bit obvious. I can build my app with min sdk 24 and it crashes because UserSession object has an java.time.Insant object which is min sdk 26. Supabase has some examples using a sdk even less than 24.

I am guessing your min sdk is 26. I could not find any information about your min sdk at anywhere in your documentation.

Steps To Reproduce (optional)

Just build an app with Android API Level 24(Android 7) and make an authentication.

Relevant log output (optional)

java.lang.NoClassDefFoundError: Failed resolution of: Ljava/time/Instant;
jan-tennert commented 6 days ago

Yea, the minimum SDK version is 26. I'll find a place to mention this!

rocxteady commented 6 days ago

Thank you @jan-tennert 🙌