Skip to content

8.1.0

Compare
Choose a tag to compare
@psteiger psteiger released this 06 Mar 19:19
· 10 commits to master since this release
bb779af
  • Add support for Fragment alongside the
    already supported ComponentActivity and Context.

  • Add builders with support for lazy rationales.

    These builders allow building LocationFetcher passing in
    a rationale producer instead of a rationale string.
    This enables the possibility for using getString in
    a field assignment in a ComponentActivity/Fragment:

    class MyFragment : Fragment() {
        private val locationFetcher = 
            locationFetcher({ getString(R.string.rationale) }) {
                // ... config
            }
    }
  • Bump versions:

    Kotlin: 1.6.0-RC2 -> 1.6.10

    com.android.library: 7.1.0-beta02 -> 7.1.2
    kotlinx.coroutines: 1.5.2 -> 1.6.0
    play-services-location: 18.0.0 -> 19.0.1
    activity-ktx: 1.4.0-rc01 -> 1.4.0
    fragment-ktx: 1.4.0-rc01 -> 1.4.1
    appcompat: 1.4.0-rc01 -> 1.4.1
    lifecycle: 2.4.0 -> 2.4.1