Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

Day 96: How to stop Apple from rejecting your serverless app

DEV Community: aws·Eric Rodríguez·2 days ago
#uelXGzmu
#dev#review#store#reviewer#test#apple
Reading 0:00
15s threshold

Today I submitted my Serverless AI Financial Agent to the iOS App Store. If you build apps that rely on external APIs (like Stripe, Plaid, or heavy GenAI models), you are at risk of failing the App Store Review. If a reviewer logs in and your 3rd-party Sandbox API times out, they will reject your app instantly. The Solution: AWS Lambda Test Routing I didn't just give Apple a test account; I built a trapdoor for them in my Python backend. When the HTTP request hits API Gateway, my Lambda function decodes the JWT. If it detects the Apple Reviewer's email, it completely skips the external API calls. Inside lambda_function.py if user_email_jwt == ' apple.review@duromoney.com ': # Bypass DynamoDB and Plaid return serve_deterministic_mock_state() This ensures the reviewer gets a lightning-fast, perfectly populated UI every single time, without exposing any real PII or relying on flaky sandbox environments. App Store Connect "Notes": Always be transparent.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More