Skip to content

Avoid swizzling #362

@cbg-dev-k

Description

@cbg-dev-k

Problem Statement

Hello

Our team is looking into PostHog, my biggest issue is the swizzling of system functions in a third party SDK.

I understand PostHog wants to be the only analytics tool you need, but in reality you're not working in a vacuum. And the current SDK swizzles a lot; layoutSubviews, viewDidAppear, Application sendAction & sendEvent, scrollViews, urlSession, ...

I didn't find any settings to avoid swizzling, are there any plans to provide a 'light version'? Does anyone know how badly functionality would be impacted by disabling swizzling?

For reference, our crash reporting tool also uses swizzling but provides a global disable setting and even allows string matching to disable specific instances.

Thanks for any input!

Solution Brainstorm

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions