Skip to content

Urgent ⚠️ SDK is crashing our app on startup #516

@EliotAndres

Description

@EliotAndres

Expected Behavior

Our app starts without crashing

Current Behavior

App crashes

Possible Solution

Fix your remote config

Steps to Reproduce

Use Photoroom app

Environment

  • SDK Version: 1.13.2 Amplitude Swift 1.0.12 Amplitude Code
  • Device: iPhone 16 Pro
  • OS Version: iOS 18
    I opened case 357633

Stack traces:

`AmplitudeCore`(1) await resume partial function for partial apply forwarder for closure #1 @Sendable () async throws -> AmplitudeCore.RemoteConfigClient.RemoteConfigInfo in AmplitudeCore.RemoteConfigClient._updateConfigs() -> Swift.Task<AmplitudeCore.RemoteConfigClient.RemoteConfigInfo, Swift.Error>:`
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Attempt to insert non-property list object {
    analyticsSDK =     {
    };
    sessionReplay =     {
        "sr_ios_privacy_config" =         {
            blockSelector =             (
            );
            defaultMaskLevel = light;
            maskSelector =             (
            );
            unmaskSelector =             (
            );
        };
        "sr_ios_sampling_config" =         {
            "capture_enabled" = 1;
            "disabled_reason" = "<null>";
            "sample_rate" = "0.0014000000000000002";
        };
    };
} for key config'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions