I am looking at including a library from Github on my next project that has different tiers. It claims that the lowest free tier is licensed under GPL 2, however to use advanced functions you need to pay for a license. This is a pretty standard model on Github. The interesting thing though is that all the code for the advanced functions are included in the same package in Github, and there is a license file that explicitly states "(app) is licensed under the GNU General Public License v2.0... etc".
Additionally, in the source of the main file there is the license below:
@license This version of [app] is distributed under GPL 2.0 license and can be legally used in GPL projects. To use [app] in non-GPL projects (and get Pro version of the product), please obtain Commercial/Enterprise or Ultimate license on our site https://[url] or contact us at [email] (c) [company]
My reading on this is that if I download the code and all the advanced functions are included along with the GPL 2 license, then there's no legal reason to pay for the license? Is that correct?
Note that I'm not advising that they should not get paid, they worked hard and deserve their due, I'm curious about the legalities here.