Skip to main content

I'm using getCustomerInfo on the splash screen to check the subscription status when the app is opened for the first time (where the cache is empty). However, I’ve noticed that getCustomerInfo sometimes takes 10-20 seconds to fetch data, which is too long for a smooth user experience.

Since I’m not using a server-side solution, what are the best practices to speed up this process purely on the client side? Would pre-fetching, background loading, or specific configurations help reduce the delay?

Any insights or recommendations would be greatly appreciated!

Hi ​@BG37,

It shouldn’t take that long to fetch the data for `getCustomerInfo`, in general it’s a super fast request and it should be done almost immediately. How are you getting it, do you mind sharing a code snippet? It looks like something is off if it’s taking that long to fetch it. Any debug logs you can share would be great as well.

Best,

 

 


Reply