Skip to content
Open
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
2 changes: 2 additions & 0 deletions ios/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ profile

DerivedData/
build/
.build/
.swiftpm/
GeneratedPluginRegistrant.h
GeneratedPluginRegistrant.m

Expand Down
Empty file removed ios/Assets/.gitkeep
Empty file.
4 changes: 2 additions & 2 deletions ios/disk_space_plus.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ A new Flutter plugin project.
s.license = { :file => '../LICENSE' }
s.author = { 'Your Company' => 'email@example.com' }
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.source_files = 'disk_space_plus/Sources/disk_space_plus/**/*.swift'
s.dependency 'Flutter'
s.platform = :ios, '12.0'

Expand All @@ -27,5 +27,5 @@ A new Flutter plugin project.
# required reason APIs, update the PrivacyInfo.xcprivacy file to describe your
# plugin's privacy impact, and then uncomment this line. For more information,
# see https://developer.apple.com/documentation/bundleresources/privacy_manifest_files
# s.resource_bundles = {'disk_space_plus_privacy' => ['Resources/PrivacyInfo.xcprivacy']}
s.resource_bundles = {'disk_space_plus_privacy' => ['disk_space_plus/Sources/disk_space_plus/PrivacyInfo.xcprivacy']}
end
26 changes: 26 additions & 0 deletions ios/disk_space_plus/Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// swift-tools-version: 5.9
import PackageDescription

let package = Package(
name: "disk_space_plus",
platforms: [
.iOS("12.0")
],
products: [
.library(name: "disk-space-plus", targets: ["disk_space_plus"])
],
dependencies: [
.package(name: "FlutterFramework", path: "../FlutterFramework")
],
targets: [
.target(
name: "disk_space_plus",
dependencies: [
.product(name: "FlutterFramework", package: "FlutterFramework")
],
resources: [
.process("PrivacyInfo.xcprivacy")
]
)
]
)
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ extension UIDevice {

}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
<key>NSPrivacyTracking</key>
<false/>
</dict>
</plist>
</plist>