Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void didFinishLaunching (UIApplication application) {
- iapManager = new InAppPurchaseManager(new InAppPurchaseListener() {
- @Override
- public void productsReceived(SKProduct[] skProducts) {
- appStoreProducts = new HashMap<String, SKProduct>();
- for(int i = 0; i< skProducts.length;) {
- appStoreProducts.put(skProducts[i].getProductIdentifier().toString(), skProducts[i]);
- }
- // Products:
- appStoreProducts.put("item1", skProducts[1]);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement