Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open app settings page in react native android?

At the end react native bridge is the only way.But is there any npm package which has been worked successfully for anyone?

like image 908
Pragati Avatar asked Mar 15 '20 06:03

Pragati


People also ask

How do I open Settings app in React Native?

Opening a settings app in React Native is so simple, we can open it directly in React Native using Linking. Linking API provides an openSettings() function which will redirect to Settings App.

How do I open app settings?

From the Home screen, tap the Apps icon (in the QuickTap Bar) > the Apps tab (if necessary) > Settings .

How do I open settings on Android?

Getting to Your Settings There are two ways to get to your phone's settings. You can swipe down on the notification bar at the top of your phone display, then tap on the top right account icon, then tap on Settings. Or you can tap on the “all apps” app tray icon in the bottom middle of your home screen.


Video Answer


1 Answers

You can open your app settings by using Linking library.

import {Linking} from 'react-native';

Linking.openSettings();

Offical document: https://reactnative.dev/docs/linking#opensettings

like image 82
ridvanaltun Avatar answered Oct 10 '22 04:10

ridvanaltun