Ask HN: How to hobble open-source library for free license tier
I want to harden it to an extent that it's just too much of a pain to try to hack around the free license limitations for your average developer, but doesn't have to be bullet-proof. One constraint is that it can't go out to a server. Has to be all self-contained client-side.
A half-baked idea that sprang from my complete beginner crypto knowhow:
The hash of some parts of the source code (internal method and class names, etc., accessed runtime through reflection) results in the configuration variable. Library is for Android in Java by the way but answers for other languages/runtimes would be cool too. Can't figure out a good way to prevent subsequently modifying that variable at runtime though.