Does the purchase token remain the same when a subscription is renewed with Android IAB V3?
使用Android IAB V3更新订阅时,购买令牌是否保持不变?
Would it be a bad idea to rely on the purchase token as the user's ID on a backend server? (Assume throwing away their data when the subscription expired isn't a big deal)
在后端服务器上依赖于购买令牌作为用户ID会不会是个坏主意?(假设在订阅过期时丢弃他们的数据没什么大不了的)
1 个解决方案
#1
1
According to this answer this answer, it remains the same.
根据这个答案,它仍然是一样的。
So should be fine to rely on it, keeping in mind that it will be different if the user cancels and then purchases the subscription again.
因此,依靠它应该是可以的,记住,如果用户取消订阅,然后再次购买订阅,它将是不同的。
#1
1
According to this answer this answer, it remains the same.
根据这个答案,它仍然是一样的。
So should be fine to rely on it, keeping in mind that it will be different if the user cancels and then purchases the subscription again.
因此,依靠它应该是可以的,记住,如果用户取消订阅,然后再次购买订阅,它将是不同的。