-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnativephp.json
More file actions
76 lines (72 loc) · 2.41 KB
/
nativephp.json
File metadata and controls
76 lines (72 loc) · 2.41 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
76
{
"namespace": "Microphone",
"bridge_functions": [
{
"name": "Microphone.Start",
"android": "com.nativephp.microphone.MicrophoneFunctions.Start",
"ios": "MicrophoneFunctions.Start",
"description": "Start microphone recording"
},
{
"name": "Microphone.Stop",
"android": "com.nativephp.microphone.MicrophoneFunctions.Stop",
"ios": "MicrophoneFunctions.Stop",
"description": "Stop microphone recording and dispatch event"
},
{
"name": "Microphone.Pause",
"android": "com.nativephp.microphone.MicrophoneFunctions.Pause",
"ios": "MicrophoneFunctions.Pause",
"description": "Pause the current recording"
},
{
"name": "Microphone.Resume",
"android": "com.nativephp.microphone.MicrophoneFunctions.Resume",
"ios": "MicrophoneFunctions.Resume",
"description": "Resume a paused recording"
},
{
"name": "Microphone.GetStatus",
"android": "com.nativephp.microphone.MicrophoneFunctions.GetStatus",
"ios": "MicrophoneFunctions.GetStatus",
"description": "Get current recording status"
},
{
"name": "Microphone.GetRecording",
"android": "com.nativephp.microphone.MicrophoneFunctions.GetRecording",
"ios": "MicrophoneFunctions.GetRecording",
"description": "Get path to last recording"
}
],
"android": {
"min_version": 33,
"permissions": [
"android.permission.RECORD_AUDIO"
],
"dependencies": {
"implementation": []
},
"services": [
{
"name": ".services.AudioRecordingService",
"exported": false,
"foregroundServiceType": "microphone"
}
]
},
"ios": {
"min_version": "18.2",
"info_plist": {
"NSMicrophoneUsageDescription": "This app needs access to the microphone to record audio",
"UIBackgroundModes": ["audio"]
},
"dependencies": {
"swift_packages": [],
"pods": []
}
},
"events": [
"Native\\Mobile\\Events\\Microphone\\MicrophoneRecorded",
"Native\\Mobile\\Events\\Microphone\\MicrophoneCancelled"
]
}