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.
You can use Google Drive to back up content on your iPhone and iCloud account.
Google products – Stadia, Google Ads, Google Assistant This service is available on mobile devices, both Android and iOS. On November 18th, 2019, UI Engineering Lead confirmed that the Stadia app was built using the Flutter SDK. The Stadia team decided to use this technology during the prototyping stage of the project.
When you first set up iCloud on a device, iCloud storage is automatically turned on for certain apps. Some iCloud features are also turned on automatically. You can turn these on or off at any time and customize the settings for each device.
Google Drive, same as other open APIs from Google, has RESTful endpoints. But using the SDK is slightly easier and less error-prone. google_sign_in allows users to sign in to their Google Account. We will also use that to ask for permission to access Google Drive. We can create an app from Android studio: File > New > New Flutter Project ….
We can create an app from Android studio: File > New > New Flutter Project …. We call the app google_drive_demo_app and give it a package name com.demo.googledrivedemoapp. Alternatively, you can also use the following command to initialize a new application:
Flutter is an open source project, with contributions from Google and other companies and individuals. Who uses Flutter? Developers inside and outside of Google use Flutter to build beautiful natively-compiled apps for iOS and Android. To learn about some of these apps, visit the showcase.
You can run your app without these checks by using either the --profile or --release flag to flutter run. If your IDE uses the Flutter plugin, you can launch the app in profile or release mode. For IntelliJ, use the menu entries Run > Flutter Run in Profile Mode or Release Mode. What programming paradigm does Flutter’s framework use?
The icloud_storage package does upload and download with iCloud.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With