Hi Dean,
There are some updates and better info regarding Cloud coming in the next couple days. We appreciate your patience, and please keep an eye out on the blog and guides this week.
Thanks,
Brent
Hi Dean,
There are some updates and better info regarding Cloud coming in the next couple days. We appreciate your patience, and please keep an eye out on the blog and guides this week.
Thanks,
Brent
still same issue, any news?
Hi guys,
We’ve just posted some updated guides for Cloud, along with a blog post announcing the new Corona Cloud API library.
Updated guides are here:
http://docs.coronalabs.com/guide/index.html
And the blog post here:
http://www.coronalabs.com/blog/2013/04/23/new-corona-cloud-api-library/
Hopefully this clarifies how to implement the Dashboard and other Cloud features in your app(s).
Best regards,
Brent
Do you have any documentation for using the Corona Cloud API library for push notifications for both Android and Apple devices? I just want to send basic messages to users. I am reading the pages from the links above. Do I store the device tokens myself and then use the cloud library to send the notifications?
Thanks
Hi Warren,
The next guide for Cloud will be push notifications. I apologize it’s not ready yet, but it’s next in the queue.
Brent
Hi Brent (and others)
I have followed the new instructions and got further in that I can see the Dashboard login or register screen, but I just can’t seem to register. I have tried many times but I keep getting the message ‘Username or password is incorrect’
I have tried many different names/passwords along my my proper email address and an invented one but I always get the same message.
This is the same for my own application which I am trying to get work with the Dashboard, but also with the new sample application called gameNetwork_corona_prototype-master, both give me the same message everytime when I try and register.
I have also used the latest daily build - 1094 and my test device is an iPod Touch 4g
Hope you can help
Many thanks
Dean
Hi Dean,
You’re trying to log into api.coronalabs.com, correct? Can you first log out (and back in) to your core Corona account, then attempt the login on the Dashboard? The credentials should be the same as your Corona developer account using SSO (single-sign-on). This should give you access to the Dashboard.
Brent
Hi Brent
I think you misunderstand, I have created a new game and highscore table on api.coronalabs.com through my browser on my PC and that all seems fine.
The problem is using the Corona Dashboard on an actual device in order to view high scores, etc as below
I get as far as the screen which says I need to login or register, but can get no further.
I have tried to register about a dozen times with various usernames, emails and passwords but everytime I get the same message, ‘Username or password is incorrect’
I have also tried to log in using my Corona user details but get the same message
I have tried this with my own application but I have also tried simply adding my game access key and secret key to the
new gameNetwork_corona_prototype demo application as below
local buildPlatform = system.getInfo( “platformName” )
if buildPlatform ~= “Win” and buildPlatform ~=“Android” then
display.setStatusBar( display.HiddenStatusBar )
end
– scene logic here
– gamenetwork init and params
local gameNetwork = require( “gameNetwork_corona_prototype” )
local params = {}
params.accessKey = “13a8d339cd81c2893d60ccb8ad75e0fd0c2e33bb”
params.secretKey = “e2344b2e5cac63a9586747773820178890a7bbc9”
params.supportedOrientations = { “portrait”, “portraitUpsideDown”, “landscapeLeft”, “landscapeRight” }
params.facebookApplicationId = “”
gameNetwork.init( “corona”, params )
gameNetwork.set( “debugEnabled”, false )
– show the dashboard
gameNetwork.show(“dashboard”)
But again, I get this same message
Cheers
Dean
Hi all
I think I know more about the problem.
If you try to register a new user on a device in order to view high scores, etc, using a new username, password, AND a new email you will get the message ‘Username or password is incorrect’, then you will receive a confirmation email from Corona Labs on the NEW email address you tried to register with.
If you then confirm the email that was sent, only then can you register a user on that email address.
Is it right that a new user would have to confirm their email address in order to view high scores, etc? Not sure why this would be needed if that is the case and may put some users off. But if that is the case, then the user should be presented with a message stating a confirmation email had been sent to them and not with the ‘Username or password is incorrect’ message?
I don’t think this is in a usable state yet, but could you please advise on whether I should hang on acouple of weeks for you guys to iron these things out, or whether you recomment I build my dashboard around Corona Cloud servicesas my game is almost ready for release apart from the high scores, etc?
Many thanks
Dean
Hi Dean,
Actually a user can still login without confirming the email address, we haven’t added strict policy in this regard, i.e. forcing confirmation before activating the account.
I tried many times and couldn’t reproduce the issue.
You can help me by, creating a new account and send me the credentials before activating it, and I’ll have a look on my end.
Thanks
-Mohamed
Hi Mohamed
Thanks for your help with this, the following DID work
Booby123
Booby123
idiot.dw@googlemail.co.uk
I was only able to successfuly register AFTER I had clicked on a confirmation email to this email address to confirm the validity of the email address. Before I did that, I was not able to register any user/password to this address
The following did NOT work
u: Silly13
p: Silly123
e: Madeup@madeup.com
u: Deanw99
p: Deanw99
u: Deanw90
p: Batman007
All 3 came back with ‘Username or password is incorrect’
Thanks for your help
Hi Dean,
Just checked these accounts:
For the first 2, if you drop the case on the email, then you log in fine. For this, I have asked the team to make sure to remove case sensitive checks on login, I hope to have this on production servers soon.
The last account ‘Deanw90’, actually it logged in just fine first time, no issues, got the auth_token.
Thanks
-Mohamed
Hi Mohamed
Thanks to your last comment, I think I was wrong to say that an email had to be confirmed, so sorry for that, but I have done many more tests and I think I can now confirm these are the problems:
Problem 1
If you try and REGISTER (not login) a username/password with an email address that starts with an uppercaes character, you get the message ‘Username or password is incorrect’. I have successfully registered several users but only with an email that starts with a lowercase (strange, but I think this is true). This is a major problem because, at least on my device, when you enter an email, it automatically starts it in uppercase mode.
Problem 2
If you try and register a user on an email address which has already been used, you get the message ‘Username or password is incorrect’. Even if a user is restricted to registering just once to a single email address then clearly, a better message needs to be displayed.
For example, I successfully registered a user to the email address suck@suck.com
Then I tried to register the user below which failed with usual message (because a user had already been registered to this email)
u: Really1
p: Really1
Then I tried to register the one below which worked
u: Really1
p: Really1
Problem 3
I don’t get any useful message returned in case of failure, all that gets displayed is the message ‘Username or password is incorrect’
Thanks for your help, but if you check the above I think you will confirm that these are valid problems and prevent the Corona Dashboard from being currently in a usable form
Thanks again
Dean
Hi Dean,
Ok, here is whats happening.
You can actually register any email and username with or without using uppercase and it will be accepted.
I just did some tests and I was able to register in uppercase fine. If you do try and register and fails, please send me the exact details of what you are trying to register and I will check on my end.
The thing that I mentioned before, was that we should remove case detection on login.
If you try to register a user name that already exists, you should get:
{
“username”: [
“has already been taken”
]
}
and if email is also already used:
{
“username”: [
“has already been taken”
],
“email”: [
“is already taken”
]
}
If you aren’t please can you just show me the debug output of what you are getting.
Thanks
-Mohamed
Hi Mohamed
I just tried again to register the following which failed
u: Willy1
p: Willy1
e: Tester@test.com
I then tried to register the same but with an all-lowercase email address as below and this worked
u: Willy1
p: Willy1
e: tester@test.com
I think we are using different ways of trying to register which is why we are getting difference results. Just to confirm, I am using the Corona Cloud Dashboard demo application found here
https://github.com/coronalabs/gameNetwork_corona_prototype
I then modified the main.lua to include my application access key and secredt key as below
local params = {}
params.accessKey = “13a8d339cd81c2893d60ccb8ad75e0fd0c2e33bb”
params.secretKey = “e2344b2e5cac63a9586747773820178890a7bbc9”
I then deployed onto an iPod Touch 4g
I think you must be using a different way to test this, but if you can deploy to an iPod Touch 4g and enter my details as aboove (of course problaby same with any details) then you should get the same results as I am getting, unless I shouldnt be using this demo application or something?
Many thanks
Dean
Hi Mohamed
I was working on other things for a while, but the only thing left to complete my game now is the high scores.
I gave up using the Dashboard and I am creating my own screens just using Corona Cloud, but I am failing on the same thing.
I can register a user successfully (at least the authentication even reports a success) but I cannot then login using those details. I know you tested registering some users before (see above) but can you now try and register a user (using an email and password) and then LOGIN using those details please?
Because although I can register a user, it always fails on the login with invalid username/password?
Many thanks
Dean
I’m getting the following error in the Android ADB console when trying to register a new user or trying to login - resulting in the incorrect user/pass pop-up:
06-11 12:56:25.714: W/ResourceType(4417): Failure getting entry for 0x0108096e (t=7 e=2414) in package 0 (error -75)
I’m using the github gameNetwork samples (both of them), and I get the same thing for both. In both github projects I’ve modified the main.lua to set my access and secret keys for the test app that I’ve created in the cloud api dashboard.
Any thoughts?
Hi Mohamed
I was working on other things for a while, but the only thing left to complete my game now is the high scores.
I gave up using the Dashboard and I am creating my own screens just using Corona Cloud, but I am failing on the same thing.
I can register a user successfully (at least the authentication even reports a success) but I cannot then login using those details. I know you tested registering some users before (see above) but can you now try and register a user (using an email and password) and then LOGIN using those details please?
Because although I can register a user, it always fails on the login with invalid username/password?
Many thanks
Dean
I’m getting the following error in the Android ADB console when trying to register a new user or trying to login - resulting in the incorrect user/pass pop-up:
06-11 12:56:25.714: W/ResourceType(4417): Failure getting entry for 0x0108096e (t=7 e=2414) in package 0 (error -75)
I’m using the github gameNetwork samples (both of them), and I get the same thing for both. In both github projects I’ve modified the main.lua to set my access and secret keys for the test app that I’ve created in the cloud api dashboard.
Any thoughts?