React Native

Permissions & Device APIs

Camera, geolocation, contacts, notifications, permissions handling, react-native-permissions

20 คำถามสัมภาษณ์·
Mid-Level
1

Which library is most commonly used to manage permissions in React Native?

คำตอบ

react-native-permissions is the standard library for managing permissions on iOS and Android. It provides a unified API to request and check permissions like camera, geolocation, or contacts, while handling platform differences transparently.

2

What are the possible statuses returned by the check() function from react-native-permissions?

คำตอบ

The check() function returns one of the following statuses: UNAVAILABLE (feature not available on the device), DENIED (permission not requested or denied but still requestable), LIMITED (iOS 14+ for partial access), GRANTED (permission granted), or BLOCKED (permission permanently denied, requires going to settings).

3

What is the difference between check() and request() in react-native-permissions?

คำตอบ

check() only verifies the current permission status without user interaction, while request() checks the status then displays the system dialog if the permission hasn't been requested yet. It's recommended to call check() first to adapt the UX before using request().

4

How to redirect the user to the app settings to modify a denied permission?

5

In which file should permissions be declared on iOS?

+17 คำถามสัมภาษณ์

หัวข้อสัมภาษณ์ React Native อื่นๆ

JavaScript Essentials

Junior
25 คำถาม

React Fundamentals

Junior
20 คำถาม

React Native Basics

Junior
22 คำถาม

React Hooks

Junior
20 คำถาม

TypeScript for React & React Native

Junior
22 คำถาม

React Native Components & API

Junior
20 คำถาม

React Native Styling & Layout

Junior
18 คำถาม

React Native Navigation

Mid-Level
22 คำถาม

React Native State Management

Mid-Level
24 คำถาม

React Native Networking & API

Mid-Level
20 คำถาม

Data Persistence

Mid-Level
20 คำถาม

Forms & Validation

Mid-Level
18 คำถาม

React Native Animations

Mid-Level
22 คำถาม

Native Modules & Bridge

Mid-Level
20 คำถาม

Platform-Specific Code

Mid-Level
18 คำถาม

Push Notifications

Mid-Level
18 คำถาม

React Native Testing

Mid-Level
20 คำถาม

React Native Debugging

Mid-Level
18 คำถาม

Build & Deployment

Mid-Level
20 คำถาม

Expo vs React Native Bare

Mid-Level
18 คำถาม

Performance Optimization

Senior
24 คำถาม

Memory Management

Senior
20 คำถาม

Architecture Patterns

Senior
22 คำถาม

React Native New Architecture

Senior
24 คำถาม

Security Best Practices

Senior
20 คำถาม

Offline-First Architecture

Senior
20 คำถาม

React Native CI/CD

Senior
20 คำถาม

Monorepo & Code Sharing

Senior
18 คำถาม

Advanced Topics

Senior
22 คำถาม

App Lifecycle & Background Execution

Mid-Level
20 คำถาม

Authentication & Session Management

Mid-Level
22 คำถาม

Monitoring & Crash Reporting

Senior
20 คำถาม

เชี่ยวชาญ React Native สำหรับการสัมภาษณ์ครั้งถัดไป

เข้าถึงคำถามทั้งหมด flashcards แบบทดสอบเทคนิค แบบฝึกหัด code review และตัวจำลองสัมภาษณ์

เริ่มใช้ฟรี