-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnativephp.json
More file actions
75 lines (70 loc) · 2.67 KB
/
Copy pathnativephp.json
File metadata and controls
75 lines (70 loc) · 2.67 KB
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
67
68
69
70
71
72
73
74
75
{
"namespace": "MobileScreen",
"bridge_functions": [
{
"name": "MobileScreen.KeepAwake",
"android": "com.srwiez.plugins.mobilescreen.MobileScreenFunctions.KeepAwake",
"ios": "MobileScreenFunctions.KeepAwake",
"description": "Enable or disable screen wake lock to prevent the device from sleeping"
},
{
"name": "MobileScreen.IsAwake",
"android": "com.srwiez.plugins.mobilescreen.MobileScreenFunctions.IsAwake",
"ios": "MobileScreenFunctions.IsAwake",
"description": "Check if the screen wake lock is currently active"
},
{
"name": "MobileScreen.SetBrightness",
"android": "com.srwiez.plugins.mobilescreen.MobileScreenFunctions.SetBrightness",
"ios": "MobileScreenFunctions.SetBrightness",
"description": "Set the screen brightness level (0.0 to 1.0)"
},
{
"name": "MobileScreen.GetBrightness",
"android": "com.srwiez.plugins.mobilescreen.MobileScreenFunctions.GetBrightness",
"ios": "MobileScreenFunctions.GetBrightness",
"description": "Get the current screen brightness level"
},
{
"name": "MobileScreen.ResetBrightness",
"android": "com.srwiez.plugins.mobilescreen.MobileScreenFunctions.ResetBrightness",
"ios": "MobileScreenFunctions.ResetBrightness",
"description": "Reset the screen brightness to the system default"
},
{
"name": "MobileScreen.StartBrightnessListener",
"android": "com.srwiez.plugins.mobilescreen.MobileScreenFunctions.StartBrightnessListener",
"ios": "MobileScreenFunctions.StartBrightnessListener",
"description": "Start listening for brightness changes"
},
{
"name": "MobileScreen.StopBrightnessListener",
"android": "com.srwiez.plugins.mobilescreen.MobileScreenFunctions.StopBrightnessListener",
"ios": "MobileScreenFunctions.StopBrightnessListener",
"description": "Stop listening for brightness changes"
}
],
"android": {
"min_version": 21,
"permissions": [],
"dependencies": {
"implementation": []
},
"activities": [],
"services": [],
"receivers": [],
"providers": []
},
"ios": {
"min_version": "13.0",
"info_plist": {},
"dependencies": {
"swift_packages": [],
"pods": []
}
},
"events": [
"SRWieZ\\NativePHP\\Mobile\\Screen\\Events\\BrightnessChanged"
],
"hooks": {}
}