innerr/plugin-media-permissions
最新稳定版本:1.0.0
Composer 安装命令:
composer require innerr/plugin-media-permissions
包简介
NativePHP plugin that contributes iOS Info.plist usage descriptions for camera, microphone, and photo library access (Innerr).
README 文档
README
Contributes iOS Info.plist usage descriptions required for camera, microphone, and photo library access in the Innerr app.
This is a manifest-only plugin: it has no bridge functions or native code. Its sole purpose is to inject the correct NS*UsageDescription entries into the generated iOS Info.plist via the NativePHP manifest merge process.
Installation
Add this package as a path repository in the consuming app's composer.json:
"repositories": [ { "type": "path", "url": "./packages/voicecode-bv/nativephp-plugin-innerr-media-permissions" } ]
Then install and register:
composer require voicecode-bv/nativephp-plugin-innerr-media-permissions # First time only: publish the plugins provider php artisan vendor:publish --tag=nativephp-plugins-provider # Register the plugin php artisan native:plugin:register voicecode-bv/nativephp-plugin-innerr-media-permissions # Verify php artisan native:plugin:list
What it contributes
| Key | Description |
|---|---|
NSCameraUsageDescription |
To upload media to your circles, Innerr requires camera access. |
NSMicrophoneUsageDescription |
To make new recordings, Innerr requires microphone access to record video with audio. |
NSPhotoLibraryUsageDescription |
Before you can post media to your circles, Innerr requires photo library access to select media. |
NSPhotoLibraryAddUsageDescription |
This app needs permission to save photos and videos to your library. |
To change the wording, edit nativephp.json in this package and rebuild the iOS app.
License
MIT
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 10
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-14