Skip to content

Next iOS major version plan #557

@marandaneto

Description

@marandaneto

Description

  • Codable support
  • Remove deprecated fields
  • Completion handler support
  • Migrate to Swift 6 (and strong concurrency?)
  • setup method should take the projectToken and not the PostHogConfig
  • async/await instead of callbacks
  • strongly typed PostHogEvent.properties for known values but still accepts any key/value?
  • breakdown session replay and error tracking in modules to reduce binary size due to libp and plcrashreporter and also naming clashes
  • Remove fields eg properties.build in favor of only properties.$app_build, maybe there are more similar to this one
  • Remove session replay wireframe mode?
  • Simplify config file (eg sessionReplay should be part of PostHogSessionReplayConfig)
  • Remove internal fields that are public
  • Config should be nullable and prefer remote config if not set (eg sessionReplay = false (false), sessionReplay = true && remote config is true (true), sessionReplay = nil && remote config is true (true), this matches the JS SDK)
  • Prob a bunch of ideas from this

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions