Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

A Parse.com Module for Corona SDK
Started by C. Byerley Dec 08 2013 07:24 PM

* * * * * 1 votes
85 replies to this topic
[TOPIC CONTROLS]
Page 1 of 4 1 2 3 »
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

C. Byerley

[GLOBAL: userInfoPane.html]
C. Byerley
  • Contributor

  • 835 posts
  • Corona SDK

I'm really excited to introduce a Parse module for Corona SDK I put together.  I would be really honored if folks could test it out when possible and offer feedback and/or comments.  Please consider it beta.

 

http://www.develephant.net/a-parse-com-module-for-corona-sdk/

 

The first tutorial is up on the site addressing getting setup and using analytics in Parse.  I will have lots of tutorials coming down the pipe including uploads, facebook authentication with Parse via Corona SDK, turn-based games, and more.

 

Thanks in advance.  Enjoy.



[TOPIC: post.html]
#2

jonjonsson

[GLOBAL: userInfoPane.html]
jonjonsson
  • Corona Geek

  • 1,051 posts
  • Corona SDK

Sounds good! 

 

FYI the link to the BitBucket project wiki gives "You do not have access to the wiki." I can browse the code though.



[TOPIC: post.html]
#3

C. Byerley

[GLOBAL: userInfoPane.html]
C. Byerley
  • Contributor

  • 835 posts
  • Corona SDK

Should be fixed now. Thank you for catching that!

 

Cheers.



[TOPIC: post.html]
#4

ksan

[GLOBAL: userInfoPane.html]
ksan
  • Corona Geek

  • 2,795 posts
  • Corona SDK

This is great! Parse is wonderful indeed and anything that makes it easier to use is good. Keep up the great work. Thank you very much!!!

 

Edit : I just wish we could find a way around the Android push issue on Parse for us. If that issue goes away Parse could have all my business and money! Can't believe they aren't interested in making this work for all the Corona SDK developers. Oh well. Rant over. Sorry. 



[TOPIC: post.html]
#5

C. Byerley

[GLOBAL: userInfoPane.html]
C. Byerley
  • Contributor

  • 835 posts
  • Corona SDK

@ksan I agree, I posted on the forums, and supposedly it's because they need to use a custom service that's in the native SDK's.  A real bummer though.  Perhaps this will get someone over there working on a true Corona plug-in.  One can hope.

 

Thanks for checking out the mod.  Cheers.



[TOPIC: post.html]
#6

aliennude

[GLOBAL: userInfoPane.html]
aliennude
  • Enthusiast

  • 41 posts
  • Corona SDK

Develephant: Great initiative, a turn based multiplayer tutorial will be highly appriciated. Any guestimate on when you think it`s ready?



[TOPIC: post.html]
#7

C. Byerley

[GLOBAL: userInfoPane.html]
C. Byerley
  • Contributor

  • 835 posts
  • Corona SDK

@aliennude Well... soon.  I'm hoping to cover a few other fundamentals first.  The big issue is that Parse currently doesn't support Android for push notifications via the REST API, which would be the preferred way to alert the player of a turn.  So I'll probably only be able to show an email based exchange, and then possibly expand that to include a different messaging service to handle turn updates.

 

Still thinking it all out.  Appreciate the feedback.

 

Cheers.



[TOPIC: post.html]
#8

C. Byerley

[GLOBAL: userInfoPane.html]
C. Byerley
  • Contributor

  • 835 posts
  • Corona SDK

Here are the handful of articles I've put together so far for mod_parse.

 

Setup and Analytics

User Signups and Logins

Managing Facebook Users

 

More to come.  Cheers.



[TOPIC: post.html]
#9

ubj3d.android

[GLOBAL: userInfoPane.html]
ubj3d.android
  • Contributor

  • 741 posts
  • Corona SDK

Thank you for sharing.

 

Can Parse be used for leaderboards? Turn.based games?

 

 



[TOPIC: post.html]
#10

C. Byerley

[GLOBAL: userInfoPane.html]
C. Byerley
  • Contributor

  • 835 posts
  • Corona SDK

@ubj3d.android Yes.  And I will covering both of those subjects shortly.

 

Cheers.



[TOPIC: post.html]
#11

Anderoth

[GLOBAL: userInfoPane.html]
Anderoth
  • Contributor

  • 278 posts
  • Corona SDK

@ksan I agree, I posted on the forums, and supposedly it's because they need to use a custom service that's in the native SDK's.  A real bummer though.  Perhaps this will get someone over there working on a true Corona plug-in.  One can hope.

 

Thanks for checking out the mod.  Cheers.

 

I contected Parse directly about 9 months back inquiring about a Parse Corona Plug-in and they had zero interest at that time. I therefore went ahead and upgraded to Enterprise to do something for myself.

 

You can send push notifications fine to Android through the REST API, it's the setup on android to get a device ID and the notification receiver that are needed. Realistically it was 4-5 lines in the manifest file and 1 function in Java to catch the incoming pushes and forward them to Corona.

 

My biggest issue is getting the icon in the notification to look correct. I haven't tackled that yet but I don't think it will be tough when I get around to it. The pushes work and that was my goal. I have tested them on the original Kindle Fire, Nook HD and several standard android devices.

 

It all comes down to if the functionality is worth the $1000 price tag of Enterprise. To most, I am guessing the answer is no.



[TOPIC: post.html]
#12

ksan

[GLOBAL: userInfoPane.html]
ksan
  • Corona Geek

  • 2,795 posts
  • Corona SDK

It all comes down to if the functionality is worth the $1000 price tag of Enterprise. To most, I am guessing the answer is no.

 

Great to hear you managed to solve the issues with native access. This once again proves the case of the Plugin Marketplace. If Corona Labs could make it possible for developers like you to solve such common problems and release plugins for us to use then we could all be happier. You could recoup some of your investment in the Enterprise license through plugin sales and we could get solutions to our long standing needs... 

 

Corona SDK Plugin Marketplace now please!!! 



[TOPIC: post.html]
#13

jen.looper

[GLOBAL: userInfoPane.html]
jen.looper
  • Contributor

  • 164 posts
  • Corona SDK

So Anderoth, you have created a Parse plugin? This is very good to know. Once they get the marketplace going, I think you'd find some buyers :) 

 

I'm going to be on Enterprise very soon so will be joining that bandwagon. :)

 

best,

Jen



[TOPIC: post.html]
#14

Anderoth

[GLOBAL: userInfoPane.html]
Anderoth
  • Contributor

  • 278 posts
  • Corona SDK

What I have done is very basic. I am not sure what constitutes a plug-in nor what is worthy of a plug-in on any marketplace.

 

If it were, it would be simply an Android Push Parse plug-in (say that 7 times fast). The rest of the Parse SDK I do not access in native code. Also if made into a plug-in, it would only be usable with Enterprise. Pro does not have the type of access needed to make changes in the manifest for push to work. Unsure if that will change once they get to a place where they offer plug-ins to Pro users.



[TOPIC: post.html]
#15

C. Byerley

[GLOBAL: userInfoPane.html]
C. Byerley
  • Contributor

  • 835 posts
  • Corona SDK

I've added a new tutorial for the Parse module.

 

Linking a User Avatar

 

And there are these available as well:

 

Setup and Analytics

User Signups and Logins

Managing Facebook Users



[TOPIC: post.html]
#16

C. Byerley

[GLOBAL: userInfoPane.html]
C. Byerley
  • Contributor

  • 835 posts
  • Corona SDK

Updated to v1.2 to address a Facebook session issue.

 

https://bitbucket.org/develephant/mod_parse



[TOPIC: post.html]
#17

jen.looper

[GLOBAL: userInfoPane.html]
jen.looper
  • Contributor

  • 164 posts
  • Corona SDK

I'm using DevElephant's module in my latest project and it's working really nicely so far. Bravo!



[TOPIC: post.html]
#18

C. Byerley

[GLOBAL: userInfoPane.html]
C. Byerley
  • Contributor

  • 835 posts
  • Corona SDK

Thank you Jen.  A couple others are using it now as well.  Make sure you grab the latest, there was an issue with Facebook that another user pointed out.

 

Have a great holiday!



[TOPIC: post.html]
#19

beernathan

[GLOBAL: userInfoPane.html]
beernathan
  • Contributor

  • 278 posts
  • Corona SDK

Hi everyone - this looks really interesting. I'm trying to get my head around Parse so forgive the noob question.

 

I'm looking to add three things to my app

1) Push notifications (both iOS & Android)

2) Cloud file storage (both iOS & Android)

3) Could code (both iOS & Android)

 

It sounds like right now I could use ParseMod for 2 & 3, but not 1. Is that right?

 

I may be better off using something like PushWoosh right now for 1 (cross-platform push notifications).

 

It also sounds like I could use Parse for analytics if I wanted to switch from Flurry (or in addition to Flurry)?

 

Thanks,

Nathan.



[TOPIC: post.html]
#20

jen.looper

[GLOBAL: userInfoPane.html]
jen.looper
  • Contributor

  • 164 posts
  • Corona SDK

hi, currently we can't use Parse for Android push. We would need a plugin for that. The other items (2 and 3) work extremely well. You could use Parse for Analytics but it's an API call and as Parse keeps tally and charges for those eventually, I have steered clear of using it for that.

 

Enjoy your adventures with Parse!

best,

Jen



[TOPIC: post.html]
#21

beernathan

[GLOBAL: userInfoPane.html]
beernathan
  • Contributor

  • 278 posts
  • Corona SDK

Excellent - thanks.



[TOPIC: post.html]
#22

beernathan

[GLOBAL: userInfoPane.html]
beernathan
  • Contributor

  • 278 posts
  • Corona SDK

What are you using for push?



[TOPIC: post.html]
#23

C. Byerley

[GLOBAL: userInfoPane.html]
C. Byerley
  • Contributor

  • 835 posts
  • Corona SDK

Hello,

 

As Jen said, the module will work well for 2 & 3.  I have been looking into PushWoosh and am considering a module with Parse and PushWoosh working together to solve the registration issue with Android ( ParseWoosh? ).

 

Stay tuned for some more mod_parse tutorials as well.

 

Cheers.

 

 



[TOPIC: post.html]
#24

gregr

[GLOBAL: userInfoPane.html]
gregr
  • Observer

  • 16 posts
  • Corona SDK

Just wanted to say thanks for the module!  Currently using it in a live IOS app; nice and easy to implement some basic analytics!  I'm actually using parse for my push notifications as well (though I didn't expand on your module - yet), as others have noted, parse's lack of GCM/android support is a bit annoying.  

 

PushWoosh's lack of free 'Remote API' is gonna be a non-starter many (at least, to me).  I'd love it if my app brought in enough to justify their initial monthly free.  Maybe stackmob?  Still need to dig into their implementation a bit more in my free time.

 

Again, thanks!!



[TOPIC: post.html]
#25

C. Byerley

[GLOBAL: userInfoPane.html]
C. Byerley
  • Contributor

  • 835 posts
  • Corona SDK

@gregr Thank you for the kind words.  I'm thrilled that it's working out.

 

I have only peripherally been looking at PushWoosh so I wasn't aware of those restrictions.  Thanks for pointing that out.  Stackmob is also interesting, but I was having a really hard time figuring out the pricing.

 

I've actually been actively researching how to provide an open-source system to handle both Android and iOS push and will be experimenting heavily over the coming weeks.  Corona SDK exposes everything that's needed to do push without additional plug-ins.  It's something I'm very excited about getting working.

 

Thanks again for using mod_parse.

 

Best.




[topic_controls]
Page 1 of 4 1 2 3 »
 
[/topic_controls]