Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

GPGS and GPGS-V2 problems
Started by stefano.mazzotta Oct 14 2019 10:45 AM

6 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

stefano.mazzotta

[GLOBAL: userInfoPane.html]
stefano.mazzotta
  • Observer

  • 11 posts
  • Corona SDK

Hi,

 

I have some problems with gpgs plugins (Built for release, android, corona version 2019.3508)

I've searched the forum, but I can't find what I'm looking for, and after 4 days of struggling I have to ask for your help.

 

I've followed the leaderboard tutorial adapting it to work with achievements node.

This is all I'm experiencing:

 

----

 

with gpgs plugin:

1- I can login (with a pop-up notification) and then I get a pop-up notification for each unlocked achievement.

2- pop-up stops working after some inactivity (as if there is a connection timeout).

3- If I close the app (with or without some inactivity) when I run it again, I don't see the login pop-up, neither the unlocked achievement pop-ups

4- if I kill the app I can start again from point 1

 

I've also notices that the init method looks useless because I can login with or without it. (I've ridden that this call was required in v1...)

 

----

 

with gpgs-v2 plugin:

- I successfully login but I can't see the welcome pop-up

- unlock method receive no pop-up notifications (the listener is fired without errors and I can see the achievement in gpgs app)

 

I really don't know what to do... Any hint?

In first place, is gpgs going to be deprecated? Shall I work directly with gpgs-v2?

 

Thank you in advance,

Stefano

 

PS: Sorry for my english

 

 

----



[TOPIC: post.html]
#2

stefano.mazzotta

[GLOBAL: userInfoPane.html]
stefano.mazzotta
  • Observer

  • 11 posts
  • Corona SDK

I've found this archived topic, that's exactly what happens to my app when I use gpgs-v2.

 

https://forums.coronalabs.com/topic/75269-plugingpgsv2-popups-are-not-displaying-for-android-but-functionality-works/

 

No solutions in it...



[TOPIC: post.html]
#3

stefano.mazzotta

[GLOBAL: userInfoPane.html]
stefano.mazzotta
  • Observer

  • 11 posts
  • Corona SDK

Additional info:

- updated to last daily built, 2019.3540, the problem still persist

- I've tested another corona app that uses gpgs-v1 and it looks like it has the same problem that I experienced in my app.



[TOPIC: post.html]
#4

Ernest

[GLOBAL: userInfoPane.html]
Ernest
  • Contributor

  • 107 posts
  • Corona SDK

Yah I've been updating my app to GPGS-V2 to support it and not getting any popups on unlocking achievements, I do the achievements.reveal as well and no popup or indicator of the achievement being unlocked. Guess I'll have to implement my own?



[TOPIC: post.html]
#5

stefano.mazzotta

[GLOBAL: userInfoPane.html]
stefano.mazzotta
  • Observer

  • 11 posts
  • Corona SDK

Hi Ernest,
Indeed I decided to implement my own achievements system.

Some considerations about that:

Bad:
- No Google integration. I didn't want to implement that much for this feature.
- Achievements stored locally only. Same reason.

Good:
- Custom style for the pop-up message
- Works even offline
- No bugs
- No third party dependency

If you want to take a look at my solution:

https://play.google.com/store/apps/details?id=com.suiarts.DenturesAndDemons

[TOPIC: post.html]
#6

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,394 posts
  • Enterprise

Can you produce a simple app that demonstrates the issue? If you can, put it in a .zip file with at a minimum main.lua, config.lua, build.settings with your real ID's in it, fill out the Report a Bug form above and provide a detailed description about what is not working as you expect it to, include your package name to a point where we can build it, install it and run it and see the issues.

 

GPGS is tough because it is impossible for us to duplicate your Google Play setup. 

 

Also, some of the things like logins not popping up could be changes in how GPGS behaves between versions. 

 

But we can change the ID's to ours and hopefully reproduce the issue.

 

Rob



[TOPIC: post.html]
#7

stefano.mazzotta

[GLOBAL: userInfoPane.html]
stefano.mazzotta
  • Observer

  • 11 posts
  • Corona SDK

Hi Rob,
Thank you for the reply.

For me the problem is closed. As I said, I've opted for my own Achievements system.

I've disconnected the google service, the google APIs, and deleted anything about gpgs from my files. So I just can't be any useful now.

Cheers,

Stefano


[topic_controls]
[/topic_controls]