Licensing documentation wrong/ really necessary for new google play games services?

Hello everybody.

As I started to have problems with the legacy game services on my Android phone (can’t login) I thought to give the new plugin a try. (And the new features are amazing, of course)

So I read that I have to do the licensing stuff and had quite a hard time to figure that the

“com.android.vending.CHECK_LICENSE”,

permission is necessary for this plugin to work. Otherwise I get the message:

Neither user xxx nor current process has com.android.vending.CHECK_LICENSE

Maybe this should be mentioned in the documentation, (https://docs.coronalabs.com/api/library/licensing/)

The other question is, I don’t really care if the app is pirated as it is free and until anybody wants to pirate it, some time will pass anyway (2 or 3 new android versions, at least :D).

What exactly is necessary for the gpgs plugin to work? I assume the init, but do I need to verify the license as well?

Thanks in advance,

Felix

I’ve asked to get the docs updated.

Rob

Hei Rob, thanks.

I did some tests now and I could initiate gpgs without initialising the licensing module on the first start. (I did not call licensing.init())

However, after the second (or third) start, the login callback reports sucessfull login but I can not more access the leaderboards.

So the init call is necessary, but the licensing.verify() call is not necessary.

Now I found a new problem, I am not sure if it is already known. When returning from the leaderboards (gpgs, android 6.0.1) there is no resize event fired. This is a  problem for me because of the immersive sticky nav bar, that I have to reset on resize becuase of the black bar bug with soft nav bar buttons.

Do I need to open a new thread or file a bug report or is it already known?

Best,

Felix

Update:

Not sure what I did, but the resize problem does not occure any more.

It might be related to a second call to gpgs that I am doing now.

(I submit the score and in the callback I show the corresponding leaderboard)

Anyway, for me everything is good now.

Best,

Felix

I’ve asked to get the docs updated.

Rob

Hei Rob, thanks.

I did some tests now and I could initiate gpgs without initialising the licensing module on the first start. (I did not call licensing.init())

However, after the second (or third) start, the login callback reports sucessfull login but I can not more access the leaderboards.

So the init call is necessary, but the licensing.verify() call is not necessary.

Now I found a new problem, I am not sure if it is already known. When returning from the leaderboards (gpgs, android 6.0.1) there is no resize event fired. This is a  problem for me because of the immersive sticky nav bar, that I have to reset on resize becuase of the black bar bug with soft nav bar buttons.

Do I need to open a new thread or file a bug report or is it already known?

Best,

Felix

Update:

Not sure what I did, but the resize problem does not occure any more.

It might be related to a second call to gpgs that I am doing now.

(I submit the score and in the callback I show the corresponding leaderboard)

Anyway, for me everything is good now.

Best,

Felix