-
-
Notifications
You must be signed in to change notification settings - Fork 197
NativeScript Plugins support #510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
I don't believe it's a good idea to: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue outlines the work breakdown for supporting NativeScript Plugins in the CLI
v1.1
Plugin commands
add
- will support everythingnpm install
supports. Will save the installed plugin inpackage.json
. The plugin itself will be installed innode_modules
.remove
- will remove the plugin. Basicallynpm uninstall ... --save
with some other magic.prepare
- hidden command that will do all the required mumbo-jumbo to install a plugin. Actually adding a plugin will be decomposed tonpm install
followed bytns plugin prepare
Supported functionality
require
of JavaScript files from the plugin.prepare
will ensure the script files are in the native platformtns_modules
folder, so that they can be required. Thepackage.json
of the plugin should also be there in case there is amain
declared.AndroidManifest.xml
andInfo.plist
)v1.2
platforms/android
platforms/android/libs
v1.3
v1.4
v1.5
The text was updated successfully, but these errors were encountered: