Skip to content

tistoreproductview is a Titanium module that allows to display a modal window on iOS to retrieve the information of an application form with an appId

License

Notifications You must be signed in to change notification settings

SquirrelMobile/Ti.storeproductView

Repository files navigation

tistoreproductview Build Status

Powered by N|Solid

tistoreproductview is a Titanium module that allows to display a modal window on iOS to retrieve the information of an application form with an appId

N|Solid

Usage

NOTE: This module runs on iOS only from SDK 8

GET STARTED

Register your module with your application by editing tiapp.xml and adding your module. Example:

<modules>
	<module platform="iphone">fr.squirrel.tistoreproductview</module>
</modules>

USING YOUR MODULE IN CODE

To use your module in code, you will need to require it.

var tistoreproductsquirrel = require('fr.squirrel.tistoreproductview');

To open a product sheet of the app store it will be necessary to use the method : showApp Exemple with facebook appid

tistoreproductsquirrel.showApp({
		appId:284882215,
		success:function(e){
			Ti.API.info("loaded successfully.");
		},
		error:function(e){
			Ti.API.info("loaded failed.");
		},
		closed:function(e){
			Ti.API.info("product view closed.");
		}
	});

LICENCE

Open Source This module was written in Objective C.

Author

www.squirrel.fr N|Solid

About

tistoreproductview is a Titanium module that allows to display a modal window on iOS to retrieve the information of an application form with an appId

Resources

License

Stars

Watchers

Forks

Packages

No packages published