forked from levelasquez/react-native-android-open-settings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
63 lines (42 loc) · 1.88 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
import { NativeModules } from 'react-native'
const { RNAndroidOpenSettings } = NativeModules
const generalSettings = () => RNAndroidOpenSettings.generalSettings()
const homeSettings = () => RNAndroidOpenSettings.homeSettings()
const appDetailsSettings = () => RNAndroidOpenSettings.appDetailsSettings()
const wifiSettings = () => RNAndroidOpenSettings.wifiSettings()
const locationSourceSettings = () => RNAndroidOpenSettings.locationSourceSettings()
const wirelessSettings = () => RNAndroidOpenSettings.wirelessSettings()
const airplaneModeSettings = () => RNAndroidOpenSettings.airplaneModeSettings()
const apnSettings = () => RNAndroidOpenSettings.apnSettings()
const bluetoothSettings = () => RNAndroidOpenSettings.bluetoothSettings()
const dateSettings = () => RNAndroidOpenSettings.dateSettings()
const localeSettings = () => RNAndroidOpenSettings.localeSettings()
const inputMethodSettings = () => RNAndroidOpenSettings.inputMethodSettings()
const displaySettings = () => RNAndroidOpenSettings.displaySettings()
const securitySettings = () => RNAndroidOpenSettings.securitySettings()
const internalStorageSettings = () => RNAndroidOpenSettings.internalStorageSettings()
const memoryCardSettings = () => RNAndroidOpenSettings.memoryCardSettings()
const accessibilitySettings = () => RNAndroidOpenSettings.accessibilitySettings()
const applicationSettings = () => RNAndroidOpenSettings.applicationSettings()
const deviceInfoSettings = () => RNAndroidOpenSettings.deviceInfoSettings()
module.exports = {
generalSettings,
homeSettings,
appDetailsSettings,
wifiSettings,
locationSourceSettings,
wirelessSettings,
airplaneModeSettings,
apnSettings,
bluetoothSettings,
dateSettings,
localeSettings,
inputMethodSettings,
displaySettings,
securitySettings,
internalStorageSettings,
memoryCardSettings,
accessibilitySettings,
applicationSettings,
deviceInfoSettings,
}