You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Library used for promoting in-app purchases dooboolab/react-native-iap
App is not running in the background.
Link used to test in app purchase promotion in AppStore - itms-services://?action=purchaseIntent&bundleId=com.example.app&productIdentifier=product_name
Expected behavior -
When triggered the in-app purchase promotion with the link mentioned above, the app should launch with the iap-promoted-product event.
Actual behavior -
When the app is not running in the background and when I try to send purchase intent: <PRODUCT_ID> to delegate, the paymentQueue:shouldAddStorePayment:forProduct never gets hit. So the app doesn't get the iap-promoted-product event published. This results in the event callback never getting executed.
Tested environment - Real device, iPhone XS 14.4.2
Steps to reproduce the behavior
Set up an event-listener for promoted products (as in example inside this repo)
Make sure app isn't running in the background
Open safari and paste itms-services://?action=purchaseIntent&bundleId=&productIdentifier= Open this link
Thanks
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Version of react-native-iap 7.3.0
Platforms - iOS
Environment setup -
Library used for promoting in-app purchases dooboolab/react-native-iap
App is not running in the background.
Link used to test in app purchase promotion in AppStore - itms-services://?action=purchaseIntent&bundleId=com.example.app&productIdentifier=product_name
Expected behavior -
When triggered the in-app purchase promotion with the link mentioned above, the app should launch with the iap-promoted-product event.
Actual behavior -
When the app is not running in the background and when I try to send purchase intent: <PRODUCT_ID> to delegate, the paymentQueue:shouldAddStorePayment:forProduct never gets hit. So the app doesn't get the iap-promoted-product event published. This results in the event callback never getting executed.
Tested environment - Real device, iPhone XS 14.4.2
Steps to reproduce the behavior
Set up an event-listener for promoted products (as in example inside this repo)
Make sure app isn't running in the background
Open safari and paste itms-services://?action=purchaseIntent&bundleId=&productIdentifier= Open this link
Thanks
Beta Was this translation helpful? Give feedback.
All reactions