@nativescript-community/licenses

2.0.9 • Public • Published

Installation

On iOS you need to run this first:

gem install cocoapods-acknowledgements

Usage

This plugin is a plugin to easily integrate licenses used your apps. The plugin will automatically generate licenses.json You simply need to load the licenses.json from anywhere in your app using either require('licenses.json') or require('~/licenses.json') You can then simply require that file to use it in your app. Here is an example JSON file format (moduleDescription not present on Android):

{
    "dependencies": [
        {
            "moduleName": "com.airbnb.android:lottie",
            "moduleDescription": "description",
            "moduleUrl": "https://github.com/airbnb/lottie-android",
            "moduleVersion": "3.4.2",
            "moduleLicense": "Apache License, Version 2.0",
            "moduleLicenseUrl": "https://www.apache.org/licenses/LICENSE-2.0"
        }
    ]
}

Package Sidebar

Install

npm i @nativescript-community/licenses

Weekly Downloads

10

Version

2.0.9

License

Apache-2.0

Unpacked Size

28.3 kB

Total Files

16

Last publish

Collaborators

  • dgmachado
  • classicoldsong
  • mayerlench
  • jcassidyav
  • sebjean
  • cjohn001
  • edusperoni
  • asharghi
  • farfromrefuge
  • triniwiz
  • eddyverbruggen
  • rigor789
  • walkerrunpdx
  • dnr
  • keerl
  • cvietor
  • bradmartin
  • rdlabo
  • tralves