Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

iCloud Support
Started by guruk May 09 2012 05:24 AM

35 replies to this topic
[TOPIC CONTROLS]
Page 1 of 2 1 2
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

guruk

[GLOBAL: userInfoPane.html]
guruk
  • Pro
  • PipPipPipPipPipPip
  • 578 posts
  • Jedi

Hi there,
any news about iCloud Support

my users flood me with requests so they can sync their data
between iPhone and iPad.

+1 if you like that

also an own AnsCa Cloud (AC) would be cool :) as so Users could also
sync between iOS and Android

+2 if you like that :)

chris
uid: 4795 topic_id: 26118 reply_id: 326118


[TOPIC: post.html]
#2

peach pellen

[GLOBAL: userInfoPane.html]
peach pellen
  • Alumni
  • PipPipPipPipPipPip
  • 8,866 posts
  • Jedi

Moved to feature request.
uid: 52491 topic_id: 26118 reply_id: 105812


[TOPIC: post.html]
#3

lano78

[GLOBAL: userInfoPane.html]
lano78
  • Starter
  • PipPipPipPipPipPip
  • 370 posts
  • Jedi

native.setSync("fileName", { iCloudBackup = BOOL } )
native.getSync("fileName", { key = "iCloudBackup" } )
uid: 13560 topic_id: 26118 reply_id: 105858


[TOPIC: post.html]
#4

peach pellen

[GLOBAL: userInfoPane.html]
peach pellen
  • Alumni
  • PipPipPipPipPipPip
  • 8,866 posts
  • Jedi

Brand new API page: http://developer.anscamobile.com/reference/index/nativegetsync :)

(Note you will need the newest daily build.)
uid: 52491 topic_id: 26118 reply_id: 105978


[TOPIC: post.html]
#5

guruk

[GLOBAL: userInfoPane.html]
guruk
  • Pro
  • PipPipPipPipPipPip
  • 578 posts
  • Jedi

wohhh great
so from now iCloud is supporter, right?
that would be great news!
im just on travel and cant test immediatly, therefore
my question ;)
thx
chris
uid: 4795 topic_id: 26118 reply_id: 106048


[TOPIC: post.html]
#6

peach pellen

[GLOBAL: userInfoPane.html]
peach pellen
  • Alumni
  • PipPipPipPipPipPip
  • 8,866 posts
  • Jedi

http://blog.anscamobile.com/2012/05/per-file-icloud-backups-and-other-changes/ :) That answers and clarifies some other points.
uid: 52491 topic_id: 26118 reply_id: 106150


[TOPIC: post.html]
#7

guruk

[GLOBAL: userInfoPane.html]
guruk
  • Pro
  • PipPipPipPipPipPip
  • 578 posts
  • Jedi

one question... as i am on travel and can't test as needed .

now i implemented that get sync and set sync option
for my database in the documents directory.

when i set set sync = true... does it mean it does backup to iCloud
and even more important does that mean it will download it to
other devices that use the same iCloud account?

than it would real syncing... otherwise i don't see a real sense for
that feature as long the data is somewhere in the cloud and i could not access it.

please clarify.

thx
chris
uid: 4795 topic_id: 26118 reply_id: 106287


[TOPIC: post.html]
#8

guruk

[GLOBAL: userInfoPane.html]
guruk
  • Pro
  • PipPipPipPipPipPip
  • 578 posts
  • Jedi

hi, can i get an answer on that???

thx
chris
uid: 4795 topic_id: 26118 reply_id: 107772


[TOPIC: post.html]
#9

naveen_pcs

[GLOBAL: userInfoPane.html]
naveen_pcs
  • Pro
  • PipPipPipPipPipPip
  • 194 posts
  • Jedi

I'd like to know the same thing as Chris, but so far it seems like this new API is just to tell iCloud which files should backup. It cannot be used to actually sync your game save across multiple devices. Are there any plans for cross-device syncing via iCloud?
uid: 51654 topic_id: 26118 reply_id: 107778


[TOPIC: post.html]
#10

guruk

