You can find the code here: https://github.com/Dotnaught/Parse-for-Corona-SDK
Hi Rob,
Bringing this back to your workaround suggestion above of using appname+playername@gmail.com for user registration. I have tried this and the registration fails with the message “email: should be in an email address format (ex. someone@somewhere.com”. Seems it does not like the + sign in there.
Any ideas?
Thanks
Clark
Hi Clark,
I’ve just tested it and it works fine, can you please PM me the email and password, and I can test your account for you.
Thanks
-Mohamed
Hi Mohamed,
I’m having similar problems. Any time i try an email with a + in, i get “email: should be in an email address format (ex. someone@somewhere.com” returned to me as the error.
I’ve tried it with 10+ different passwords and usernames and none of them worked. The email was structued as: appname+username@hotmail.com.
Any ideas why that could be happening?
Thanks!
Hi Mohamed,
Thanks for the reply, I have PM’d you the details but as TandG said, I have also tried with with several combinations and get the same validation error on all the them.
Glad I’m not the only one getting this.
Hi everyone,
What seems to be happening is that the email is not being URL Encoding.
We’ve updated the corona-cloud-core.lua https://github.com/coronalabs/corona-cloud-core to encode the email.
Please go ahead and get the new one and let me know how it goes.
Thanks
-Mohamed
Update: Thanks qwertier, fixed it!
Hey Mohamed,
The link should really be https://github.com/coronalabs/corona-cloud-core I think everyone will get it, but just in case
Qwertier
Hi again mohamed!
I can now register with a + in the email, so thanks
But now i can’t login using that email, i’ve tried with various others but no luck. Is this also something to do with encoding?
Thanks again!
Hey GuilermoFG I couldn’t agree with you more. I thought when they were coming out with the cloud it would something similiar to Parse.com. I dont understand why when some registers they need to be part of Corona. Why cant that User just register for our game and thats it. The data is not our data its Corona’s data. What happens if Corona goes under we would loose our data.
Honestly I dont think I am going to use there cloud. I think I might use Parse.com since they have more to offer me.
Hi,
A workaround for the email I found, was to:
- Let the user type in his/her username and password
- Then register the user as follows, username@yourdomain.com and together with the password
This way the user can sign in with its username and password, while the code logs in the user with username@yourdomain.com
Hope this helps!
Qwertier
nice workaround @qwertier!
@snowboardb10, I’ve seen parse.com, looks very reliable! we’ll take a look for sure!
Thank you for your answers
Hi. The folks in the office are discussing this. I don’t know what will come of it. In the mean time, I think the recommendation from the cloud team is to create a gmail account with your app name as the email:
Then you can use email addresses like:
SuperBubblePopper+playername@gmail.com
and those messages will get directed to your app’s email account and the customer never sees them.
Thank you Rob!
Not the perfect solution, but definitely a good solution.
this is a good one! so I assume that usernames are global, so there are no two identical usernames in the corona cloud world, right?
That’s correct.
What if the user forgets their password and needs a reminder emailing out ?
The worry of Corona going under and you losing data is valid for any cloud service. So going with Parse is no safer that using Corona Cloud.
Also any decent company would give you notice of something like that and let you download your data.
Dave
maybe the solution would be to offer a customizable mail OR an option to disable the email. so basically user only gets a mail when he has reset the password…
One worry I have is the little control we have over user accounts…
What if a user’s behaviour is offensive to other players, there is no way we can block this user account.
Is there any possibility to do so?
Thanks
Qwertier
Thedavebaxter on parse.com you can exports all your data into a zip file whenever you like. You might loose some data but if you back it up often it shouldn’t be a problem. Your users also get there own usernames and passwods for your app. You can also import data to your database which can be helpful. I know the corona cloud is new but all in all parse.com seems like a better choice.
Didn’t know you could export on Parse, I have actually been having a look at it today but struggling understanding the relationship side of it.
Dave