-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Couldn't use with ComponentActivity, bind issue #48
Milestone
Comments
will be released in 0.7.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using 0.6.0 library integrated for my multiplatform project and found out it doesnot work with ComponentActivity.
MainActivity which extends ComponentActivity(from official android) cannot be cast to androidx.fragment.app.FragmentActivity
fun BindMyLocationTrackerEffect(locationTracker: LocationTracker) {
val lifecycleOwner: LifecycleOwner = LocalLifecycleOwner.current
val context: Context = LocalContext.current
}
the current solution is to use AppCompatActivity but i want to utilize latest ComponentActivity from android
The text was updated successfully, but these errors were encountered: