-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnativephp.json
More file actions
58 lines (54 loc) · 1.68 KB
/
nativephp.json
File metadata and controls
58 lines (54 loc) · 1.68 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
{
"namespace": "Device",
"bridge_functions": [
{
"name": "Device.Vibrate",
"android": "com.nativephp.device.DeviceFunctions.Vibrate",
"ios": "DeviceFunctions.Vibrate",
"description": "Vibrate the device"
},
{
"name": "Device.ToggleFlashlight",
"android": "com.nativephp.device.DeviceFunctions.ToggleFlashlight",
"ios": "DeviceFunctions.ToggleFlashlight",
"description": "Toggle the device flashlight on/off"
},
{
"name": "Device.GetId",
"android": "com.nativephp.device.DeviceFunctions.GetId",
"ios": "DeviceFunctions.GetId",
"description": "Get the unique device identifier"
},
{
"name": "Device.GetInfo",
"android": "com.nativephp.device.DeviceFunctions.GetInfo",
"ios": "DeviceFunctions.GetInfo",
"description": "Get detailed device information"
},
{
"name": "Device.GetBatteryInfo",
"android": "com.nativephp.device.DeviceFunctions.GetBatteryInfo",
"ios": "DeviceFunctions.GetBatteryInfo",
"description": "Get battery level and charging status"
}
],
"android": {
"min_version": 33,
"permissions": [
"android.permission.VIBRATE",
"android.permission.FLASHLIGHT"
],
"dependencies": {
"implementation": []
}
},
"ios": {
"min_version": "18.2",
"info_plist": {},
"dependencies": {
"swift_packages": [],
"pods": []
}
},
"events": []
}