Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

IOS Promoted IAP
Started by sararose Aug 09 2018 03:41 PM

6 replies to this topic
iap store plugin promoted purchases login purchase handler
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

sararose

[GLOBAL: userInfoPane.html]
sararose
  • Observer

  • 12 posts
  • Corona SDK

Hey all,

 

I've implemented IOS promoted IAP using Corona store library and would like to share what I feel is a deficiency found in the library.

 

I used the following link for testing. 

 

itms-services://?action=purchaseIntent&bundleId=my.package.id&productIdentifier=my.iap.product.id

 

Corona SDK IAP library encapsulated in store module receives the intent and forwards it to the listener specified in the init call like so:

store.init( transactionListener )

The transactionListener is fired after the user purchases or cancels the transaction or if transaction failed. 

There are couple common dialogs that are typically presented:

 

1) Login dialog - allows the user to input their credentials before the purchase

2) Confirm IAP dialog - displays the IAP product price and allows the user to either buy or cancel

 

 

As it stands today there appears to be no way to execute any LUA code prior to user taking some kind of action on the above dialogs.  Only after taking an action of some type the listener will fire with the state variable set to either "cancelled" or "purchased".

 

With the library behaving this way it's not possible to customize the user's IAP "landing" experience.  Whatever your application loads when it starts will be displayed.  In some cases it can even show the black screen.

 

It would be great if Corona could add another event type ( call it promoted_iap or something similar) prior to displaying any of the IOS IAP dialogs. 



[TOPIC: post.html]
#2

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 7,375 posts
  • Corona SDK

What plugin are you talking about?  Please, always link the topic of your discussion.



[TOPIC: post.html]
#3

sararose

[GLOBAL: userInfoPane.html]
sararose
  • Observer

  • 12 posts
  • Corona SDK

I replaced "plugin" with "library" in my original post.  It's the store library that comes out of the box with Corona SDK.

https://docs.coronalabs.com/api/library/store/index.html

 



[TOPIC: post.html]
#4

Studycat2

[GLOBAL: userInfoPane.html]
Studycat2
  • Enthusiast

  • 70 posts
  • Corona SDK

+1 

 

We are stuck getting through the approval process because of this. 

 

We make apps for kids. 

We have parental locks on every action in our app that links to purchases or external content. 

We have **no way** to put a parent lock on the transactionListener which is fired when a user enters app with a promoted purchase. 

We can't get past the review process! 

 

This is a blocking problem for us. Can somebody from Corona please escalate this request.

 

Thanks



[TOPIC: post.html]
#5

Tim Light

[GLOBAL: userInfoPane.html]
Tim Light
  • Observer

  • 14 posts
  • Corona Staff

Hello there, 

Our engineers currently working on to make the Apple IAP plugin and it will see the light soon. 

Best regards,
Tim



[TOPIC: post.html]
#6

Studycat2

[GLOBAL: userInfoPane.html]
Studycat2
  • Enthusiast

  • 70 posts
  • Corona SDK

Any news on this? We are still getting rejections from Apple.

 

Thanks

Studycat



[TOPIC: post.html]
#7

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,988 posts
  • Corona SDK

Can you post the message you're getting from Apple?

 

Rob




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: iap, store, plugin, promoted, purchases, login, purchase, handler