User login

Troubles with SlideLock

So if my license accepted, but where i can define rights?

someRights = myLicense.getRights("TestFeature");

it returns empty value

Do you mean Null value?

This should return non-null value on Emulator with deviceId "000..." as specified by SlideLock QuickStart guide, as long as you have digested the license as specified in the sample code.

Yes was null

Ahaa...so for test i should use key defined in a sample? (i was using the own key)...

Big thanks!

So there is another question =)
using debug i see there is :

FullRights:

signature: bf71ff...
permission: 97b315c...

myLicense.digest(("bf71ff75377f529bafc33fc0101fee94:"+
"97b315c743bf8b962043876ed04855fe\n"+

"TestFeature" :

"3cccbf20faadf4a0a5977a483ba45757:"+
"bf8ad256d69fa98b9facca6fb43cb233").getBytes());

so, as i'm understand, if user buy application, and run on the device - myLicense.getFullRights(); will return license and user can use all features of application, but if user run from another device, fullRights will return null an user will have limited application edition? i'm right?

You are right

Although you are right with what happens when you try to run the application on another device, it is up to you, the Vendor/Developer, to decide if you allow the application to run with a limited set of features or if you are not allowing it to run at all, knowing that there is no legit purchase for that device.

Last question

Thanks for reply, so correct me if i'm wrong, if i'm copy and run application on another phone (who not buy application), then during checking license it will return Null as FullRights?

Yes? thanks

Exactly

You are right. That is the expected behavior.

Thank You,
SlideLock Team