[GLOBAL: userInfoPane.html]
guruk
  • Pro
  • PipPipPipPipPipPip
  • 578 posts
  • Jedi

so what is the prob.
when it makes a backup to the cloud.... why does it not sync to the devices.
thought thats how iCloud works....

uid: 4795 topic_id: 26118 reply_id: 107785


[TOPIC: post.html]
#11

naveen_pcs

[GLOBAL: userInfoPane.html]
naveen_pcs
  • Pro
  • PipPipPipPipPipPip
  • 194 posts
  • Jedi

I'm pretty sure that there's 2 different things for iCloud.

1) iCloud Backup
2) iCloud Game Sync

1) This is just when iCloud backs up what you have in the documents folder (what the new Corona API supports). When you get a new device, you can "restore from backup via iCloud" which will restore your game save.

2) This is for a user that has multiple devices. You can sync the save data so that the player can play on their iPad, and then continue right where they left off on their iPhone. This requires figuring out where the "latest" data is (iPad or iPhone) and making sure that there are no game sync conflicts (the user might be playing on their iPad, but they don't have a Wifi connection). As far as I can tell, Corona does not support this iCloud Game Syncing.

Please correct me if I'm wrong; I'd be happy to find out that Corona does support number 2 :)
uid: 51654 topic_id: 26118 reply_id: 107792


[TOPIC: post.html]
#12

guruk

[GLOBAL: userInfoPane.html]
guruk
  • Pro
  • PipPipPipPipPipPip
  • 578 posts
  • Jedi

ok... thats till now the best explanation ... thanks....
so backup... hmmm to test that I would have to bring one of my devices into factory setting mode.
...hmm don't like to do that now...

and 2. game sync... yes thats what I am looking for...
hope Corona will support that soon.... as its an essential feature that iOS does offer.

thx
chris
uid: 4795 topic_id: 26118 reply_id: 107793


[TOPIC: post.html]
#13

dooq

[GLOBAL: userInfoPane.html]
dooq
  • Pro
  • PipPip
  • 11 posts
  • Member

+1 request for full iCloud syncing from corona
uid: 52260 topic_id: 26118 reply_id: 114037


[TOPIC: post.html]
#14

guruk

[GLOBAL: userInfoPane.html]
guruk
  • Pro
  • PipPipPipPipPipPip
  • 578 posts
  • Jedi

2 years on that....

is it such a huge development to implement that feature?

all users would benefit from it!

 

sarcastic on:

    but maybe you are busy with a very important new

   new 3D super dupper flare reflection whatever feature

   that a few Devs 'could' like.

sarcastif off:
 



[TOPIC: post.html]
#15

DavidRangel

[GLOBAL: userInfoPane.html]
DavidRangel
  • Corona Staff
  • 797 posts
  • Jedi

guruk - we get surprisingly few requests for this and it is not a high priority right now. You could implement with Corona Enterprise if necessary.



[TOPIC: post.html]
#16

guruk

[GLOBAL: userInfoPane.html]
guruk
  • Pro
  • PipPipPipPipPipPip
  • 578 posts
  • Jedi

hi david,

thanks for answering.

 

for sure i have some thoughts

 

1. how many requests did u had to do "corona Cards" and lots of the fancy GFX Stuff?

    I guess it was all in your thought that it could be nice. THIS Feature would be really useful and lots of devs

   dont even know what they would do good for their users!

 

2. is it really such a hugh project to implement a few parameters needed for that to register the Backup with iOS/Google?

 

please think about

 

greets

chris



[TOPIC: post.html]
#17

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Corona Staff
  • 9,954 posts
  • Jedi

Actually it's a huge project and not a few simple parameters.  Perhaps this can give some insight into what's involved:

 

http://www.objc.io/issue-10/icloud-document-store.html

 

Corona uses Lua's simple File I/O routines to create files in a cross platform way.  In looking at the native code needed to do it, It doesn't look that it's not particularly hard for a single app.  There are a lot of parts and it seems that depending on your data type there could be different ways to do this.  It would be much harder to implement in a generic way that everyone could use.

 

