Description
One of my friends who is a regular Roblox player, told me if I could help them, and that they kept getting some kind of pop-up. So, I asked them if they can send me a screenshot and they sent me this:
I think the above is a Component named UserAgreementsUpdatedPopup.
Then I foundMemStorageService and API endpoints points. I don’t know if it uses appStorage.json, maybe that’s AppStorageService. MemStorageService can retrieve things in with a format of GUAC:-1:app-policy to retrieve app policies, where -1 is substitutable with the UserId.
Something clear to say is that it fetches from these API endpoints:
- https://apis.roblox.com/user-agreements/v1/agreements-resolution/Web
- https://apis.roblox.com/user-agreements/v1/agreements-resolution-signup/Web
The content of the pop-up contains a title saying “Updated Agreements”.
Code
withLocalization({
title = "CommonUI.UserAgreements.Popup.Title",
message = "CommonUI.UserAgreements.Popup.Message",
agreeButton = "CommonUI.UserAgreements.Popup.Agree",
checkbox = GetFFlagLuaAppPromotionalEmailsCheckboxEnabled() and "CommonUI.UserAgreements.Popup.PromotionalEmailsCheckbox" or nil
})
Upon successfully clicking on the “I Agree” button, it will apparently send a POST request to https://apis.roblox.com/user-agreements/v1/acceptances
Where to POST body apparently is supposed to be something like (didn’t check)
{
acceptances = [ agreementIds... ]
}
But there seems to be an issue where something is not working. Which causes the pop-up to appear, everytime you re-open the Roblox Client.
A few say that if you re-sign back in, it would go a way, but I don’t think someone should have to do that either.
This issue appears to have been reported before, but did not seem to have received much love:
Now, the question is, why does this pop-up appear, despite clicking on “I Agree” and when is it meant to appear in the first place?
idk
A UserAgreementsManager is created that creates something.
Later on FetchUpdatedUserAgreements fetches agreements-resolution/Web. If the array is empty, you’ll not get a pop-up. However, if the array is not empty, you’ll most likely get shown this pop-up.
So, I think the question is, what went wrong with the API and clicking the “I Agree” button?
But it also doesn’t make any sense. For me https://apis.roblox.com/user-agreements/v1/agreements-resolution-signup/Web returns 2 things, the same things that are displayed in the thing above, but that is FetchSignupUserAgreements. But I don’t see FetchSignupUserAgreements in useUserAgreements, maybe that’s used elsewhere.
I couldn’t find yet where FetchSignupUserAgreements with the pop-up. WHERE is that used with the UserAgreementsUpdatedPopup? I couldn’t find it yet ![]()
In this case v1/agreements-resolution/Web was empty, but v1/agreements-resolution-signup/Web was not, nor empty for me, but I don’t get the pop-up.
Re-production Steps
- You need the pop-up to appear
- Click on the “I Agree” button
- re-log in, re-open the app
Expected Result
When you re-open the app, this pop-up should NOT appear anymore, without the need of having to re-sign back in or out and etc.
Actual Result
The pop-up appears again apparently, after clicking “I Agree”, it doesn’t seem to save anything properly, so that it will re-appear again next start up.
A private message is associated with this bug report
