Skip to content
KANNAN4307Public

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

📱 React Native Expo Permissions App

A simple React Native app built with Expo that demonstrates how to manage app permissions (Camera, Location, and Storage), navigate between multiple screens, and dynamically reflect permission changes from device settings.

⚙️ Setup Instructions

1.Clone the repository

git clone https://github.com/your-username/permissions-app.git
cd permissions-app

2.Install dependencies

npm install
# or
yarn install

3.Run the app

npx expo start

4.Open on device or emulator

Press i to open in iOS Simulator
Press a to open in Android Emulator
Scan QR code with Expo Go app

📦 Libraries / Packages Used

React Native – Core framework for building native apps
Expo – Managed workflow for React Native
React Navigation – Navigation between screens
expo-camera – Camera permissions & usage
expo-location – Location permissions & usage
expo-media-library – Storage/media permissions
AppState API – Detect app foreground/background state

🚀 Features Implemented

✅ Permissions Handling
   Checks Camera, Location, and Storage permissions
   Requests permissions when user taps
   Reflects changes if updated in device settings
   Auto-refresh when app returns to foreground or screen refocuses

✅ Navigation
   Multiple screens implemented with react-navigation
   Header with back button support

✅ UI/UX
   Status indicators (✅ Granted / ❌ Denied)
   Continue button enabled only when all permissions are granted

⚠️ Known Limitations Permissions vary across iOS & Android (e.g., background location requires additional setup). Media Library permissions behave differently depending on OS version. On iOS, the system may not re-prompt after denial (user must manually enable in settings). Currently only supports Camera, Location, Storage – other permissions (e.g., Notifications, Contacts) can be added by extending the hook.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages