license.ccdata bug?

Using the latest build 2435, I’ve tried putting license.ccdata in the Assets and the Assets/Corona directory, but it doesn’t seem to work.

If I put it in Assets, the TRIAL watermark is still displayed. If I put it in Assets/Corona the app starts (emulator) but only a black screen is displayed.

Any ideas?

Using Visual Studio Express 2013

Emulator 8.1 WVGA 4 inch

You are supposed to put the “license.ccdata” file in the root directory of your Corona project files.  In this case, your “Assets\Corona” directory.  So, you did the right thing.  If you are seeing a black screen, then the file was successfully loaded, but this also indicates that the license you were given is not authorized for WP8.  The details should be printed/logged to the Visual Studio “Output Panel”.  Can you copy-and-paste what was printed please?

Note:  We plan on showing an alert dialog with the license error in the very near future.  Believe it or not, that’s about a weeks worth of work to support native.showAlert() like behavior.  We have to create our own custom alert dialog because the built-in WP8 MessageBox class is way too limited and blocks the main UI thread.

Ingemar - and another question just to make sure: are you certain that the license file you used was downloaded when logged in with the account that has the license?

I downloaded the license file once more while logged in just to make sure the correct login was used.

However I still get a black screen when I put the license file in the Assets/Corona directory

This is the console output when the license file is present (black screen):

CoronaCards: Missing license file You can acquire a valid license at: http://coronacards.com/?utm\_source=coronacards

…but if I remove the license file, no message is given in the console… (and the app starts with a watermark)

Ingemar - we discovered a bit of an obscure bug around this a couple of hours ago. I believe the next build will address this and I will make it available asap.

Sorry about that. In the meantime, can you still use with the watermark or go back to the previous build if you need one with no watermark?

We’ve confirmed that this is a bug in our core CoronaCards license handling.  It only happens if your license file supports multiple products.  We’ll send out a fixed version tomorrow.  Sorry about the trouble.  I recommend that you remove the “license.ccdata” file from your “Assets\Corona” folder until the next update.

Note that at the moment, the WP8 version of CoronaCards supports a non-expiring trial mode if the license file is not found.  This is to help beta developers like you transition to the released version.  In the future, we’ll change the license handling to require a license file, just like how it works for iOS and Android.

No problem.

I’ll remove the license file and continue to use the latest CC WP8 build with the watermark for the time being.

How will the licensing work in the future?

Will the corona sdk subscriptions (starter, basic, pro, enterprise) build to windows phone or will each developer be required to buy a corona cards wp8 license?

CoronaCards is the only WP8 option that we have at the moment.  We don’t plan on adding WP8 support to the Corona Simulator in the near future.  At least at the moment.  Mostly because we’re missing many features that only native developers can fill in the gaps for such as in-app purchase, ads, notifications, social media support, native UI, etc.

So, at the moment, a CoronaCards license is needed.  But I recommend that you talk to David about this if he’s your main contact.  If you already have a Corona Enterprise license, and since we don’t have an Enterprise version of WP8, you can try negotiating with him on this.

Now, regarding how CoronaCards WP8 licensing actually works…

If you don’t have a license file, then Corona will be in trial mode and always display a “Trial” watermark on screen.  There is no expiration time.  This gives you the chance to play around with CoronaCards in Visual Studio with little hassle to see how well it works for you.  (Note that a lack of expiration time is only true of the WP8 version of CoronaCards.  The iOS and Android versions of CoronaCards only support a 1 month trial.  This infinite trial thing is something we’re experimenting with on WP8.)

When you purchase a CoronaCards license, it’ll authorize you to use the current version of CoronaCards indefinitely.  It also authorizes you to use all of the CoronaCards WP8 builds made available up until a certain expiration time.  Usually one year from the date of purchase.  For example, if you purchased a license today, then you would be able to build with the current version of CoronaCards indefinitely; as in beyond that 1 year expiration time.  Meaning that the only thing the subscription provides you is all of the builds we make available within that time.  This is a very common purchasing model for 3rd party libraries.

Does this help?

You are supposed to put the “license.ccdata” file in the root directory of your Corona project files.  In this case, your “Assets\Corona” directory.  So, you did the right thing.  If you are seeing a black screen, then the file was successfully loaded, but this also indicates that the license you were given is not authorized for WP8.  The details should be printed/logged to the Visual Studio “Output Panel”.  Can you copy-and-paste what was printed please?

Note:  We plan on showing an alert dialog with the license error in the very near future.  Believe it or not, that’s about a weeks worth of work to support native.showAlert() like behavior.  We have to create our own custom alert dialog because the built-in WP8 MessageBox class is way too limited and blocks the main UI thread.

Ingemar - and another question just to make sure: are you certain that the license file you used was downloaded when logged in with the account that has the license?

I downloaded the license file once more while logged in just to make sure the correct login was used.

However I still get a black screen when I put the license file in the Assets/Corona directory

This is the console output when the license file is present (black screen):

CoronaCards: Missing license file You can acquire a valid license at: http://coronacards.com/?utm\_source=coronacards

…but if I remove the license file, no message is given in the console… (and the app starts with a watermark)

Ingemar - we discovered a bit of an obscure bug around this a couple of hours ago. I believe the next build will address this and I will make it available asap.

Sorry about that. In the meantime, can you still use with the watermark or go back to the previous build if you need one with no watermark?

We’ve confirmed that this is a bug in our core CoronaCards license handling.  It only happens if your license file supports multiple products.  We’ll send out a fixed version tomorrow.  Sorry about the trouble.  I recommend that you remove the “license.ccdata” file from your “Assets\Corona” folder until the next update.

Note that at the moment, the WP8 version of CoronaCards supports a non-expiring trial mode if the license file is not found.  This is to help beta developers like you transition to the released version.  In the future, we’ll change the license handling to require a license file, just like how it works for iOS and Android.

No problem.

I’ll remove the license file and continue to use the latest CC WP8 build with the watermark for the time being.

How will the licensing work in the future?

Will the corona sdk subscriptions (starter, basic, pro, enterprise) build to windows phone or will each developer be required to buy a corona cards wp8 license?

CoronaCards is the only WP8 option that we have at the moment.  We don’t plan on adding WP8 support to the Corona Simulator in the near future.  At least at the moment.  Mostly because we’re missing many features that only native developers can fill in the gaps for such as in-app purchase, ads, notifications, social media support, native UI, etc.

So, at the moment, a CoronaCards license is needed.  But I recommend that you talk to David about this if he’s your main contact.  If you already have a Corona Enterprise license, and since we don’t have an Enterprise version of WP8, you can try negotiating with him on this.

Now, regarding how CoronaCards WP8 licensing actually works…

If you don’t have a license file, then Corona will be in trial mode and always display a “Trial” watermark on screen.  There is no expiration time.  This gives you the chance to play around with CoronaCards in Visual Studio with little hassle to see how well it works for you.  (Note that a lack of expiration time is only true of the WP8 version of CoronaCards.  The iOS and Android versions of CoronaCards only support a 1 month trial.  This infinite trial thing is something we’re experimenting with on WP8.)

When you purchase a CoronaCards license, it’ll authorize you to use the current version of CoronaCards indefinitely.  It also authorizes you to use all of the CoronaCards WP8 builds made available up until a certain expiration time.  Usually one year from the date of purchase.  For example, if you purchased a license today, then you would be able to build with the current version of CoronaCards indefinitely; as in beyond that 1 year expiration time.  Meaning that the only thing the subscription provides you is all of the builds we make available within that time.  This is a very common purchasing model for 3rd party libraries.

Does this help?