how to Add Apache License 2.0 in an Android App which is using a library powered by Apache
Asked Answered
W

1

7

I need my app to use a library project which is powered by Apache, i'm only liable to use that library if i add Apache License 2.0 in my app. My question is that where to add the license in the app?

Is it okay, if i add the boilerplate notice only in the About Section of the app.

Boilerplate notice:

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Woozy answered 29/8, 2016 at 5:0 Comment(7)
As an example, if you look at the Google Play application, the open source licenses are listed in Settings under the title About. So, yes. Adding the license in the About Section of your app should be good enough.Monoclinous
thanks @IceMAN for the response, could you please clarify more that is it okay to use only boilerplate notice or to state the whole Apache License 2.0.Woozy
I would go with the entire license. If the library requires the entire license then play safe and post it in it's entirety.Monoclinous
Ok, Thanks alot for your valuable help :) @IceMANWoozy
I'm voting to close this question as off-topic because this is a question about legal advice, not programmingMaryrose
I'm voting to close this question as off-topic because - not relevant.Mandorla
I’m voting to close this question because this is a legal question, not a programming one.Invocation
P
1

You can use OSS Licenses Gradle Plugin to your app. This Gradle plugin scans the POM dependencies of a project at compile time. When a Maven POM exists for a direct dependency of the app, the plugin processes the element and embeds the link and title of each license in an Android asset in the final app APK.

Refer the following link for details: https://github.com/google/play-services-plugins/tree/master/oss-licenses-plugin

Paten answered 8/12, 2020 at 17:47 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.