-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathnativephp.json
More file actions
66 lines (62 loc) · 2.19 KB
/
nativephp.json
File metadata and controls
66 lines (62 loc) · 2.19 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
{
"namespace": "Camera",
"bridge_functions": [
{
"name": "Camera.GetPhoto",
"android": "com.nativephp.camera.CameraFunctions.GetPhoto",
"ios": "CameraFunctions.GetPhoto",
"description": "Capture a photo with the device camera"
},
{
"name": "Camera.RecordVideo",
"android": "com.nativephp.camera.CameraFunctions.RecordVideo",
"ios": "CameraFunctions.RecordVideo",
"description": "Record a video with the device camera"
},
{
"name": "Camera.PickMedia",
"android": "com.nativephp.camera.GalleryFunctions.PickMedia",
"ios": "CameraFunctions.PickMedia",
"description": "Pick media from the device gallery"
}
],
"android": {
"min_version": 33,
"permissions": [
"android.permission.CAMERA",
"android.permission.RECORD_AUDIO",
"android.permission.FOREGROUND_SERVICE",
"android.permission.FOREGROUND_SERVICE_SHORT_SERVICE"
],
"dependencies": {
"implementation": []
},
"services": [
{
"name": ".CameraForegroundService",
"foregroundServiceType": "shortService",
"exported": false
}
]
},
"ios": {
"min_version": "18.2",
"info_plist": {
"NSCameraUsageDescription": "This app requires camera access to take photos and videos.",
"NSMicrophoneUsageDescription": "This app requires microphone access to record video with audio.",
"NSPhotoLibraryUsageDescription": "This app requires photo library access to select media."
},
"dependencies": {
"swift_packages": [],
"pods": []
}
},
"events": [
"Native\\Mobile\\Events\\Camera\\PhotoTaken",
"Native\\Mobile\\Events\\Camera\\PhotoCancelled",
"Native\\Mobile\\Events\\Camera\\VideoRecorded",
"Native\\Mobile\\Events\\Camera\\VideoCancelled",
"Native\\Mobile\\Events\\Gallery\\MediaSelected",
"Native\\Mobile\\Events\\Camera\\PermissionDenied"
]
}