Post not yet marked as solved
I'm seeing a notification come in through PushKit for my FileProvider extension on iOS:
func pushRegistry(_ registry: PKPushRegistry, didReceiveIncomingPushWith payload: PKPushPayload, for type: PKPushType, completion: @escaping () -> Void) {
print("FileProvider::pushDelegate::didReceiveIncomingPush", type.rawValue, payload.dictionaryPayload)
}
For example, I'm seeing:
FileProvider::pushDelegate::didReceiveIncomingPush PKPushTypeFileProvider [AnyHashable("aps"): {
"" = "{\"container-identifier\":\"NSFileProviderRootContainerItemIdentifier\"}";
}]
But I'm not getting a ping to enumerateChanges in the enumerator that is currently active. What would cause this?
Post not yet marked as solved
At least one other user has been asking for the FileProvider validation tool on this forum. I'd like to know when this will be placed back, because it currently looks like Apple doesn't care about companies trying to integrate with Files.app.
The documentation is lacking, unclear or dubious, sometimes even outdated. Please give us the FileProvider Validation Tool back.
Post not yet marked as solved
If I create a VM with the Virtualization framework, I would eventually get an .ipsw file. Can I edit that file, or run a script after booting a VM with Virtualization, so that I can get some things setup like Homebrew?
Post not yet marked as solved
Hi all,
I'm working on a FileProvider extension and I'm getting kind of lost. My questions:
The working set of the app is local, offline and shouldn't contact the cloud. Do I build a working set on-device, or should I -after login- collect all working set data and cache it on device and signal a change to the working set?
My assumption is that I don't save folder nodes to disk when enumerated from the cloud, but only the actual files, is that correct?
Thanks in advance and have a wonderful day!
Post not yet marked as solved
Hi all,
I'm wondering if anyone could help me out. I'm working on the file actions and I've noticed that when I want to reparent an item, I first update it locally and call the completionHandler. Then I update it on the server and call NSFileProviderManager.default.signalEnumerator(identifier:completionHandler), but the UI won't stop showing the refresh indicator and ultimately crash.
What am I doing wrong?