Skip to content

Instantly share code, notes, and snippets.

@im-coder-lg
Last active November 27, 2023 14:57
Show Gist options
  • Save im-coder-lg/23fc93cbf983b36b21641563ed4f3d4e to your computer and use it in GitHub Desktop.
Save im-coder-lg/23fc93cbf983b36b21641563ed4f3d4e to your computer and use it in GitHub Desktop.
Allows GAUDC permission to personal results if you do this.

About this gist

So, today, I found a person(change-agent) telling about the fact that GAUDC does allow personal requests. But it was complicated so I made a guide.

Actually, the Google Assistant SDK used by GAUDC was changed to remove personal results but by reengineering it, people in the GAUDC community figured out how to allow personal results.

This is the advanced guide and if you want the real one, hit this and if you want the original, click here. Thanks to morgenman and change-agent for that reply that helped me to make this!

Steps:

  1. Go to the Actions Console.
  2. Go to your GAUDC project
  3. Go to the Develop Section.
  4. Hit the hamburger button on the left side of the Develop screen and go to Account Linking.
  5. Now, enable Account linking by switching the toggle.
  6. Choose yes for Account Creation.
  7. Hit Google Sign-in as the Linking Type.
  8. After that, get your phone ☎️ as you will need it.
  9. Open GAUDC and ask your name.
  10. Take your phone, open the notification center, and click the Google request notification.
  11. Give some or the other name, eg. Google Assistant from my PC.
  12. Allow the Personal Requests request.
  13. Ask GAUDC your name, not your phone Google Assistant/Siri(in case you use an iPhone).
  14. It will successfully respond.

Voila! Hope this helps everyone! Look at this:

Steve Jobs! Nickname lmao i am funny sometimes

See you later!

@im-coder-lg
Copy link
Author

No, just going to the project in Actions Console, changing the section from Overview to Develop, opening the Menu and clicking the thing related to accounts. Then, enabling that, allowing that next thing, putting that login thing as Google Sign in, and then, when you ask GAUDC, get your phone, open the new Google notif, name the device, allow personal results and ask again. Linking this to the Special Projects repo, if there are more problems, open an issue(bug is best) and I will get assigned so it will be pinging me. And I will tell there too.

@im-coder-lg
Copy link
Author

Does it respond to the query "What is my name" without issues after these steps?

@Melvin-Abraham At last, I changed the account nickname temporarily. Check this 👇
image

@SarieDav
Copy link

SarieDav commented Sep 9, 2021

I can confirm that this worked for me.

I did note that when the device triggers the popup on the phone by asking it a personal question, it MUST be given a name before personal results can be shared without crashing the app on the phone.

It also appears that this must only be done once and then all users (who are on that device AND signed into Google) appear to be able to utilize the personal responses without having to go through the process.

@im-coder-lg
Copy link
Author

Yes, you are correct.

@vinnytheface
Copy link

This worked beautifully! Thanks a million.

@im-coder-lg
Copy link
Author

im-coder-lg commented Oct 25, 2021

This worked beautifully! Thanks a million.
By @vinnytheface

Well, don't thank just me. Thank @change-agent(who helped here) and @morgenman(the person who accidentally figured it out here) for figuring it out! I just provided a beginner's guide, they are the people who figured it out and posted it inside an issue here. On further research, it seems to work only when you name the device and allow Personal Results as @SarieDav said here

@remytsai0305
Copy link

I succeeded!!
I found u need use Android 8 or below
(use google translation)
謝謝TY

@im-coder-lg
Copy link
Author

I succeeded!!

Well, congrats! Everyone does.

I found u need use Android 8 or below

Actually, it's Android 8 or above, since I can confirm this working on a Android device running Android 9.

@Izuku-Sevilla
Copy link

I was testing this I tried it like 5 months ago but I decided to not continue. And now Im so happy it works amazingly. Btw I can confirm it work on Android 12 ο(=•ω<=)ρ⌒☆

@im-coder-lg
Copy link
Author

