Skip to content
Draft
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
430 changes: 338 additions & 92 deletions ios/Internxt.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "2640"
wasCreatedForAppExtension = "YES"
version = "2.0">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES"
buildArchitectures = "Automatic">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "DE1D47402F87A94000E14783"
BuildableName = "InternxtFileProvider.appex"
BlueprintName = "InternxtFileProvider"
ReferencedContainer = "container:Internxt.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "Internxt.app"
BlueprintName = "Internxt"
ReferencedContainer = "container:Internxt.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = ""
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
launchStyle = "0"
askForAppToLaunch = "Yes"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES"
launchAutomaticallySubstyle = "2"
queueDebuggingEnableBacktraceRecording = "Yes">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "Internxt.app"
BlueprintName = "Internxt"
ReferencedContainer = "container:Internxt.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES"
askForAppToLaunch = "Yes"
launchAutomaticallySubstyle = "2">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "Internxt.app"
BlueprintName = "Internxt"
ReferencedContainer = "container:Internxt.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
24 changes: 24 additions & 0 deletions ios/Internxt.xcworkspace/xcshareddata/swiftpm/Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

57 changes: 57 additions & 0 deletions ios/InternxtFileProvider/FileProviderEnumerator.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
//
// FileProviderEnumerator.swift
// InternxtFileProvider
//
// Created by Ramon Candel on 9/4/26.
//

import FileProvider

class FileProviderEnumerator: NSObject, NSFileProviderEnumerator {

private let enumeratedItemIdentifier: NSFileProviderItemIdentifier
private let anchor = NSFileProviderSyncAnchor("an anchor".data(using: .utf8)!)

init(enumeratedItemIdentifier: NSFileProviderItemIdentifier) {
self.enumeratedItemIdentifier = enumeratedItemIdentifier
super.init()
}

func invalidate() {
// TODO: perform invalidation of server connection if necessary

Check warning on line 21 in ios/InternxtFileProvider/FileProviderEnumerator.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JpntBh79mlLZQaGg&open=AZ12JpntBh79mlLZQaGg&pullRequest=408
}

func enumerateItems(for observer: NSFileProviderEnumerationObserver, startingAt page: NSFileProviderPage) {

Check warning on line 24 in ios/InternxtFileProvider/FileProviderEnumerator.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove the unused function parameter "page" or name it "_".

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JpntBh79mlLZQaGh&open=AZ12JpntBh79mlLZQaGh&pullRequest=408
/* TODO:
- inspect the page to determine whether this is an initial or a follow-up request

If this is an enumerator for a directory, the root container or all directories:
- perform a server request to fetch directory contents
If this is an enumerator for the active set:
- perform a server request to update your local database
- fetch the active set from your local database

- inform the observer about the items returned by the server (possibly multiple times)
- inform the observer that you are finished with this page
*/
observer.didEnumerate([FileProviderItem(identifier: NSFileProviderItemIdentifier("a file"))])
observer.finishEnumerating(upTo: nil)
}

func enumerateChanges(for observer: NSFileProviderChangeObserver, from anchor: NSFileProviderSyncAnchor) {
/* TODO:
- query the server for updates since the passed-in sync anchor

If this is an enumerator for the active set:
- note the changes in your local database

- inform the observer about item deletions and updates (modifications + insertions)
- inform the observer when you have finished enumerating up to a subsequent sync anchor
*/
observer.finishEnumeratingChanges(upTo: anchor, moreComing: false)
}

func currentSyncAnchor(completionHandler: @escaping (NSFileProviderSyncAnchor?) -> Void) {
completionHandler(anchor)
}
}
61 changes: 61 additions & 0 deletions ios/InternxtFileProvider/FileProviderExtension.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
//
// FileProviderExtension.swift
// InternxtFileProvider
//
// Created by Ramon Candel on 9/4/26.
//

import FileProvider
import InternxtSwiftCore

