capacitor-oss-notices
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

capacitor-oss-notices

Provides native bridge for displaying Open Source licenses from Gradle and Pod dependencies

Install

npm install capacitor-oss-notices
npx cap sync

Android setup

Add to your Android root's build.gradle a buildscript dependency:

classpath 'com.google.android.gms:oss-licenses-plugin:0.10.4'

And at the end of the app's build.gradle:

apply plugin: 'com.google.android.gms.oss-licenses-plugin'

$$ iOS setup Add at the end of your Podfile a post install hook:

post_install do |installer|
  pods_dir = File.dirname(installer.pods_project.path)
  at_exit { `ruby #{pods_dir}/Carte/Sources/Carte/carte.rb configure` }
end

API

showNotices()

showNotices() => any

Returns: any


Dependencies (0)

    Dev Dependencies (14)

    Package Sidebar

    Install

    npm i capacitor-oss-notices

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    14.7 kB

    Total Files

    25

    Last publish

    Collaborators

    • srsly4