Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Check user status sandbox or production in iOS
Started by usmanmughal.uog Nov 16 2018 02:11 AM

2 replies to this topic
sandbox production in-app purchase restore environment user ios subscription
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

usmanmughal.uog

[GLOBAL: userInfoPane.html]
usmanmughal.uog
  • Enthusiast

  • 56 posts
  • Corona SDK

Hello Guys,

As title of this question, I want to check the current Apple user that is going to purchase IAP/subscription within my app. I attached an image of Apple alert that says [Environment: Sandbox].

Is it possible to check the logged in user is sandbox user or real user?

 

Attached Files



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,000 posts
  • Corona SDK

I guess my question is why is this important? Apple IAP is designed to connect to the sandbox during testing and production with live builds without you making any code changes.

 

Rob



[TOPIC: post.html]
#3

usmanmughal.uog

[GLOBAL: userInfoPane.html]
usmanmughal.uog
  • Enthusiast

  • 56 posts
  • Corona SDK

Thanks Rob. I have to change the url of validation from Apple in case of subscriptions. It's a headache to upload same build again after testing.

Usman




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: sandbox, production, in-app, purchase, restore, environment, user, ios, subscription