forked from levelasquez/react-native-android-open-settings
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
66 lines (44 loc) · 1.99 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
64
65
66
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()
const appNotificationSettings = () => RNAndroidOpenSettings.appNotificationSettings()
module.exports = {
generalSettings,
homeSettings,
appDetailsSettings,
wifiSettings,
locationSourceSettings,
wirelessSettings,
airplaneModeSettings,
apnSettings,
bluetoothSettings,
dateSettings,
localeSettings,
inputMethodSettings,
displaySettings,
securitySettings,
internalStorageSettings,
memoryCardSettings,
accessibilitySettings,
applicationSettings,
deviceInfoSettings,
appNotificationSettings,
}