Questions tagged [ios-permissions]

150 questions
2
votes
2 answers

Custom Ui for iOS permission

I need to create a custom ui for mic permission, is there a way to do it. below is code code how permission block works.. it seems difficult with this call? App Shazam is doing it. [[AVAudioSession sharedInstance] requestRecordPermission:^(BOOL…
shavik
  • 75
  • 1
  • 10
1
vote
0 answers

IOS app crashing when notification permission denied

we have published the app to testflight , and when opening the app ,when notification permission is denied app is crashing and app is working perfectly when notification permission is accepted i am using expo eas framework expo…
1
vote
0 answers

Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null) #0 PathProviderApi.getDirectoryPath

I am getting the following exception while running flutter on ios emulator. the app is initialized but the screen is blank. when running on android it works - the exception is only on ios. Unhandled Exception: PlatformException(channel-error, Unable…
MM Gè
  • 11
  • 1
1
vote
2 answers

Integration tests - grant Tracking permission for app in iOS Simulator

Is there an official way to grant/examine/revoke the "user tracking" permission to/of an iOS app on the simulator during testing? This is the permission that corresponds to the NSUserTrackingUsageDescription entry in the info.plist, and the dialog…
Amos Joshua
  • 1,601
  • 18
  • 25
1
vote
0 answers

How to enable or disable the iOSAdvertiserTrackingEnabled tag with respect to the user consent in flutter

I wants to implement the Meta rewarded Ads in flutter for both android and IOS. For that, the tag iOSAdvertiserTrackingEnabled is necessary for the IOS 14 & +. Any body have an idea to get the user consent for the flutter - IOS app. I just referred…
1
vote
2 answers

Error reading from camera: PlatformException(CAMERA_ERROR, QrReader couldn't open camera, null, null) on iOS with qr_mobile_vision

I am testing my app on and iOS and scanning qr codes functionality https://pub.dev/packages/qr_mobile_vision is not working for me with error mentioned in title. I add platform :ios, '11.0' I make both other steps mentioned in package site but I am…
1
vote
0 answers

iOS asking for bluetooth permission even before the package is used

I'm using react-native-beacons-manager (https://github.com/MacKentoch/react-native-beacons-manager to scan beacons nearby using my react native app. It works perfectly but the issue is in iOS, it asks for bluetooth permission right when the app…
CraZyDroiD
  • 6,622
  • 30
  • 95
  • 182
1
vote
0 answers

Local Network Permission Pop up not coming - iOS

Even on adding Privacy - Local Network Usage Description & Bonjour services. Still, I don't see a pop-up on my app to allow or don't allow. Even I don't see my add-in Settings > Privacy > Local Network I am running the app on iPhone 11 and iPhone 12…
Gunjan Dave
  • 161
  • 1
  • 2
  • 10
1
vote
1 answer

Leaflet-locatecontrol plugin: ios app crash on motion and orientation popup permission

I am using this Leaflet plugin to allow users to use geolocalization on a map. It uses browser API such as motion and geolocalization. On the android app version, it works great, my code checks and requires geolocalization permission before setting…
1
vote
1 answer

Possible Unhandled Promise Rejection (id:0) TypeError: undefined is not an object (evaluating 'ImagePicker.Permissions.askAsync)

I am building an iOS app using React-Native and Expo. I have figured out how to access the user's Photo Library but am unable to request permissions from their device. It instead just accesses the camera roll without asking, which is obviously not…
MK_Pierce
  • 916
  • 2
  • 10
  • 26
1
vote
1 answer

How to detect enabled location permission for react native iOS and request to grant permission if not selected?

Issue Description I am working on tracking app and want to enable "always" location permission when user start it's tracking service. Here I am building path traveled by user, so I want to detect latitudes and longitudes even if app is background.…
Archana Sharma
  • 1,953
  • 6
  • 33
  • 65
1
vote
2 answers

DeviceMotion and DeviceOrientation in WKWebView iOS 13

I want to use DeviceMotion and DeviceOrientation events in WKWebView in iOS 13+. I am using below code