I was able to reproduce this with our own app as well as with apps by other developers (e.g. Documents by Readdle).Our app stores its data in the app group:Foundation.FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: AppGroupConstants.appGroupIdentifier).appendingPathComponent(File Provider Storage, isDirectory: true)!.appendingPathComponent(Media, isDirectory: true)1) Install the app from the App Store2) Add some data3) Manually offload the app (Settings -> General -> iPhone/iPad Storage -> *App Name* -> Offload App)4) Backup device to iCloud5) Reset device (Settings -> General -> Erase All Content and Settings)6) Restore device from iCloud Backup (this is important - it works with iTunes backups)7) Open the app. Because it was offloaded it gets downloaded at this point but the app group data is NOT restored.This looks like a serious bug to me.Can someone confirm this?
Search results for
offloading
179 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I've observed the same behaviour with one of our Apps - if the App is offloaded, the device will continue to recieve push notifications. Since the App is (effectively) uninstalled, it seems that there's not delegate to call-back to, and touching the notification banner does nothing, doesn't even show a message that the app has been offloaded that you would see when you touch the App icon. This behaviour persisted for me for a couple of days, although I haven't tested longer than that to know if it the APNs token remains valid indefinitely. I likewise was unable to find any definitive developer documentation about how offloaded apps effect push notifications (or technical documentation on offloaded apps in general). Were you able to find any information Sumanth?
Topic:
App & System Services
SubTopic:
Notifications
Tags:
As noted in posts such as these, the App Offload feature in iOS11 is a bit of mystery:https://forums.developer.apple.com/message/260739#260739https://forums.developer.apple.com/message/299354#299354In addition to not completely/definitely understanding what gets maintained when an App is Offloaded, I've also been unable to find any suggestion as what consistitues an unused App. For example, would receving (and displaying) remote notifications, or using Location Services on the device count as usage that would prevent an App from being offloaded? Or does the App need to enter the foreground before it's considered to have been used?We have an App which is primarily intended to notify users of significant events. These events have a location component, which may be based on current location (using Location Services on the device) or subscribed locations/topics. As a result, the expected usage pattern is tied largely to notifications and location changes, and could leave the App idle fo
All I need is to check the data on the network every three hours and issue a warning when checking.This isn’t really the intended use case for background fetch. The idea behind background fetch is that the system learns when the user is using the app and, if the user is regularly using it at specific times, the system sends the app a background fetch event before that time so that it can refresh. For example:The user might run a social media app regularly throughout the day, so the system would send that app regular background fetch events.The user might run their news app at breakfast time, so the system would send that app a background fetch event early in the morning.The user might have a second news app on their device but never run it, in which case that app would never get any background fetch events.Background fetch does not guarantee regular background fetch events. Indeed, there is no mechanism on iOS that guarantees regular execution in the background.Once your app has checked the data on the networ
Topic:
App & System Services
SubTopic:
Core OS
Tags:
We recently solved a similar issue by removing one of our contexts. We had our a main queue context writing into a private queue context which would then write to the persistent store coordinator (Same as your root context). This was done to offload saving to disk to a background queue. On iOS 12 beta 5, this seemed to be causing the deadlock. We pointed our main queue context to the store coordinator directly, and removed the final private queue context, which resolved it. Write now happen on the main thread, but the app runs.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Is it possible to make In-house distribution compatible with offloading? If not, is the Custom Distribution compatible?An in general: Can u deactivate offloading for your app as a developer? The current scenario is, that when ever our B2B app is offloaded, the user can not just redownload it via the native UI, but has to manually reinstall the Application.
AFAIK, offloading expects the app to be in the store.Perhaps an MDM vendor would be able to provide a replicated process that works w/internally distributed apps that reside on your own servers.
Topic:
Developer Tools & Services
SubTopic:
General
Tags:
With respect, herein lies the issue. If you were to handle all touch detection only in the SKScene class, that would make it easier to determine which node should receive the touch. However, in any complex system, you would (at least in my opinion) distribute touch handling to objects themselves.For example, I have a Button class that I use in all my projects, which is subclassed from SKNode. Button receives and handles its own touches, so that such logic doesn't have to be repeated multiple times in each SKScene, in each project. Buttons tend to be important elements, so you're likely to find one in each SKScene in your project, making it highly efficient to offload this particular logic to the object class. So when I want to use a button, I instantiate Button in an SKScene, feed it the functionality I want it to perform upon touching and it works out of the box.Since touch handling is distributed, you can't really loop through and consider touch fallthrough per node. Consider a custom scroll view c
Topic:
Graphics & Games
SubTopic:
SpriteKit
Tags:
In Swift Playgrounds app playgrounds keep offloading to cloud (after a period of inactivity), and I constantly have to download them again and again to use them. How to disable this and always keep all playgrounds on my device?
What I am Trying to DoI am trying to show filters on a camera feed by using a Metal view: MTKView. I am closely following the method of Apple's sample code - Enhancing Live Video by Leveraging TrueDepth Camera Data - linkWhat I Have So FarFollowing code works great (mainly interpreted from above-mentioned sample code) :class MetalObject: NSObject, MTKViewDelegate { private var metalBufferView : MTKView? private var metalDevice = MTLCreateSystemDefaultDevice() private var metalCommandQueue : MTLCommandQueue! private var ciContext : CIContext! private let colorSpace = CGColorSpaceCreateDeviceRGB() private var videoPixelBuffer : CVPixelBuffer? private let syncQueue = DispatchQueue(label: Preview View Sync Queue, qos: .userInitiated, attributes: [], autoreleaseFrequency: .workItem) private var textureWidth : Int = 0 private var textureHeight : Int = 0 private var textureMirroring = false private var sampler : MTLSamplerState! private var renderPipelineState : MTLRenderPipelineState! private var vertexCoordBuffer
Auditing:Question: What will change/improve in proper way to offload audit information (log to SIEM systems) comparable to Apple > GitHub > swift-log idea, but build into OS auditing systems?Answer:File a Radar to request streaming of OpenBSM logs to syslog.File another Radar to request macOS Catalina be upgraded with the latest version of OpenBSM, which supports exporting to plain text natively.FileVault:Question: In the WWDC Catalina beta, enabling FileVault with fdesetup includes a dialog window for user approval (see below). Is there a way to suppress this window from appearing?Answer: Dialog window was added as ransomware protection. File a Radar to request an MDM option for suppressing dialog window.Endpoint Security:Question: Will the new EndpointSecurity framework be available for iOS/iPadOS?Answer: No.Kernel Extensions:Question: Any timeline on when they will be fully deprecated?Answer: Apple does not comment on future product releases.Question: Beyond disabling SIP, are there other wa
Is it possible for MDM distributed apps to be offloaded? Is there any way to prevent an app to be exempt from offloading, if this option was enabled?
I agree w/JP, and as in the past, add this note. Your app, however well intentioned, is no replacement for proper parenting. Make an app that helps with that, not something that offers to offload that responsibility.
Topic:
Developer Tools & Services
SubTopic:
Developer Forums
Tags:
He's correct, like many have said, I went and Offloaded and removed some apps and it completed.I remembered that I had a update in iOS 11 days that did this,From my history of computers since the 90's, I think it had enough to downloa, even though I deleted and tried again - It didn't have quite enough spacevto fully extract and put all of the stuff where it needed to.This timem the screen went black for a few and it rebooted.Success! This Dark mode is quite different than on Mojave.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
He's correct, like many have said, I went and Offloaded and removed some apps and it completed.I remembered that I had a update in iOS 11 days that did this,From my history of computers since the 90's, I think it had enough to downloa, even though I deleted and tried again - It didn't have quite enough spacevto fully extract and put all of the stuff where it needed to.This timem the screen went black for a few and it rebooted.Success!
Topic:
App & System Services
SubTopic:
Core OS
Tags: