Countly.sharedInstance().userProfile() throws an exception
I updated the Countly library for Android to version "22.06.0". The function "Countly.userData.setUserData()" is no longer supported, therefore I updated "Countly.sharedInstance().userProfile().setProperties()" instead, however it still throws an exception for a null value.
Comments
Hello,
You probably used that call before initializing the SDK. If that would be the case then "Countly.sharedInstance().userProfile()" would return "null".
Could you share your init code?
Please sign in to leave a comment.