Saving data that survives app reinstall - Keychain plugin

Hello Corona team and Corona users!

Question of how to save data that can survive app reinstall bothered me for a while. You can probably imagine a  use case for your app where you can easily benefit from it!

For our company, we needed a way to keep user progress if user accidentally uninstalls the app and reinstalls it. And also stop some users from installing/reinstalling in order to get the start balance again, and hopefully make them pay  :slight_smile:

We found that this logic is easily achievable by using iOS Keychain API, but unfortunatelly Corona doesn’t provide an access to it.

As we have Enterprise license, we went for developing a custom plugin both for iOS and Android and outsourced it. This plugin is ready and working just fine! You can save/load a key-value pair and it will survive app reinstall, both on iOS and Android devices.

For some time it was even working without setting a whole Enterprise environment, simply by mentioning the plugin in build.settings and having a local copy of it. But this has stopped with a recent daily build, where I assume Corona checks the plugin list on the server.

I think Corona community can greatly benefit from this logic being accessible as an open and free plugin! Could we arrange hosting this plugin on Corona servers and make it official?

Regards!

Hi @Jack227,

I’ve notified the engineers and marketing about this and they’ll likely be in touch with you via e-mail.

Thanks,

Brent

Jack227 - that’s great. We are getting much closer to having a plugin marketplace and this would be a great addition for that. Can you email me at david AT coronalabs.com so we can get in touch about this? We are not quite there yet, but we are getting close.

David, I’ve sent you an email.

No one got in touch with me and David did not reply  :frowning:

I am sure you guys are very busy at the moment but could you simply put the plugin on your servers? We have the sources & binaries tested and ready…

Now we also cannot move our project to Enterprise because game center doesn’t work for iOS.

You have removed it from the enterprise core but still have not moved the logic to a plugin: http://forums.coronalabs.com/topic/35641-game-center-broken-in-build-20131125-2013523/

Sorry Jack227. I did get your email and will get to it soon…

Hi @Jack227,

I’ve notified the engineers and marketing about this and they’ll likely be in touch with you via e-mail.

Thanks,

Brent

Jack227 - that’s great. We are getting much closer to having a plugin marketplace and this would be a great addition for that. Can you email me at david AT coronalabs.com so we can get in touch about this? We are not quite there yet, but we are getting close.

David, I’ve sent you an email.

No one got in touch with me and David did not reply  :frowning:

I am sure you guys are very busy at the moment but could you simply put the plugin on your servers? We have the sources & binaries tested and ready…

Now we also cannot move our project to Enterprise because game center doesn’t work for iOS.

You have removed it from the enterprise core but still have not moved the logic to a plugin: http://forums.coronalabs.com/topic/35641-game-center-broken-in-build-20131125-2013523/

Sorry Jack227. I did get your email and will get to it soon…