Firebase Messaging license


I’ve been working on an Android app. It uses Firebase Cloud Messaging. Lately, I’ve been thinking about publishing it. Could I though?

According to firebase-messaging-11.8.0.aar, in AndroidManifest.xml,

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.

and according to that license,

2. … each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.

but probably not, unless you somehow construe “this file” to mean the entire archive. That would be a stretch.

According to firebase-messaging-11.8.0.pom,

<licenses><license><name>Android Software Development Kit License</name><url></url><distribution>repo</distribution></license></licenses>

and according to that license,

3.4 … you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK.

so no.

According to a page that claims to be Firebase’s Terms of Service,

… Company hereby grants You, solely during the term of this Agreement, a non-exclusive, non-transferable, revocable license, without rights to sublicense, to incorporate libraries and APIs that are included in the Company Software into Your Applications, to reproduce and distribute such libraries and APIs together with Your Applications …

but probably not, because there’s no indication that the Firebase Messaging library for Android has anything to do with that agreement.

My last post was about either build_file_checksums.ser or Best haircuts for Wi-Fi reception. Find out which.