Questions tagged [rxpermissions]

Android runtime permissions powered by RxJava

8 questions
1
vote
0 answers

Conflict with RxPermission

I want to use thetbruyelle RxPermissions library in my project. I can not call the subcribe method like here rxPermissions .request(Manifest.permission.ACCESS_FINE_LOCATION) .subscribe(granted -> { if (granted) { …
1
vote
0 answers

RxPermissions deny access

I'm using RxPermissions to handle permissions in my Android app. For example I have the following code inside a button's onClickListener Disposable mDispo = new RxPermissions(this) .request(Manifest.permission.READ_CALENDAR,…
petrrr33
  • 583
  • 9
  • 24
1
vote
3 answers

Android: View returning null

I am trying to fetch contacts and show it in a list. I am using RxPermissions for that. The problem here is when I first allow the permission the view returns null and shows empty list even though the list has items in it. But when I go back to the…
Nejweti
  • 113
  • 2
  • 11
1
vote
1 answer

RxPermission causes Internal Error in release mode

I use RxPermission library to handle runtime permissions easily, In my app I ask for location: rxPermissions .request(Manifest.permission.ACCESS_FINE_LOCATION) .subscribe(granted -> { if (granted)…
Ege Kuzubasioglu
  • 5,991
  • 12
  • 49
  • 85
1
vote
1 answer

Avoid ask others permission if one is not granted with RxPermissions

I want to avoid ask others permission if the user not grant one. For example: I ask for read/write external storage and camera, if the user deny the first, the library ask for camera permission, camera permission is redundant in this…
0
votes
2 answers

RxPermissions not called after permission granted

I'm using RxPermissions to handle permissions inside my project. 'com.github.tbruyelle:rxpermissions:0.12' 'io.reactivex.rxjava3:rxjava:3.0.4' This is my code for handling the CAMERA permission: new RxPermissions((FragmentActivity)…
-1
votes
2 answers

API 26 runtime permission & android.os.FileUriExposedException

My app needs below permissions. Which has been incorporated in AndroidManifest.xml
-1
votes
1 answer

unfortunately package installer has stopped

Background: I'm trying to make a simple with RxPermissions .. I created a new project with the bellow code/setup but when I launch the app I got a dialog with the message "unfortunately package installer has stopped" gradle.build dependencies { …
TooCool
  • 10,598
  • 15
  • 60
  • 85