Skip to main content
Solved

Unexpected behaviour when login on multiple devices

  • December 9, 2021
  • 4 replies
  • 408 views

Forum|alt.badge.img+3

A few weeks ago I was experimenting with transferring subscriptions if a user makes a logout or logs in with their login ("test1") from another device. Until recently, subscriptions were transferred to another device or login, but were canceled on the old login and device.  Now I observe that it is enough to enter user Id on other devices and all devices will get a subscription, even if they have different google account. Anonymous ids are added to the "test1" account. So even those devices where the user left the account get subscriptions.  It turns out that users just tell each other userid and everyone can buy a subscription to only onсe.    How to restore the behavior where a user can use only one device and can't share a subscription only by passing his userid?

Best answer by ryan

Hey @Sergey! RevenueCat has always linked a purchases to an App User ID, not a device, so if customers shared login information and the same App User ID is set on multiple devices they can all access the subscription at the same time. 

 

And one more problem when user logout then press restore purchases(expected a transfer subscription ), transferring logged in console:

 "transferred_from": [    ….,    "test1"  ],  "transferred_to": [    "$RCAnonymousID:3825xxxxxxxx"  ]

 but no subscription for user 3825  appear

You won’t see a new transaction appear for user 3825 here since they had a transaction transferred to them, a new transaction was not created. If you navigate to their customer record in RevenueCat you should see the subscription transfer event appear there. 

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

4 replies

Forum|alt.badge.img+3
  • Author
  • Member
  • 5 replies
  • December 9, 2021

And one more problem when user logout then press restore purchases(expected a transfer subscription ), transferring logged in console:

 "transferred_from": [    ….,    "test1"  ],  "transferred_to": [    "$RCAnonymousID:3825xxxxxxxx"  ]

 but no subscription for user 3825  appear


ryan
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 391 replies
  • Answer
  • December 10, 2021

Hey @Sergey! RevenueCat has always linked a purchases to an App User ID, not a device, so if customers shared login information and the same App User ID is set on multiple devices they can all access the subscription at the same time. 

 

And one more problem when user logout then press restore purchases(expected a transfer subscription ), transferring logged in console:

 "transferred_from": [    ….,    "test1"  ],  "transferred_to": [    "$RCAnonymousID:3825xxxxxxxx"  ]

 but no subscription for user 3825  appear

You won’t see a new transaction appear for user 3825 here since they had a transaction transferred to them, a new transaction was not created. If you navigate to their customer record in RevenueCat you should see the subscription transfer event appear there. 


Forum|alt.badge.img+3
  • Author
  • Member
  • 5 replies
  • December 10, 2021

Hi @ryan .

 linked a purchases to an App User ID

 Without being linked to a google play account, but why?  How I can prevent this behaviour?  And how I can control this behaviour if somebody wants to by subscription for multiple devices? I mean how to control cost of subscription, cause price must be recalculated ( price x Ndevice)  

You won’t see a new transaction appear for user 3825 here since they had a transaction transferred to them, a new transaction was not created. If you navigate to their customer record in RevenueCat you should see the subscription transfer event appear there. 

I'm sorry, maybe I didn't put it right. I can see the transaction in the revenue console for both test1 and 3825( "transferred_from": [ …., "test1" ], "transferred_to": [ "$RCAnonymousID:3825xxxxxxxx" ]), but the subscription for user 3825 does not appear. Is this a delay or a malfunction or something else?


Forum|alt.badge.img+3
  • Author
  • Member
  • 5 replies
  • December 10, 2021

Today I receive a email , look like behaviour was changed:

 

Today we’re writing to let you know about two big improvements coming to RevenueCat:

  • You can now share subscriptions not only between versions of the same app on different platforms (e.g., between iOS and Google Play Store), but also between different apps on the same platform.

 

 


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