Skip to content
Closed
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions workmanager_apple/ios/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ GeneratedPluginRegistrant.h
GeneratedPluginRegistrant.m

.generated/
.build/

*.pbxuser
*.mode1v3
Expand Down
Empty file.
4 changes: 2 additions & 2 deletions workmanager_apple/ios/workmanager_apple.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ Flutter Android Workmanager
s.license = { :file => '../LICENSE' }
s.author = { 'Your Company' => 'email@example.com' }
s.source = { :path => '.' }
s.source_files = 'Sources/workmanager_apple/**/*'
s.source_files = 'workmanager_apple/Sources/workmanager_apple/**/*.swift'
s.dependency 'Flutter'

s.ios.deployment_target = '14.0'
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
s.swift_version = '5.0'
s.resource_bundles = { 'flutter_workmanager_privacy' => ['Resources/PrivacyInfo.xcprivacy'] }
s.resource_bundles = { 'flutter_workmanager_privacy' => ['workmanager_apple/Sources/workmanager_apple/Resources/PrivacyInfo.xcprivacy'] }
end

Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,17 @@ let package = Package(
],
products: [
.library(
name: "workmanager_apple",
name: "workmanager-apple",
targets: ["workmanager_apple"]
)
],
dependencies: [],
targets: [
.target(
name: "workmanager_apple",
path: "Sources/workmanager_apple",
dependencies: [],
resources: [
.process("../Resources")
.process("Resources")
]
)
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import Foundation
import UIKit

#if os(iOS)
import Flutter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Kymer Gryson on 13/08/2019.
//

import Foundation
import UIKit

extension UIBackgroundFetchResult: CustomDebugStringConvertible {
public var debugDescription: String {
Expand Down
Loading