react-native-pdf-view icon indicating copy to clipboard operation
react-native-pdf-view copied to clipboard

MIT license not compatible with GPL-3 of PDFView (Android)

Open haraldreingruber opened this issue 8 years ago • 1 comments

I am not a licensing expert, but it seems like this project is facing an OSS license compliance issue because of the Android PDFView dependency, which is published under the GPL-3 license thus not compatible with the MIT license.

One solution would be to replace PDFView (which is anyhow already marked deprecated by the original author) by the AndroidPdfViewer (https://github.com/barteksc/AndroidPdfViewer) wich is published under the Apache-2.0 license and would still allow users to use this package commercially.

In the meanwhile, it is probably a good idea to switch this project to a dual-license, MIT if only iOS is used and GPL-3 if Android is used as well.

haraldreingruber avatar Apr 28 '17 13:04 haraldreingruber

You'd be best off splitting the project into two repositories for clarity. The Android one (if it continues to use libvudroid.so) will indeed need to be shared under the terms of the GPLv3 which is the license of VuDroid (where libvudroid.so comes from).

The AndroidPdfViewer library @haraldreingruber mentions above is equally as capable and liberally licensed, so you could keep the MIT license you've selected.

BigBlueHat avatar Dec 14 '20 19:12 BigBlueHat