Akheon23 / marketlicensing

Automatically exported from code.google.com/p/marketlicensing
Apache License 2.0
0 stars 0 forks source link

Log error if CHECK_LICENSE permission isn't present #54

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Attempt to check for a license without CHECK_LICENSE in the AndroidManifest.xml

What is the expected output? What do you see instead?

License check will fail, and likely crash the application.

The cause of this crash is not obvious without lots of digging through logs. 
Unity developers can easily enable LVL without realizing it, which would lead 
to this scenario.

We should check for this situation, and log an appropriate error to help 
developers fix this problem.

Please use labels and text to provide additional information.

Example: 
http://randomactsofdev.wordpress.com/2012/03/06/unity-android-and-the-android-ma
rket-licensing-lvl-a-cautionary-tale/

Original issue reported on code.google.com by trevorjohns@google.com on 4 Dec 2012 at 1:57