Steps described on this page assume that you have followed previous steps and installed Unity plugin.
After installation, the Offer View can be displayed with a single line of code.
- If enabled then immediately show a loading screen;
- Try to acquire product info using
GetProductfailed then log an error and hide the loading screen;
GetProductsucceeded then immediately call
ShowProduct(Product)for acquired Product;
ShowProductwill initialize the product view with basic information about the product and start downloading product images (image download is controlled by the Product object but the Product Page controller waits until all images are reported as downloaded);
- When image download finishes the loading screen will be closed.
If required you can have more control over preloading the product page.
Updated about a month ago
|Preloading Offer View|