Rayhan Khan

Results 2 comments of Rayhan Khan

On app "restoration", getting null for SavedStateHandle attributes ``` private val viewModel: PaxViewModel by stateViewModel(owner = { findNavController().getViewModelStoreOwner( R.id.pax_graph ) }) ``` ``` class PaxViewModel(private val stateHandle: SavedStateHandle) : ViewModel()...

This is happening because in Android 13 and above _android.permission.READ_EXTERNAL_STORAGE_ is replaced with _android.permission.READ_MEDIA_IMAGES/VIDEOS_. But this repo has not updated "PermissionHelper" Class.