Hello,
I am using subscriptions in my app. I need to store subscription info for some reason so i decided to use keyvaluestore to store some private data. With the launch of the app i need to check a key with kvs with this code:
If kvs.GetEncryptedObject("gecerlitarih","password") = "ok"
but at this point, because that there is no subscription purchased by the user, there is no key stored yet as "gecerlitarih" which returns me an error :
(NullPointerException) java.lang.NullPointerException
How can i fix this?
ty