class FileProviderExtension: NSObject, NSFileProviderReplicatedExtension {
required init(domain: NSFileProviderDomain) {

Check warning on line 12 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove the unused function parameter "domain" or name it "_".

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGD&open=AZ12JplGBh79mlLZQaGD&pullRequest=408
// TODO: The containing application must create a domain using `NSFileProviderManager.add(_:, completionHandler:)`. The system will then launch the application extension process, call `FileProviderExtension.init(domain:)` to instantiate the extension for that domain, and call methods on the instance.

Check warning on line 13 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGE&open=AZ12JplGBh79mlLZQaGE&pullRequest=408
super.init()
}

func invalidate() {
// TODO: cleanup any resources

Check warning on line 18 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGF&open=AZ12JplGBh79mlLZQaGF&pullRequest=408
}

func item(for identifier: NSFileProviderItemIdentifier, request: NSFileProviderRequest, completionHandler: @escaping (NSFileProviderItem?, Error?) -> Void) -> Progress {

Check warning on line 21 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove the unused function parameter "request" or name it "_".

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGG&open=AZ12JplGBh79mlLZQaGG&pullRequest=408
// resolve the given identifier to a record in the model

// TODO: implement the actual lookup

Check warning on line 24 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGH&open=AZ12JplGBh79mlLZQaGH&pullRequest=408

completionHandler(FileProviderItem(identifier: identifier), nil)
return Progress()
}

func fetchContents(for itemIdentifier: NSFileProviderItemIdentifier, version requestedVersion: NSFileProviderItemVersion?, request: NSFileProviderRequest, completionHandler: @escaping (URL?, NSFileProviderItem?, Error?) -> Void) -> Progress {

Check warning on line 30 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove the unused function parameter "request" or name it "_".

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGK&open=AZ12JplGBh79mlLZQaGK&pullRequest=408

Check warning on line 30 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove the unused function parameter "itemIdentifier" or name it "_".

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGI&open=AZ12JplGBh79mlLZQaGI&pullRequest=408

Check warning on line 30 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove the unused function parameter "requestedVersion" or name it "_".

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGJ&open=AZ12JplGBh79mlLZQaGJ&pullRequest=408
// TODO: implement fetching of the contents for the itemIdentifier at the specified version

Check warning on line 31 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGL&open=AZ12JplGBh79mlLZQaGL&pullRequest=408

completionHandler(nil, nil, NSError(domain: NSCocoaErrorDomain, code: NSFeatureUnsupportedError, userInfo:[:]))
return Progress()
}

func createItem(basedOn itemTemplate: NSFileProviderItem, fields: NSFileProviderItemFields, contents url: URL?, options: NSFileProviderCreateItemOptions = [], request: NSFileProviderRequest, completionHandler: @escaping (NSFileProviderItem?, NSFileProviderItemFields, Bool, Error?) -> Void) -> Progress {

Check warning on line 37 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove the unused function parameter "url" or name it "_".

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGN&open=AZ12JplGBh79mlLZQaGN&pullRequest=408

Check warning on line 37 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove the unused function parameter "options" or name it "_".

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGO&open=AZ12JplGBh79mlLZQaGO&pullRequest=408

Check warning on line 37 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove the unused function parameter "fields" or name it "_".

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGM&open=AZ12JplGBh79mlLZQaGM&pullRequest=408

Check warning on line 37 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove the unused function parameter "request" or name it "_".

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGP&open=AZ12JplGBh79mlLZQaGP&pullRequest=408
// TODO: a new item was created on disk, process the item's creation

Check warning on line 38 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGQ&open=AZ12JplGBh79mlLZQaGQ&pullRequest=408

completionHandler(itemTemplate, [], false, nil)
return Progress()
}

func modifyItem(_ item: NSFileProviderItem, baseVersion version: NSFileProviderItemVersion, changedFields: NSFileProviderItemFields, contents newContents: URL?, options: NSFileProviderModifyItemOptions = [], request: NSFileProviderRequest, completionHandler: @escaping (NSFileProviderItem?, NSFileProviderItemFields, Bool, Error?) -> Void) -> Progress {

Check warning on line 44 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove the unused function parameter "request" or name it "_".

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGW&open=AZ12JplGBh79mlLZQaGW&pullRequest=408

Check warning on line 44 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove the unused function parameter "changedFields" or name it "_".

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGT&open=AZ12JplGBh79mlLZQaGT&pullRequest=408

Check warning on line 44 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove the unused function parameter "item" or name it "_".

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGR&open=AZ12JplGBh79mlLZQaGR&pullRequest=408

Check warning on line 44 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove the unused function parameter "version" or name it "_".

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGS&open=AZ12JplGBh79mlLZQaGS&pullRequest=408

Check warning on line 44 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove the unused function parameter "newContents" or name it "_".

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGU&open=AZ12JplGBh79mlLZQaGU&pullRequest=408

Check warning on line 44 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove the unused function parameter "options" or name it "_".

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGV&open=AZ12JplGBh79mlLZQaGV&pullRequest=408
// TODO: an item was modified on disk, process the item's modification

Check warning on line 45 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGX&open=AZ12JplGBh79mlLZQaGX&pullRequest=408

completionHandler(nil, [], false, NSError(domain: NSCocoaErrorDomain, code: NSFeatureUnsupportedError, userInfo:[:]))
return Progress()
}

func deleteItem(identifier: NSFileProviderItemIdentifier, baseVersion version: NSFileProviderItemVersion, options: NSFileProviderDeleteItemOptions = [], request: NSFileProviderRequest, completionHandler: @escaping (Error?) -> Void) -> Progress {

Check warning on line 51 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove the unused function parameter "options" or name it "_".

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGa&open=AZ12JplGBh79mlLZQaGa&pullRequest=408

Check warning on line 51 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove the unused function parameter "request" or name it "_".

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGb&open=AZ12JplGBh79mlLZQaGb&pullRequest=408

Check warning on line 51 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove the unused function parameter "identifier" or name it "_".

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGY&open=AZ12JplGBh79mlLZQaGY&pullRequest=408

Check warning on line 51 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove the unused function parameter "version" or name it "_".

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGZ&open=AZ12JplGBh79mlLZQaGZ&pullRequest=408
// TODO: an item was deleted on disk, process the item's deletion

Check warning on line 52 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGc&open=AZ12JplGBh79mlLZQaGc&pullRequest=408

completionHandler(NSError(domain: NSCocoaErrorDomain, code: NSFeatureUnsupportedError, userInfo:[:]))
return Progress()
}

func enumerator(for containerItemIdentifier: NSFileProviderItemIdentifier, request: NSFileProviderRequest) throws -> NSFileProviderEnumerator {

Check warning on line 58 in ios/InternxtFileProvider/FileProviderExtension.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove the unused function parameter "request" or name it "_".

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JplGBh79mlLZQaGd&open=AZ12JplGBh79mlLZQaGd&pullRequest=408
return FileProviderEnumerator(enumeratedItemIdentifier: containerItemIdentifier)
}
}
45 changes: 45 additions & 0 deletions ios/InternxtFileProvider/FileProviderItem.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
//
// FileProviderItem.swift
// InternxtFileProvider
//
// Created by Ramon Candel on 9/4/26.
//

import FileProvider
import UniformTypeIdentifiers

class FileProviderItem: NSObject, NSFileProviderItem {

// TODO: implement an initializer to create an item from your extension's backing model

Check warning on line 13 in ios/InternxtFileProvider/FileProviderItem.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JpnkBh79mlLZQaGe&open=AZ12JpnkBh79mlLZQaGe&pullRequest=408
// TODO: implement the accessors to return the values from your extension's backing model

Check warning on line 14 in ios/InternxtFileProvider/FileProviderItem.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=internxt_drive-mobile&issues=AZ12JpnkBh79mlLZQaGf&open=AZ12JpnkBh79mlLZQaGf&pullRequest=408

private let identifier: NSFileProviderItemIdentifier

init(identifier: NSFileProviderItemIdentifier) {
self.identifier = identifier
}

var itemIdentifier: NSFileProviderItemIdentifier {
return identifier
}

var parentItemIdentifier: NSFileProviderItemIdentifier {
return .rootContainer
}

var capabilities: NSFileProviderItemCapabilities {
return [.allowsReading, .allowsWriting, .allowsRenaming, .allowsReparenting, .allowsTrashing, .allowsDeleting]
}

var itemVersion: NSFileProviderItemVersion {
NSFileProviderItemVersion(contentVersion: "a content version".data(using: .utf8)!, metadataVersion: "a metadata version".data(using: .utf8)!)
}

var filename: String {
return identifier.rawValue
}

var contentType: UTType {
return identifier == NSFileProviderItemIdentifier.rootContainer ? .folder : .plainText
}
}
19 changes: 19 additions & 0 deletions ios/InternxtFileProvider/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSExtension</key>
<dict>
<key>NSExtensionFileProviderDocumentGroup</key>
<string>group.com.internxt.snacks</string>
<key>NSExtensionFileProviderSupportsEnumeration</key>
<true/>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.fileprovider-nonui</string>
<key>NSExtensionPrincipalClass</key>
<string>$(PRODUCT_MODULE_NAME).FileProviderExtension</string>
</dict>
<key>RCTNewArchEnabled</key>
<true/>
</dict>
</plist>
15 changes: 15 additions & 0 deletions ios/InternxtFileProvider/InternxtFileProvider.entitlements
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.application-groups</key>
<array>
<string>group.com.internxt.snacks</string>
</array>
<key>keychain-access-groups</key>
<array>
<string>$(AppIdentifierPrefix)group.com.internxt.snacks</string>
</array>

</dict>
</plist>
12 changes: 12 additions & 0 deletions ios/InternxtFileProvider/InternxtFileProvider.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!--
InternxtFileProvider.plist
Internxt

Created by Ramon Candel on 9/4/26.
Copyright (c) 2026 ___ORGANIZATIONNAME___. All rights reserved.
-->
<plist version="1.0">
<dict/>
</plist>
4 changes: 4 additions & 0 deletions ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ target 'Internxt' do
end
end

target 'InternxtFileProvider' do
# No use_expo_modules! — InternxtSwiftCore comes via SPM
end

target 'InternxtShareExtension' do
exclude = ["expo-updates", "expo-splash-screen", "expo-dev-client", "react-native-reanimated", "react-native-screens", "react-native-safe-area-context", "react-native-gesture-handler", "react-native-video", "react-native-webview", "react-native-fast-image", "react-native-svg", "@shopify/flash-list", "react-native-pdf", "jail-monkey"]
use_expo_modules!(exclude: exclude)
Expand Down
2 changes: 1 addition & 1 deletion ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2969,6 +2969,6 @@ SPEC CHECKSUMS:
SDWebImageWebPCoder: 908b83b6adda48effe7667cd2b7f78c897e5111d
Yoga: 5934998fbeaef7845dbf698f698518695ab4cd1a

PODFILE CHECKSUM: 1c3110710c3007a8b81ff873b578769e00b42ac1
PODFILE CHECKSUM: 83c2e26d40cc53fa3dd2945f1201c024fc9ea5d3

COCOAPODS: 1.16.2
Loading