Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when Remote Config value is null #216

Open
angelix opened this issue Jan 25, 2023 · 1 comment
Open

Crash when Remote Config value is null #216

angelix opened this issue Jan 25, 2023 · 1 comment

Comments

@angelix
Copy link
Contributor

angelix commented Jan 25, 2023

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
@ArtursKadikis
Copy link
Member

Thank you for letting us know. We will add a fix for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants