Config
Configuration of the snabble SDK.
Constructors
Properties
Relative path from the assets folder which points to a bundled file which contains the metadata.
Resource id of the raw file which contains the metadata.
The radius in which the CheckInManager tries to check in a shop.
The radius in which the CheckInManager tries to stay in a shop, if already in it. If outside of this radius and the lastSeenThreshold, you will be checked out.
If set to true, disables certificate pinning. Not recommended for production!
The endpoint url of the snabble backend. For example "https://api.snabble.io" for the Production environment.
If set to true, creates an full text index to support searching in the product database using findByName or searchByName.
SQL queries that will get executed in order on the product database.
The time in milliseconds which we keep you checked in at a shop.
Set to true, to load shops that are marked as pre launch and are not part of the original metadata in the backend (for example for testing shops in production before a go-live)
Set to true if you want to control when the product database gets updated, otherwise the product database gets updated when checking in and if checked in when the app resumes
The time that the database is allowed to be out of date. After the specified time in milliseconds the database only uses online requests for asynchronous requests.
The time that the shopping cart is allowed to be alive after the last modification.
Network interceptor used for all calls made by the SDK.
Vibrate while adding a product to the cart, by default false.