Comments (3)
No issue according to the flow:
![Screenshot 2024-04-18 at 10 50 07](https://private-user-images.githubusercontent.com/1902323/323533842-30d12db3-1553-4d7b-b537-5406d95f55fe.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0NzM0MTgsIm5iZiI6MTcyMTQ3MzExOCwicGF0aCI6Ii8xOTAyMzIzLzMyMzUzMzg0Mi0zMGQxMmRiMy0xNTUzLTRkN2ItYjUzNy01NDA2ZDk1ZjU1ZmUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjBUMTA1ODM4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjdjZjFjNTVhMzBlMjBjZTg5YTIzYWJlZDIwM2IyMDMxMzZhMmI1ZTA2YTE3OTMyZmIzNTI5NzE0YTE5ODZmNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.DgGan8l238aEbuSYWM-OP8RNnLQoKjY3w3KsMmPQpJU)
from react-native-permissions.
@oleg-moseyko Please correctly format your code.
You say that you call check, it returns denied: this is normal. Did you called request first?
from react-native-permissions.
@zoontek wow)) thanks for quick response. Better support than many paid services
works well. thanks
async handleFaceIdPermission() {
const TAG = 'UserScreenLockSettingModel.handlePhotosPermission';
try {
console.log(TAG, 'check permission:', PERMISSIONS.IOS.FACE_ID);
let res = await check(PERMISSIONS.IOS.FACE_ID);
console.log(TAG, 'isFaceIdGranted.before:', res);
if ([RESULTS.DENIED, RESULTS.BLOCKED].includes(res)) {
res = await request(PERMISSIONS.IOS.FACE_ID);
console.log(TAG, 'isFaceIdGranted.after: ', res);
}
self.setFaceIdPermission(res);
} catch (error) {
console.log(TAG, 'error:', error);
}
},
from react-native-permissions.
Related Issues (20)
- Request APP_TRACKING_TRANSPARENCY always return 'blocked' before user accept request HOT 6
- Notification Permission In Android HOT 3
- I encountered an error message stating 'ENOENT: no such file or directory HOT 4
- AVAudioApplication build fail HOT 3
- Invalid `Podfile` file: undefined method `prepare_react_native_project!' HOT 1
- jest testing: waitForNextUdpate times out on checkPermissions HOT 8
- Unable to detect IOS album permissions HOT 1
- [Android] 'Allow once' permission option always returns granted as permission status even after killing the app and relaunch it again HOT 1
- [Android] 'Don't Allow' permission option always returns denied as permission status and doesn't request the permission again HOT 3
- Crash on Android: Unable to resume activity java.lang.reflect.InvocationTargetException HOT 1
- await request(PERMISSIONS.IOS.PHOTO_LIBRARY); is always unavailable HOT 13
- App Hang: The app was terminated while unresponsive on RNPermissionHandlerLocationWhenInUse HOT 2
- No permission handler detected React-native 0.74.1 HOT 4
- Permission issue in vivo X70 HOT 1
- unavailable response in await check("ios.permission.MICROPHONE") and await request("ios.permission.MICROPHONE") on iOS HOT 4
- Confusion with setup instructions and Expo HOT 2
- Element giving some standard behaviour HOT 2
- Motion permission request not works on iPhone 13 Pro HOT 5
- IOS - Crash on RNPermissions lockHandler
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-permissions.