πŸ“„ Instructions for iOS SDK

πŸ“‹ 4 step process to start selling your own game merchandise

Version: 2
Date: 01/12/2019
Process:

πŸ‘¨β€πŸ’» Step 1. Installation

1.1. Install Shopify’s Mobile Buy SDK ​+page facing up Instructions on how to install Shopify for Monetizr SDK​ 
1.3. Add Monetizr SDK to your Xcode project.

πŸ€– Step 2. Set up

2.1. Import the header.
#import "Monetizr.h";

2.2. The Monetizr.plist is preconfigured for you. For reference, the demo API Key is:
3adca63cc172c5ae919e5a2529f4f2a8

2.3. Optional: Upon request, we will provide you with a Certificate Signing Request (CSR) for Apple Pay, see ​+page facing up Instructions on how to use Apple Pay​.

πŸ‘¨β€πŸš€ Step 3. Link products

3.1. You need to tag each button or in-game action using the Monetizr SDK:Β 
{ Β  Β  Β  Β  Β  Β  Β Β 
Β  Β  [Monetizr showProductForTag:@"Tag"] Β 
}
The tag can be an identifier for the product (e.g. β€œtshirt_1”), button (e.g. β€œmenu_button”), or game action (e.g. β€œlevel2_unlocked” or β€œchallenge_1_completed”). For testing use β€œtest_tag”.Β 

3.2. Send us a list of all tags that you are using in your game.Β 

3.3. Choose which tags you want to enable, and what products you want to show. (Tags can be enabled/disabled at any time, and the products can be changed without updating the app). We will add this information into our system within 24 hours.

3.4. The product view will be shown when the user clicks on the button or reaches the game achievement that is tagged with an enabled tag.Β 

πŸ‘• Step 4. Create merch store (optional)



4.1. Create a new view for the merch store. See the wireframe on the right.

4.2. For each product, create a block that consists of both, a product image and a button with the price.

4.3. Link the buttons to the correct product as described inΒ