1

I have fully implemented some Achievements for my new Android App that uses the Google Play Service. But I am wondering how or whether I can disable/hide the notification that pops up when you have unlocked an Achievement programatically?

(Google search couldn't answer my question so far)

Andrew T.
  • 4,701
  • 8
  • 43
  • 62
Starcracker
  • 29
  • 1
  • 2
  • I assume you want to do that from your app, not for general games? I tried to clarify it by adding that to your question. Feel free to edit/rollback. – Andrew T. Sep 01 '14 at 02:07
  • Thx Andrew for editing my post. Yes, your assumption was correct. I want to hide the achievements notification for a specific app and not for all apps. – Starcracker Sep 07 '14 at 13:26

2 Answers2

1

Though I have not tried this, I think it can be achieved by setting a hidden view to use for the Play Games Service - see the setViewForPopups method for configuring which view to use.

Alternately, have a look at this answer which might also work.

Community
  • 1
  • 1
free3dom
  • 18,729
  • 7
  • 52
  • 51
  • I tried the code from another answer you have linked in your post, but it didn't work unfortunately. So I am gonna try out the public method setViewForPopus. But does anyone have any experience how to disable this methode? – Starcracker Sep 07 '14 at 13:28
0

Open the Play Games app Google Play Games. Near the top left, touch the Play Games icon Google Play Games. Touch Settings. Change your notification settings.

Note: To turn off all Play Games notifications, you can uncheck the boxes next to all notification options.

https://support.google.com/googleplay/answer/3129346?hl=en&ref_topic=6027059

TRQ-DESIGN
  • 11
  • 1
  • It appears that this workflow only works for people who have downloaded my app already. Then they can setup their notification settings etc. in their google play account. But in my case, I need to setup the achievement notifications in advance before I release my app. – Starcracker Sep 07 '14 at 14:28