Solved

Subscription being randomly removed on sign in

  • 12 February 2022
  • 2 replies
  • 46 views

Badge +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

icon

Best answer by Andy 15 February 2022, 21:53

View original

2 replies

Userlevel 1
Badge +2

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.

 

 

 

Userlevel 5
Badge +8

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? 

Reply