5 ms·
I write several offline mapping apps, and this is totally throwing us for a loop. We're recommending our power users not upgrade to iOS 5. Users download gigaby
by smokey_the_bear 15y ago
I write several offline mapping apps, and this is totally throwing us for a loop. We're recommending our power users not upgrade to iOS 5. Users download gigabytes of maps to their cache directory, they don't want to eat their iCloud allotment with that, or their slow their iTunes sync. But they also don't want to have to download those maps again, or find themselves in the middle of the woods without the maps they downloaded.
- andrewljohnson 15y agoI guess I will have to write a blog post for us too. I wonder if there is any chance that Apple will change how this works - it seems like this should be doomsday for a large swath of apps. (married to Smokey and partner on all these apps!)
- moonlighter 15y agoThe bigger question is why wasn't this considered DURING the iOS5 beta? If it got brought to Apple's attention during the beta cycles and they decided to not fix it then they'll most likely won't fix it now either (although it seems like they really don't have much choice here but to provide a solution one way or another)
- smackfu 15y agoAll the developers in the beta are under NDA, so they can't write attention-getting blog posts that might actually influence Apple to do something.
- moonlighter 15y agoFair point, but attention-grabbing blog posts are not the only way to get your voice heard as a developer. There's a difference between 'feedback' and 'creating public pressure'. But I hear ya...
- chacha102 15y agoIsn't this what innovation is about? Finding ways of solving problems? Is forcing apps to make more efficient of their use of space such a bad thing? From what I see, your users have 3 choices: They can use your app and use up their iCloud allotment, they can use your app and not upgrade, or they can upgrade and find a mapping app that is more efficient in its use of space.
- ghshephard 15y agoOr Apple can provide a persistent store that isn't uploaded into the iCloud.
- barista 15y agoI think this crosses the line regarding how much control Apple has over the device for which I paid!!!
- chacha102 15y agoThis argument is way over used. It is 'your' choice to upgrade to iOS5. It isn't like Chrome where there are rolling updates that just get applied. You actually have to sit at your computer for a while, download the software and than install it. Many chances to turn back.
- barista 15y agoLame argument. Microsoft offers you a "choice" of installing updates as well. What if they started deleting files put by other legitimate apps because it is slowing your computer or changing your wallpaper because its too ugly... where is the line???
- zerosandones 15y ago"Isn't this what innovation is about?" Forgive the mini-rant on semantics, but that sounds like using community as QA to solve problems you didn’t have previously - that you created. Because if that’s the new definition, Facebook’s sure been innovating when it comes to privacy issues lately. I see innovation being about the positive experiences users have with a new product (or feature), and seeing the directions they take things the original creator hadn’t imagined.
- adamjernst 15y agoPut it in Library/ (but not Library/Caches/). That's exactly the behavior you're looking for, I believe.
- Xuzz 15y agoAccording to Marco's post (what this is a thread in response to), that is also backed up to iCloud and iTunes. Only Library/Caches/ and tmp/ are not.
- spicyj 15y agoUnfortunately, that doesn't work: https://twitter.com/marcoarment/status/124583089417617408 https://twitter.com/marcoarment/status/124583089417617408
- mpakes 15y agoSee Marco's post. Apple has made it clear that anything outside of Library/Caches/, tmp/, or the app bundle will be backed up to iCloud. I have personally witnessed this with Documents/ (as expected) and even Library/Application Support/ (which I hoped would be safe, but is not). There is no current safe place to save local data that should not be backed up to iCloud.
- Someone 15y agoIf there were both "on the phone and backed up in iCloud" and of "stored only on the phone" kinds of data, either your app would decide for you whether your data is worth backing up, or it would let you decide. Apple finds both options unacceptable. The mental model for iOS is that it stores only two kinds of data: discardable because it can be reproduced, and backed up because it cannot. That ensures that all your data always is safe. You do not have to worry about losing data when your phone breaks down, or about forgetting to move some data when you upgrade. I think this also is the reason iOS devices do not have memory card slots. It complicates data management; Apple does not think that is worth the extra complexity.
- derefr 15y agoInstead of just saying "don't install iOS5", can't you continue to store files in their Documents, but tell them to flip off the sync switch for your app? http://i.imgur.com/acOje.png http://i.imgur.com/acOje.png
- high5ths 15y agoThat's what I thought, but see marchdown's comment later on this page -- he says: "Apple prohibits developers to store stuff that can be regenerated or re-downloaded. So, arguably, you can't just switch to using Documents for downloadable data." If that's true, it would prevent such a simple solution.
- smokey_the_bear 15y agoWe could, but it would involve pushing an update to the app. The 'don't install' is a stopgap for people who may be counting on using their maps this weekend. Additionally, people collect geo information with our app, tracks and waypoints that they like to backup.
- derefr 15y ago> Additionally, people collect geo information with our app, tracks and waypoints that they like to backup. That could still be persisted separately if you stuff all that into iCloud's KV store instead of relying on file backup. (Just trying to brainstorm technical solutions; not suggesting they're at all optimal.)
- sthulbourn 15y agoThe cleaning issue isn't something that just popped up with the GM build. It existed before then in some of the later betas. As a developer it's verging on the lazy to wait for the GM before you update an app for an issue that you've known about for month(s). As a developer, it's your responsibility to update your app to work with as little inconvenience to your users.
- jayfuerstenberg 15y agoGood to know there is a per-app toggle switch for this. Some of us make multi-MB files in the documents folder that weren't designed to be granular for backing up or syncing.
- Mazer23 15y agoMy app is heavily effected as well. I have a Picasa client that auto-caches photos for users. The app manages the cache and clears it when needed, but certain albums can be manually set to cache by users so they're never deleted. I wouldn't want all these photos backed up and I don't think apple would allow it. Them going through and deleting the data themselves basically breaks the app for our users though. The app: webalbumsapp.com
- asmosoinio 15y agoIs this correct: http://news.ycombinator.com/item?id=3111234 http://news.ycombinator.com/item?id=3111234 ? Add .nosync to the file/foldername in Documents and it's not synced?
- smokey_the_bear 15y agoIt doesn't seem to work for me. I moved our large data files from the library cache directory to a data.nosync directory in the documents directory. The data in the nosync folder is being backed up to iCloud.