I want to highlight the current plan(product) on the pricing table by mapping these two:
- customerInfo.getActiveSubscriptions()
- offerings.getCurrent().getAvailablePackages()
but what I found is that there is no any unikey from them. here is what i got:
- customerInfo.getActiveSubscriptions() → "pro_plus:monthly"]
- offerings.getCurrent().getAvailablePackages() → { "productId":"pro", "basePlanId":"monthly"}
is that mean i need to combind the key "productId”+”:”+"basePlanId" by myself?or any better way to do that?
this is the sdk question using java in android.