Perhaps with the iOS 8/Yosemite push to do more with iCloud Apple may make this easier with their new CloudKit API.

 

Rob



[TOPIC: post.html]
#18

guruk

[GLOBAL: userInfoPane.html]
guruk
  • Pro
  • PipPipPipPipPipPip
  • 578 posts
  • Jedi

thanks Rob,

and whats about google backup.

As i see its just around 3-4 parameters that would need to be set . 

(something in the manifest(

and its NOT about SYNC, just that the data in the Documents folder come saved and when the user gets a new phone this folder is restored

 

greets

chris



[TOPIC: post.html]
#19

ingemar

[GLOBAL: userInfoPane.html]
ingemar
  • Enterprise
  • PipPipPipPipPipPip
  • 2,357 posts
  • Jedi

I'd say that Sync is not an option. As soon as you start saving documents in the cloud, sync is mandatory.

 

Let say you have an app that stores data in the cloud. Your user has an iPhone and an iPad with the app installed. The user edits data on the iPhone. Later the user uses the iPad to edit data. What if there was no internet connection when the iPhone was used? How to determine which data is current? Sync is the only option.

 

It would be a different story if we could assume that a user only owns one device at any given time, but it's not that simple.



[TOPIC: post.html]
#20

guruk

[GLOBAL: userInfoPane.html]
guruk
  • Pro
  • PipPipPipPipPipPip
  • 578 posts
  • Jedi

i agree.. syncing can by tricky,

but BACKUP as a standart feature is what kinda every user request.

They dont like to register  at any cloud or backup system extra. 

Most Users even dont think about, right?

ONLY when they lost their device, broke it or change it, suddently they find out "UPS, my data is gone"

And then they write us, "hey, what a stupid app, when I got my new phone, all other apps got their data, only in ur app all data is gone.

I lost months of Information !!"

 

so .... THATS a Feature I would say that would REALLY BENEFIT our all Users. NO?

 

Greets

Chris



[TOPIC: post.html]
#21

ingemar

[GLOBAL: userInfoPane.html]
ingemar
  • Enterprise
  • PipPipPipPipPipPip
  • 2,357 posts
  • Jedi

I understand what your saying, but those same users will still complain loudly if they restore data and then see that it isn't up-to-date due to lack of syncing.



[TOPIC: post.html]
#22

ingemar

[GLOBAL: userInfoPane.html]
ingemar
  • Enterprise
  • PipPipPipPipPipPip
  • 2,357 posts
  • Jedi

I haven't used this myself, but couldn't the following be used as an option for cloud data storage / backup?

http://coronium.io



[TOPIC: post.html]
#23

guruk

[GLOBAL: userInfoPane.html]
guruk
  • Pro
  • PipPipPipPipPipPip
  • 578 posts
  • Jedi

thanks, i know about the 3rd party app to do Cloud Features like backup.

For now i even made my own cloud server.

 

BUT, there is a FREE simple Backup Feature already there in iOS and Android and 

we just dont use it, thats the point?

 

Users can always complain about anything, thats true.

But its a different if they loose 1/2 Year of data or maybe just the last few Days.

I guess it has a reason why so many other Apps implemented that FREE Backup Feature

and why its even standart activated in most Android Devices.

 

Its about SIMPLICITY and that the user would not need to think about anything

BUT in the Case of Loose, he would have some backup and not lost at all

 

greets

chris



[TOPIC: post.html]
#24

ingemar

[GLOBAL: userInfoPane.html]
ingemar
  • Enterprise
  • PipPipPipPipPipPip
  • 2,357 posts
  • Jedi

Fair enough. Any backup is better than no backup...



[TOPIC: post.html]
#25

Christopher Bishop

[GLOBAL: userInfoPane.html]
Christopher Bishop
  • Pro
  • PipPipPipPipPipPip
  • 339 posts
  • Jedi

If you drop the documents in the documents folder it is just a matter of telling your device to allow that app to use iCloud.




[topic_controls]
Page 1 of 2 1 2
 
[/topic_controls]