I’m quite new to Corona development and Coronium Core.
I’m developing a mobile app (android only) for a client who wishes to give real prizes (weekly and monthly) to players having the highest scores. These prizes will range from merchandising items, discount cards and high cash amounts. Because of these, hackers will surely want to hack the game.
Luckily the game (a daily quiz with multiple choice questions) is server based, meaning that it’s the server that check the answers and allocates points to the user and not the app itself. Even if someone hacked the apk and reverse engineered the code, he could make the device think it won a lot, but the server would still know his real points.
Here are my questions concerning this project:
-
I’ve bought the Coronium plugin and installed Coronium Core. Is this the right choice for this project?
-
Is the Coronium server engine safe enough? By opening the apk, a hacker could get my server key. What is the worst he can do with it?
-
As per my client’s request, a user should be able to register on the app via an email or Facebook. If he chooses to use his email, the latter will be his username and a password will be randomly generated and stored on his device. What happens if he loses his phone? Is there a procedure where he can request a password reset with email confirmation?
-
I’m not sure I understood the user login procedure. After a provided username and password (which is auto encrypted), the app receives a user_id which it can then use for call to the server. Is this right? Is this user_id always the same after each login or does it have a specific lifetime (like a session id)? What would be the length of this lifetime? Can this length be changed?
-
As per my understanding, a user cannot access other users data. But can the server access all users data for leader-board purposes? Can a cron job be setup on the server to launch specific commands to Coronium? If yes, is there an example?
-
What happens when the app is suspended during a server call, does theCoronium plugin handle the callback, or should I implement a procedure to call the last request on resume? And what about the timeout after a long suspend period? What happens if internet connection is lost during a call? Is there a callback event for that?
-
Can the webmin be customized (integration of features specific to an app, like leader-boards, push messages management, etc…)? If yes, is there any documentation to help coding? Can these customization be done per application scope?
-
Is there a way to modify the Mailgun feature to use different key and domain per application scope?
-
I think I read something about a PHP bridge to Coronium? Is this in progress or already active? I didn’t find any more info on this. It could be really helpful.