Ah thanks for that info!

@palenshus
Copy link

When I do this, GAUDC allows me to create a reminder immediately afterwards, but if I try to do it again, it prompts me to enable personal results again. Then on my phone I get the notification again, and tapping on it, everything has been reset, the name is blank and the slider is unchecked. Anyone else seeing this?

@papa-shrek
Copy link

When I adjust the settings, I get no notification on my phone. Did I do something wrong?

@im-coder-lg
Copy link
Author

I don't know, maybe try resetting your GAUDC.

@papa-shrek
Copy link

Do you mean in the client app or restart in the actions console?

@im-coder-lg
Copy link
Author

In the client app.

@dtro2
Copy link

dtro2 commented Feb 18, 2022

This worked brilliantly for me, once I realized that the primary Google account on my phone and the Google account I was trying to add this to were different.

@Rocked03
Copy link

I'm attempting to set this up, and followed all the steps exactly, but I'm still encountering the issue where it'll still ask me for personal results, even after I've set it on my phone (and I already tried making a new project in the actions console, where I enabled Account Linking immediately)

@im-coder-lg
Copy link
Author

Can you try redownloading your tokens? Or maybe using another token set from another account might work?

@Rocked03
Copy link

I tried resetting the tokens.json file, and then logged into a different account (which I had also listed in the testing users thing), but when I tried to enable personal results, I didn't receive any notification at all on my phone.
I've now tried logging in back with my first account, but I seem to have hit the ratelimit, so will have to try again tomorrow.

Also, when you say "redownloading" my token, do you just mean clearing tokens.json and logging in again fresh?

@im-coder-lg
Copy link
Author

Also, when you say "redownloading" my token, do you just mean clearing tokens.json and logging in again fresh?

No, it's issue 691 in GAUDC's GitHub. It has mentioned a method to redownload another token with different contents, so you could actually get another working token.

@Rocked03
Copy link

Rocked03 commented Apr 1, 2022

Uh, issue 691? I can only see up to #688

@im-coder-lg
Copy link
Author

oops 671 sorry for that!

@Rocked03
Copy link

Rocked03 commented Apr 1, 2022

No worries, thanks -- I've seemed to manage to have gotten a new token, but I'm still getting the same "error getting tokens" error. This isn't really that urgent for me though, and since there seems to be a bunch of people with this problem, I'll probably just wait until it gets fixed. Thanks for the help though!

@aaron-gray
Copy link

Despite the fact that I've enabled personal responses in the app on my phone and given the device a name, GAUDC still keeps prompting me to enable personal results and sending more notifications to my phone. Account linking is enabled i the action console, but doesn't seem to make a difference. Even tried deleting everything and starting from scratch--no luck.

@im-coder-lg
Copy link
Author

Hmm... Well, the loophole could have been fixed, idk how

@LaLino1
Copy link

LaLino1 commented Jun 3, 2022

I had the same error, but I "recently" solved it, I realized that I was using the web client to be able to use the GAUDC (I've been using it for a long time because of the error that there is) but since I wanted to have the option of reminders (testing some things), download from the Google Cloud Platform in the Credentials option "OAuth 2.0 client IDs" the desktop type .json file. Change my "web client" file, replace it with this one with a new token and that's it.
Since I don't have a cell phone, I used an emulator, I asked the question about my name, (as I had done before and nothing happened) I activated the "personal results" option, I did nothing else I gave the arrow to return , I enter the GAUDC I ask the question and notifications no longer arrive and it works without problems.
I have to say that I created a "new project" thinking that something was wrong when creating the previous one, but even so I had the same error, then I did this and I no longer have it.
Espero aportar en algo ;3

@im-coder-lg
Copy link
Author

im-coder-lg commented Nov 27, 2023

There has been an update on this(finally!). GAUDC Issue 863, with issue comment ID - 1474980944. Requesting everyone who actually sees this(lol) to refer to that and try this, while I update the gist, and maybe post it on my Astrosite blog for easy sharing(:shrug: we shall see)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment