Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions glean-core/ios/Glean/Net/PingUploadScheduler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ func startUploader() {
/// uploader specified in the Glean `Configuration`.
///
/// This will typically be invoked by the appropriate scheduling mechanism to trigger uploading a ping to the server.
///
/// Note: The use of `UIApplication.shared` is not permitted in app extensions because app extensions run in a
/// restricted environment and cannot access the `UIApplication`.
@available(iOSApplicationExtension, unavailable)
public class PingUploadScheduler {
let httpUploader: PingUploader
let httpEndpoint: String
Expand Down