5

sync support

Hello,

I'm wondering if sync support (icloud or any other way) is a planned feature.

I'm considering buying an iPad with an Apple Pencil for more precise drawing, but I would still want to sync the progress with my iPhone since I take it with me much more often.

I tried an Adonit Dash 4 active pencil on my iPhone but up to 5% of the strokes aren't accurately detected which is pretty annoying for the Ringotan usecase.

6 replies

My understanding of iCloud is that it should sync the app's documents automatically?  I've never actually tested it though, so I have no idea.

However for one-time syncs, there is an import/export feature, which has been thoroughly tested.  You can add/remove backup files using iTunes.

If a stroke isn't detected correctly, please add it as a bug.  However note that I recently fixed a bunch of these issues in v0.20 (which has been published for Android, but I'm having issues publishing on iOS)

A

iCloud can sync app data automatically, but it needs to be baked into the app.

I don't know what kind of toolset you use to develop Ringotan, but here is some information about how this basically works: https://www.toptal.com/ios/sync-data-across-devices-with-cloudkit

If you send me information on what programming language and libraries you are using I can help with some initial research on how this could be implemented (I've programmed a few apps in the past).

Regarding stroke detection, if I'm not mistaken this mainly due to the stylus not being perfect, but if the iOS version with the fixes gets released soon I'll gladly try again before returning the stylus.

Ringotan is a Xamarin (C#) app. There's a document about it here which I'll have to read:
https://docs.microsoft.com/en-us/xamarin/ios/data-cloud/introduction-to-icloud

Based on this page..
https://developer.apple.com/documentation/foundation/optimizing_your_app_s_data_for_icloud_backup/
..
there shouldn't be anything for me to do. iCloud should backup the app database automatically.  This page..
https://learn.microsoft.com/en-us/xamarin/ios/data-cloud/introduction-to-icloud#icloud-backup
seems to agree with that. So for now I'm going to close this.

A

Yes, seems like this is the best place to start with iCloud on Xamarin.

I was pretty surprised there don't seem to be any libraries unifying this across iOS and Android.

C

Bumping this request up. Big fan of Ringotan and I'm excited to see it improving all the time!

The situation is that if one owns more than one Apple device (which a lot do), it is impossible to work with Ringotan on one of them, and sync progress over to the other device.

Would it be possible to consider looking into this once more?

As an app in the Apple ecosystem, this kind of behavior is considered to be very basic and could put off people from using it.

Once again thank you and I wish you all the best :)

I don't know if this app syncs on android (at the moment), but it would be highly appreciated in case that I get a new phone or it gets lost.

E

Hi! I wanted to bump this to both add a +1 and help add some technical insight. 

iCloud Backups refer to having your app’s data included in the OS-level backup/restore system. This is different from using iCloud to actively sync data between different devices, which is what people are asking for. 

What you’d be looking to integrate is the CloudKit API, which is separate from merely supporting iCloud backups.