Skip to content

mParticle-Apple-SDK 8.31.0 crash with nil userActivity.webpageURL #355

@nbeadman

Description

@nbeadman

We were forced to do a hot fix last Friday due to a crash in the mParticle SDK that was fixed in 8.31.0 in fix: MPAppNotificationHandler webpageURL issue PR #353.

Now the SDK crashes in 

<compiler-generated> - Line 
@objc MPLaunchInfo.init(URL:options:) + 1912

when called from

MPBackendController.m - Line 383 
-[MPBackendController_PRIVATE processDidFinishLaunching:] + 383

which has the same underlying issue, in that MPLaunchInfo was rewritten in Swift in refactor: Port MPLaunchInfo to Swift by BrandonStalnaker · Pull Request #329 · mParticle/mparticle-apple-sdk and URL cannot be nil.

However, there is nothing in the MPBackendController.m that checks that userActivity.webpageURL is not nil.

I have also submitted this issue to the support portal as ticket: 21240

Any information on how we can work around this issue or even reliably reproduce it would be useful as we are currently relying on Firebase Crashlytics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions