Provides native bridge for displaying Open Source licenses from Gradle and Pod dependencies
npm install capacitor-oss-notices
npx cap sync
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
showNotices() => any
Returns: any