Skip to content

Capacitor plugin for displaying Open Source Software libraries licenses natively

Notifications You must be signed in to change notification settings

srsly4/capacitor-oss-notices

Repository files navigation

Node version

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


About

Capacitor plugin for displaying Open Source Software libraries licenses natively

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published