algolia / instantsearch-android

A library of widgets and helpers to build instant-search applications on Android.
https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/android/
Apache License 2.0
155 stars 28 forks source link

Android InstantSearch kotlinx.coroutines.JobCancellationException: Parent job is Completed Error #403

Open cjae opened 6 months ago

cjae commented 6 months ago

Describe the bug 🐛 I have Algolia instant search integrated into my app fragment. when ever I navigate away from the fragment and return back the search client fails with this error "21:26:11.036 I HttpClient: REQUEST ... failed with exception: kotlinx.coroutines.JobCancellationException: Parent job is Completed; job=SupervisorJobImpl{Completed}@b6a1eed ".

To Reproduce 🔍 Steps to reproduce the behavior:

  1. I use the Android Navigation component, add your fragment as a destination.
  2. Load initial data from your index
  3. Navigate away from the fragment and navigate back

Environment: