Toc & Info Pages
TOC & Info
Project Properties
Book Shelf Type

-
Advanced Settings > Book Shelf Project
- pages
Downloadable book project check box. this checkbox is only applicable for a book project to be embedded in the master book shelf app.

Monetization

Please set product name and ID from In-App Purchase from Monetization tab. For instance, Episode02 pages are p4-p5, startPageNum is 4 and numOfPages is 2 and the information page is p3 so that infoPage is 3
Firstly at In-App Purchase panel, choose unlock Bookshef Page and then clock + icon to add a new product

It opens the add new product window

-
Product: Episode02, ID: 4_2_3
- start Page: 4
- num Of Pages: 2
- info Page: 3
if infoPage not exist, please make it empty. So Episode03’s ID can be 6_1_
-
Product: Episode03, ID: 6_1_
With debug mode with these dummy ID, you can test your app with Corona simulator. iap_badger library performs faking purchase with debug mode.
You must edit to set valid product IDs of apple, google and amazon when building for final app.

Shelf.psd

Need to create the following layers with the same names given exactly because store/UI.lua references each layer name by the name, don’t use another name of your own
- restoreBtn
- purchaseBtn
- downloadBtn
- savingTxt
- savedBtn
Episodes defined in IAP table of project properties need the icon layers for the thumbnail. For example, Episode01, 02, 03 are defined, please create the following icon layers
- Episode01Icon
- Episode02Icon
- Episode03Icon
Need to create an action from Project and Pages > Action. This action tells the episodes to be purchased.

-
Monetization to add Buy Product Episode02
-
Monetization to add Buy Product Episode03
ep02_info.psd

Need to create an action from Project and Pages > Action

-
Monetization to add Buy Product Episode02
Need to create the following layers with the same names below because store/UI.lua references to each layer by name.
- purchaseBtn
- downloadBtn
- savingTxt
- savedBtn
- Episode02Icon
- hideOverlayBtn