Socket
Socket
Sign inDemoInstall

vision-camera-plugin-builder

Package Overview
Dependencies
0
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    vision-camera-plugin-builder

Generate Vision Camera plugin boilerplate


Version published
Weekly downloads
39
decreased by-36.07%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Vision Camera Plugin Builder

Vision Camera Plugin Builder logo
A CLI to easily create VisionCamera Frame Processor Plugins in a few seconds!

🚀 Usage

npx vision-camera-plugin-builder@latest ios
npx vision-camera-plugin-builder@latest android

After generating native files, cli will output additional post-setup info

Supported versions

vision-camera-plugin-builderreact-native-vision-camera
>= 0.7.03.8.0+
>= 0.5.03.5.0+
>= 0.3.03.0.0+
< 0.3.02.0.0+

Library use case

For vision-camera-<pluginName>, it generates:

  • Android - inside Android source set:
    ├── android/src/main/<packageName>
    │   ├── <pluginName>
    │   ├──   ├── <pluginName>Plugin.(java|kt)
    │   ├── <pluginName>PluginPackage.(java|kt)
    
  • iOS - inside iOS library's source code folder:
    ├── ios
    │   ├── <pluginName>
    │   ├──   ├── <pluginName>Plugin.(m|mm)
    │   ├──   ├── <pluginName>Plugin.Swift (if Swift selected)
    

In case of library use case the CLI will output how to proceed with additional steps for library's .podspec and build.gradle files

Application use case

For local usage inside application, it generates:

  • Android - inside Android source set:
    ├── android/src/main/<packageName>
    │   ├── <pluginName>
    │   ├──   ├── <pluginName>Plugin.(java|kt)
    │   ├──   ├── <pluginName>PluginPackage.(java|kt)
    
  • iOS - inside iOS library's source code folder:
    ├── ios
    │   ├── <pluginName>
    │   ├──   ├── <pluginName>Plugin.(m|mm)
    │   ├──   ├── <pluginName>Plugin.Swift (if Swift selected)
    

In case of application use case the CLI will output how to proceed with additional steps for Android application linking of the plugin's package

⚙️ Options

FlagInputDescription
--projectPath (iOS only)[string]Path to .xcodeproj file
--manifestPath (Android only)[string]Path to project's Android Manifest file
--pluginName[string]Name of the plugin
--methodName[string]Name of plugin's exported method
--lang[choices]"Kotlin" or "Java" for Android & "Swift" or "ObjC" or "ObjCPP" for iOS

License

MIT

Keywords

FAQs

Last updated on 15 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc