According to Revenuecat documentation:
“Subscriber attributes are only synced with RevenueCat servers on app launch, app backgrounded, and when purchases are made or restored.”
However, we want to sync these attributes to RevenueCat servers without app being sent to background.
As you can see from the attached pictures of code I tried, and debug logs, I could never force subscriber attributes to be synced to revenuecat servers without app being sent to background.
They are also synced if there is a purchase, but after purchase event. However, we need to use them for before purchase event. Because they are missing with the initial purchase event webhook we are receiving from revenuecat.
Any help would be greatly appreciated, thanks
![](https://uploads-us-west-2.insided.com/revenuecat-en/attachment/b9bcdf58-de77-4617-8e26-d1f847ef6ec3.png)
![](https://uploads-us-west-2.insided.com/revenuecat-en/attachment/dcca669b-a016-464e-9ae2-26500f215aa9.png)