Skip to content

Conversation

@bsneed
Copy link
Contributor

@bsneed bsneed commented May 6, 2022

  • Added convenience methods for ObjC interop.
  • Reduced cellular info example down to just iOS to fix CI issue.

@bsneed bsneed merged commit ca8668c into main May 6, 2022
@bsneed bsneed deleted the bsneed/edgefn branch May 6, 2022 18:21
Analytics.main.add(plugin: NotificationTracking())

#if os(iOS) && !targetEnvironment(macCatalyst)
Analytics.main.add(plugin: CellularCarrier())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

public class ObjCAnalytics: NSObject {
internal let analytics: Analytics
/// The underlying Analytics object we're working with
public let analytics: Analytics
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We had to expose this for tests?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes cross-config way easier if you can init in objc and then access it later in swift if needed and vice versa.

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

Successfully merging this pull request may close these issues.

3 participants