1.0.0 • Published 4 years ago

capacitor-oss-notices v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

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