Skip to content

Commit a484ac5

Browse files
shanerbaner82claude
andcommitted
Set Android min_version to 26 and pin nativephp/mobile to ^3.0
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 377e8b6 commit a484ac5

2 files changed

Lines changed: 7 additions & 9 deletions

File tree

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"require": {
1313
"php": "^8.2",
14-
"nativephp/mobile": "*"
14+
"nativephp/mobile": "^3.0"
1515
},
1616
"autoload": {
1717
"psr-4": {
@@ -28,4 +28,4 @@
2828
"manifest": "nativephp.json"
2929
}
3030
}
31-
}
31+
}

nativephp.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"namespace": "Microphone",
3-
43
"bridge_functions": [
54
{
65
"name": "Microphone.Start",
@@ -39,9 +38,8 @@
3938
"description": "Get path to last recording"
4039
}
4140
],
42-
4341
"android": {
44-
"min_version": 33,
42+
"min_version": 26,
4543
"permissions": [
4644
"android.permission.RECORD_AUDIO"
4745
],
@@ -56,21 +54,21 @@
5654
}
5755
]
5856
},
59-
6057
"ios": {
6158
"min_version": "18.2",
6259
"info_plist": {
6360
"NSMicrophoneUsageDescription": "This app needs access to the microphone to record audio",
64-
"UIBackgroundModes": ["audio"]
61+
"UIBackgroundModes": [
62+
"audio"
63+
]
6564
},
6665
"dependencies": {
6766
"swift_packages": [],
6867
"pods": []
6968
}
7069
},
71-
7270
"events": [
7371
"Native\\Mobile\\Events\\Microphone\\MicrophoneRecorded",
7472
"Native\\Mobile\\Events\\Microphone\\MicrophoneCancelled"
7573
]
76-
}
74+
}

0 commit comments

Comments
 (0)