I always have a known user ID before I get to my paywall, so do I ever need to use Purchases.logIn() ?
If I sign out, I don’t call Purchases.logOut() because I don’t want to generate an anonymous ID, but when I get another user coming through and hitting the paywall, is it sufficient just to call Purchases.configure() again integrating the new appUserId?
I’m just concerned that I’m using a ‘configure’ function for setting the apiKey which should only really be done once per session but I’m doing that every time I sign in a new user when it seems more sensible to use a logIn function.
Are there any downsides (apart from a wasted resetting of the apiKey) with the way I’m doing this?
I mean, it seems to be working…..
Best answer by Haley PaceView original