Skip to main content
Solved

Subscription being randomly removed on sign in

  • February 12, 2022
  • 2 replies
  • 51 views

Forum|alt.badge.img+5

Hey, first of all thanks for this great platform. It simplifies handling purchases a lot, but unfortunately I’m having troubles with it.

I’m experiencing strange behavior regarding subscriptions and authentication. Let’s say my account has subscription attached. I sign out and try to sign in again using credentials for the same account. Now, `logIn` calls randomly return valid subscription data or nothing. It seems to only happen on Android though. What’s even more interesting, `restoreTransactions` attaches the subscription again.

In further testing it turned out subscription is moved from proper account to newly created anonymous user. Is this expected behavior? If so how can I make sure subscription stays active for the user?

 

Let me know if additional information is needed. Thanks in advance for your help!


Platform details:

React Native 0.63.4
react-native-purchases@4.5.2
Android

Best answer by Andy

Hi @Michal Wlodarczyk! This does indeed seem similar to what @Nizza is seeing. Could you take a look at my answer on the other ticket? 

View original
Did this post help you find an answer to your question?
This post has been closed for comments

2 replies

Forum|alt.badge.img+2
  • Member
  • 9 replies
  • February 14, 2022

This sounds very similar to the issue we’re currently facing. I posted in here 11 days ago but so far not had much help getting to the bottom of it. Which is a shame as it seems like quite a critical issue.

 

 

 


Andy
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 237 replies
  • Answer
  • February 15, 2022

Hi @Michal Wlodarczyk! This does indeed seem similar to what @Nizza is seeing. Could you take a look at my answer on the other ticket? 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings