Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Crash with new navigation library #358

Open
SergeyMilevskiy opened this issue Apr 28, 2022 · 3 comments
Open

Crash with new navigation library #358

SergeyMilevskiy opened this issue Apr 28, 2022 · 3 comments

Comments

@SergeyMilevskiy
Copy link

E/FragmentManager: saveBackStack("b63fc48d-e48e-4242-bb65-16692a4ca714") must not contain retained fragments. Found retained child fragment RxPermissionsFragment{32c8fe0} (143f3c92-efcb-4ba1-ba40-11c7545ca2a9 tag=RxPermissions)

androidx.navigation:navigation-fragment-ktx:2.4.2

@adevtt
Copy link

adevtt commented Jun 1, 2022

I have the same issue. Is it planned to be fixed?

@SergeyMilevskiy
Copy link
Author

@adevtt I migrated to this library => com.guolindev.permissionx:permissionx
API is almost the same. It seems RxPermission is not supported anymore or the owner doesn't have time.

@phonghoang1023
Copy link

I fixed this issue by changing new RxPermissions(this) -> new RxPermissions(requireActivity())

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants