Skip to content

Commit

Permalink
fix: missing import for url session extensions (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
marandaneto authored Sep 12, 2024
1 parent ef274d6 commit 42809db
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## Next

- recording: missing import for url session extensions ([#194](https://github.com/PostHog/posthog-ios/pull/194))
- recording: network logs not counting the request transferSize but only the response transferSize ([#193](https://github.com/PostHog/posthog-ios/pull/193))

## 3.12.0 - 2024-09-12
Expand Down
4 changes: 2 additions & 2 deletions PostHog/Replay/CGSize+Util.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
// Created by Manoel Aranda Neto on 24.07.24.
//

import Foundation

#if os(iOS)
import Foundation

extension CGSize {
func hasSize() -> Bool {
if width == 0 || height == 0 {
Expand Down
2 changes: 2 additions & 0 deletions PostHog/Replay/URLSessionExtension.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#if os(iOS)
import Foundation

public extension URLSession {
private func getMonotonicTimeInMilliseconds() -> UInt64 {
// Get the raw mach time
Expand Down
2 changes: 1 addition & 1 deletion PostHog/UIViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
// Created by Manoel Aranda Neto on 23.10.23.
//

import Foundation
#if os(iOS) || os(tvOS)
import Foundation
import UIKit

extension UIViewController {
Expand Down

0 comments on commit 42809db

Please sign in to comment.