I have a lot of files in a cloud storage website. To access them, just in the browser, I have to login and then get to the files. I'm new to iOS and I want to know if it is possible to do this within my app, so when the user clicks on a button it goes to the website and fetches the file and brings it back. Is there a way to do this?
Thanks.
Your question is: How does iCloud work. Too broad. http://developer.apple.com
I used Amazon's S3. They now have their own official SDK for iOS, so in case you find the ASI S3, try to stay away from it because it is no longer being worked on.
Related
I am new to flutter and am trying to figure out if there is a way in flutter to write a file to iCloud (iOS) or google drive (Android). There seem to be APIs to do this in Swift/Android native dev, but I can't find anything in a flutter.
I essentially want my app to write on a text file in iCloud so that another install of the same app on a different phone by the same user can access that file. I'm trying to do this without my own cloud setup (no firebase etc, since it's so simple and small), so I thought iCloud/gDrive would be perfect.
The icloud_storage package does upload and download with iCloud.
The googleapis package provides rudimentary support for the Drive API. You'd want to use the google_sign_in for authentication as shown here.
I looked into it a while back but didn't continue due to how young it looked.
I've got no experience with iCloud so I can't really help you there, but I think you'd need to write your own platform plugin or use an HTTP API, if one exists.
I know that I'm late to the party but there is this module
https://pub.dev/packages/file_picker
I haven't used it myself but they seem to support iCloud
I need to read a set of spreadsheets from Google Drive in an iPad app, and these are stored in an account made specifically for the app. So, I stumbled on this https://developers.google.com/drive/service-accounts which makes total sense. But how am I supposed to use this in iOS? When using a regular account, I couldn't find a method that allows me to set the refresh token mentioned in that documentation. The service account mechanism looks even more confusing/tricky and there are no code samples in Objective-C. Has anybody got a clue?
Thanks in advance.
Can we have shared storage in iPhone which is accessible to other ios apps?
I am working on one ios app which downloads updated files from server. And there will be some other application which uses those files. So for that I want to save downloaded files on particular location. So that I can access those files from other application.
So the flow will be like this,
Application1, which will download files from server.
And
Application2 or Application3..... will use those files.
Do we have such type of shared location in iOS. Is it possible in iOS?
Thank you in advance.
No. Its not possible as your application will be in sandbox mode.
All applications are sandboxed as the other answers have said.
However, if you own both apps, or you know the developer of the other app, you could always use some sort of cloud storage, but that may defeat the point of you asking this question
You can't "share" files between in iOS, because all apps are sandboxed and can't access other files besides its own files with the public APIs.
Maybe you could combine the functionality of all the separate apps into a single app. Have each one be a module accessible from a master menu.
Read Apple Doc File System Basics
I have an app where it downloads the latest .plist from a URL. Is there a website where I can upload my plist file for free and when users go on my app, it will download the plist with no hassle?
At the moment my app is looking at the plist locally. I want to store my file online so any changes I make, can be uploaded by me and then downloaded when the app is used.
Any help would be great.
Thanks
You can store it online using a free hosted website, like the ones provided by en.altervista.org: the site looks like a subdomain (e.g. bigsman.altervista.org), it has got FTP access and other features, all free.
It's the best free solution in my humble opinion. I've already use it in some of my projects, and everything went fine.
You could use something like dropbox, or the new google storage, but you would need to check the terms and conditions to see if it is permitted.
If however you want to release your app, the best place would be your support site that you have to create as part of the process
just checking if its possible to sync iOS devices AND a web app through iCloud. Currently we've got an iOS app built, are looking at using iCloud for synching between all the devices and also want a web app component. iCloud would be great to use as the module to sync everything together.
Anyone know if it's possible ?
I have a similar requirement and have wondered about this too.
Unfortunately iCloud data doesn't seem to be accessible to a Web app. And if you found a hack around it, it would still be an unreliable solution as Apple could always make changes down the road that break your Web component, intentionally or not.
Edit: With CloudKit this is no longer true. It comes with a Javascript API for the explicit purpose of providing a web version of your app.
Sorry if I'm misunderstanding the question, but I was looking to add iCloud support to my web app recently and came across the official iCloud JS API. The promo text reads:
Keep your apps connected and up to date across iOS, OS X, and now on the web with CloudKit JS.
[emphasis added]
https://developer.apple.com/icloud/
It is really hard to determine what you mean.... If you are asking if you can implement iCloud in a web app, then I believe that the answer is 'no', since there is only an API for Objective-C for iCloud.
However, you might be able to embed your JS code inside of a native wrapper and write some native code for working with iCloud. However, that may or may not be an option depending on your particular situation.
Edited for spelling.
You could possibly do this, but only if
You where running your own server
The server was running on the iOS platform
You where able to create software in Objective-C for that server
You could then potentially write a server application, that could be used to connect to the iCloud API, then return the calls back to the end user as Json messages that could be consumed, perhaps by some html interface.