I am developing an iOS application and I am going to sell products in the application based on the type of user after logging in.
If the user is of type A [Privileged user] Then he can download the product for free / Based on the promo code / Buy, if the promotional code is InValid (which I can decide based on some flags).
If the user is of type B [General user], he must pay for the product, and then he can download it if the payment is successful.
But I have doubts about whether Apple is going to approve it or not. When I applied to the app store, I provided them with the usual user (user data type B) credentials so that they could buy them normally.
Is this approach right or wrong?
Another way: I can install the same product with two different identifiers in iTunes connect. One is free and the other is for purchase.
When a user logs in based on a user of Type I can decide which products to download for that user based on the product identifiers that I have.
Are there any alternative solutions for the same?
Has anyone gone through the same scenario?
Thank you!
source share