Question

setAttributes don't show in Sandbox Dashboard, even after actions taken

  • 26 May 2022
  • 1 reply
  • 72 views

Badge +6

I am successfully setting the user’s attributes in my RN app with setAttributes, however, they do not show in the dashboard. I’ve waited over 3+ hours at this point. I’ve put the app in the background, and quit/re-started, but they still do not show in the dashboard. I also invalidatePurchaserInfoCache in our dev environment. What is needed to get this to work?


1 reply

Badge +1

Hey there,

 

I seem to have the same problem. I want to set the name and email to the anonymous user in RC. 

I have a project using Capacitor, Ionic and Vue JS.

The Offering works, I manage to subscribe … but I never managed to set attributes to a user. 

Anyone experience success doing this? 

 

Thanks in advance 

Purchases.setAttributes({
$email: "test@test.com",
$displayName: "a name",
});

Purchases.syncAttributesAndOfferingsIfNeeded();

 

 

Reply