countly-sdk-ios
countly-sdk-ios copied to clipboard
Crash when Remote Config value is null
If an object value is set to null, the app crashes.
Expected Behavior
Handle null values
Current Behavior
App crashes with the following error
2023-01-25 12:24:37.986568+0100 app[23264:5150263] [User Defaults] Attempt to set a non-property-list object {
"review" = 6;
banners = (
{
data = 1;
networks = "<null>";
title = "Thank you for your feedback";
}
);
"assets" = (
{
id = xxx;
weight = 100;
}
);
} as an NSUserDefaults/CFPreferences value for key kCountlyRemoteConfigPersistencyKey
Thank you for letting us know. We will add a fix for this