Open zealforyou opened 6 years ago
Hi! Describe problem properly, give full stack trace and steps to reproduce first, please.
@zealforyou NOTE: new RxPermissions(this)
the this
parameter can be an Activity
or a Fragment
. If you are using RxPermissions
inside of a fragment you should pass the fragment instance(new RxPermissions(this)
) as constructor parameter rather than new RxPermissions(fragment.getActivity())
or you could face a java.lang.IllegalStateException: FragmentManager is already executing transactions.
Please provide more information and stacktrace of the error if possible.
fragmentManager.beginTransaction().add(rxPermissionsFragment, TAG).commitNow(); app will be crashed where execute this line,Please make a low version compatibility . thanks!!