Comments (3)
Xcode environment makes more sense as an environment to the SignedDataVerifier to verify receipts generated in Xcode. LOCAL_TESTING is for unit tests to use an environment that does not correspond to a real environment
from app-store-server-library-java.
Thanks Alex, that helps. In other words, the Xcode environment is only intended for SignedDataVerifier to decode messages, but not for API server client to request app store server, right? If it is the case, perhaps it should throw exception at the time of constructing the API client if the environment is neither sandbox nor production. I am new to App Store API, it actually spent me quite some time to figure out if the environment is Xcode, some methods cannot be used. (such as get transaction info by transaction id)
from app-store-server-library-java.
This has been improved in #89 to throw an exception when Xcode is passed as an argument to the AppStoreServerAPIClient. LOCAL_TESTING is kept but added a comment to make it a little clearer that is used for unit testing only.
from app-store-server-library-java.
Related Issues (20)
- Verification failed with status INVALID_CHAIN HOT 11
- feature request for AppStoreServerAPIClient - http client abstraction HOT 7
- v2.2.0 is not available on Maven Central HOT 2
- [Feature Request] Custom Implementation of BearerTokenAuthenticator HOT 4
- Code logic issues HOT 2
- [Enhance] Ignore Apple server SSL certificate error HOT 3
- ReceiptUtility.extractTransactionIdFromAppReceipt question HOT 5
- Add caching to revocation checks for JWS verification
- Allow JWS online checks to be modified at runtime
- Problems using library HOT 5
- Error when get extractTransactionIdFromAppReceipt HOT 2
- The time to obtain user active type subscription exceeds 3 seconds. Is this time too long?
- Add Default environment as Production for AppStoreServerAPIClient.java, for handling production usecase easily HOT 4
- Add method parameters in AppStoreServerAPIClient methods to accept bearer token HOT 2
- hello, I would like to ask under what circumstances will apple callback to be empty? HOT 4
- Proxy configuration HOT 2
- How to call App Store Server API sandbox environment HOT 5
- an exception appears with httpStatusCode=401, apiError=null, apiErrorMessage='null' HOT 15
- Apple Root Certificates Update Schedule HOT 1
- ConsumptionRequest model does not match the documentation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from app-store-server-library-java.