No iCloud solution?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
No iCloud solution?
Hi,
is there no iCloud solution out there?
is there no iCloud solution out there?
-
- VIP Livecode Opensource Backer
- Posts: 369
- Joined: Sun Dec 19, 2010 1:10 am
- Location: UK
- Contact:
Re: No iCloud solution?
I've not looked at it since April, but I was working on some cloud stuff - it talks to LC server from your app. Features (I'm sure everything works so far) are;
Just dug out the stacks - I had forgotten that the client also has blocking and non blocking modes - would be good to get it up and running
- storing and fetching data
- storing and fetching high scores (optional auto trim to the top N scores)
- registering devices for push notifications (iOS and android)
- sending push notifications to devices meeting criteria (iOS and android)
Just dug out the stacks - I had forgotten that the client also has blocking and non blocking modes - would be good to get it up and running
LiveCode Development & Training : http://splash21.com
Re: No iCloud solution?
I would love to have a play with this John...
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: No iCloud solution?
That sounds nice and I like to try this, but real iCloud sync isn't out there, right?
-
- VIP Livecode Opensource Backer
- Posts: 369
- Joined: Sun Dec 19, 2010 1:10 am
- Location: UK
- Contact:
Re: No iCloud solution?
Real iCloud - not that I know of, but maybe you should ask on the use list as well - you never know - someone might already have something. This is pretty basic - no sync, but maybe that's something that could be added.
I've just updated the cloud scripts, so I'll post a test stack soon if you guys still want to poke it with a stick!
I've just updated the cloud scripts, so I'll post a test stack soon if you guys still want to poke it with a stick!
LiveCode Development & Training : http://splash21.com
-
- VIP Livecode Opensource Backer
- Posts: 9802
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: No iCloud solution?
Doesn't Apple also offer an HTTP-based API like pretty much every other cloud service?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 93
- Joined: Tue Nov 17, 2009 6:47 pm
- Location: Wellington, New Zealand
Re: No iCloud solution?
John I would really interested in seeing anything that you are willing to post. It should hopefully complement/extend the recently released database/cloud Academy materials that I am currently working through at the moment. At some point I might need to tackle sync ... but first things first! Tks in advance for help and advice along the way
-
- VIP Livecode Opensource Backer
- Posts: 369
- Joined: Sun Dec 19, 2010 1:10 am
- Location: UK
- Contact:
Re: No iCloud solution?
http://owncloud.org/ was mentioned a while ago - looks really interesting. For sync, etc. this could be a good solution as you can set it up on your own server.
LiveCode Development & Training : http://splash21.com
-
- VIP Livecode Opensource Backer
- Posts: 369
- Joined: Sun Dec 19, 2010 1:10 am
- Location: UK
- Contact:
Re: No iCloud solution?
I wasn't really aiming at a sync feature, but it would be damn handy! I'd definitely like something that will work across all platforms. Re-inventing the wheel isn't necessary when there are projects like owncloud, but I don't think any of them handle things like push notifications. (?)pthirkell wrote:At some point I might need to tackle sync ... but first things first!
LiveCode Development & Training : http://splash21.com
-
- VIP Livecode Opensource Backer
- Posts: 369
- Joined: Sun Dec 19, 2010 1:10 am
- Location: UK
- Contact:
Re: No iCloud solution?
I've written up the documentation for what I have so far - if anyone is interested after reading then let me know and I'll send an API key. Everything worked fine the last time I tested (around April 2013) and I've made a couple of updates for newer versions of LC. I've marked the cloud.PushBroadcast command's query section as experimental as that was the last feature I was working on and it wasn't tested heavily.
SplashCloud-pdf.zip
SplashCloudExample1.zip
(files updated : see below)
Edit : I need to add a new command to upload the iOS push notification certificate and android push notification key - there are fields in the database for them, but I just added them manually while testing.
SplashCloud-pdf.zip
SplashCloudExample1.zip
(files updated : see below)
Edit : I need to add a new command to upload the iOS push notification certificate and android push notification key - there are fields in the database for them, but I just added them manually while testing.
Last edited by splash21 on Fri Feb 28, 2014 1:04 pm, edited 2 times in total.
LiveCode Development & Training : http://splash21.com
-
- VIP Livecode Opensource Backer
- Posts: 369
- Joined: Sun Dec 19, 2010 1:10 am
- Location: UK
- Contact:
Re: No iCloud solution?
I added a couple of commands to upload the iOS push notification certificate and the google GCM key to the server. I just tested android notifications and everything works OK, so I'll give iOS a go later.
LiveCode Development & Training : http://splash21.com
-
- VIP Livecode Opensource Backer
- Posts: 369
- Joined: Sun Dec 19, 2010 1:10 am
- Location: UK
- Contact:
Re: No iCloud solution?
Just tried testing on iOS and nothing would work
It looks like the uuid function causes a problem on iOS - seems to cause an error. I'll replace it with something else. Works OK on desktop and android.
It looks like the uuid function causes a problem on iOS - seems to cause an error. I'll replace it with something else. Works OK on desktop and android.
LiveCode Development & Training : http://splash21.com
-
- VIP Livecode Opensource Backer
- Posts: 369
- Joined: Sun Dec 19, 2010 1:10 am
- Location: UK
- Contact:
Re: No iCloud solution?
There have been a few downloads, but the uuid bug prevents things working on iOS. Here's a new updated stack that works on desktop, android AND iOS. I've also added two new commands to upload the certificate and key required for iOS and android to send push notifications. I've been sending PN's from android, iOS and the desktop to my devices, so it all seems to be working
LiveCode Development & Training : http://splash21.com