Web Store
Configure
To use 101XP Web Store please add the next key to your Info.plist:
Info.plist
<key>P101XPWebStoreProjectName</key>
<string>your_project_name</string>
Please, ask your release manager for parameter P101XPWebStoreProjectName.
Usage
danger
You need to implement P101XPDelegate method:
- (void)p101xpOnShowWebStoreResult:(P101XPError *)error;
To show 101XP Web Store please use the method:
+ (void)showWebStoreWithProperties:(NSDictionary *)properties;
properties - additional optional properties appending to the final 101XP Web Store url as "key=value"
Example
// Add your properties
id properties = @{@"key": @"test"};
// Show 101XP Web Store
[P101XP showWebStoreWithProperties:properties];
Handling an error in showWebStoreWithProperties:
- (void)p101xpOnShowWebStoreResult:(P101XPError *)error {
if (error != nil) {
// Handle an error
} else {
// Web Store shown successfully
}
}