I guess I am asked to sign in because I am retrieving the purchases made by the user but I need to know that to know if a user is a premium user or not. That is not a good user experience and I know other apps that have in-app purchases don't ask me to sign in every time I open the app from scratch. User is asked to sign into their iTunes account whenever a user opens the app. I am having two issues while using subscriptions on iOS that I am not able to resolve for quite some time. Real Device Steps to reproduce the behavior Get an error "Invalid product ID" Tested environment (Emulator? Real Device?) See Apple UI to request a subscription Actual behavior which is why it's so odd I couldn't find anything else documented about this error anywhere.0.61.5 Platforms you faced the error (IOS or Android or both?) but I suspect I am not, nor will I be the only one to do this. I admit this is documented, I did follow it the first time I used a test user, but forgot the next time I wanted to test. and then remove the appstore/itunes login on your test device and try to run it. you will likely need to delete all your sandbox testers if you did what I did as they will be invalid and then create new ones. This is purely my mistake, but Apple could do a better job on the error this thing throws, and have the app store/itunes perhaps display something other than the test id, so if its been a week since or two since you set your test id and go to change it you don't just foolishly think you do it that way.Īnyway. I had properly done this, but then without reconsulting the documentation I went to change users, and saw that I had a test user in the UI of the settings (I guess it gets set by the software) so I attempted to just set it there, and was invalidating the accounts causing this problem. LOG OUT of ITUNES/APP STORE so that no account is in the apple ID in settings and then just run your app & login the test account via your app. You have to have your ITUNES/APPstore login EMPTY, do not try to log in explicitly in the settings. which invalidates them as test accounts because they try to legitimately log into itunes. I was setting my user account in itunes login to these test accounts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |