-
-
Notifications
You must be signed in to change notification settings - Fork 655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Promoted IAP listener not firing in 4.4.2? (working in 4.4.1) #950
Comments
Thanks for sharing. The change is simple #938. I think we should revert this if this is causing a problem! |
not work for me also downgrade also not working but clicking the acual promo in appstore is working but app close and install production one instead T^T @hyochan |
still doest work now i init new react-native project and test also not work |
I'm facing the same problem :( |
appstore keep rejecting me for 2 week now T^T can someone help |
solve the lasted version have comment out remove comment out it work like before :) |
Many thanks, @punjasin. This piece of code is located in |
Thanks for sharing the issue wonderful people~! Related #971 |
Hi @hyochan, so the final solution for this is to uncomment the above code and that's it or do I need to do anything else. I don't understand much about the |
@nenjamin2405 You can find that in AppDelegate.m file in your react native project. |
@hyochan Sorry but I cannot find
I don't know much about the native code of iOS. |
@nenjamin2405 Sorry, I think I've talked too quickly. I've just fixed some code and added a guide to add Try installing |
Many thanks, @hyochan, will try it and let you know |
Hi @hyochan, I've just tried the newest version and added the recommended code snippet, when I terminate the app, there is an error logged in Xcode:
|
@nenjamin2405 I think you don't need the |
Hi @hyochan, it's very weird that in version 4.4.4, I could receive an event from the listener of promoted purchase |
@nenjamin2405 Have you called |
@hyochan Bingooo!!! That's what i'm missing. Previously the initConnection is available only in the component that contains By the way, I saw that in version 4.4.8 you're commenting the snippet
inside I need to uncomment them to make the whole flow working |
@nenjamin2405 Ah! That's sad. I think we need to make Since it feels like you have the debugging environment, would you like to contribute to this issue? I can reward you $30 for that in open-collective. |
Hi @hyochan I'm not quite sure how can I contribute to this issue, can you explain more details |
@nenjamin2405 The goal is to merge Below are the steps you can try. |
Version of react-native-iap
4.4.2
Version of react-native
0.61.5
Platforms you faced the error (IOS or Android or both?)
IOS
Expected behavior
The 'iap-promoted-product' event listener fires when opening the app using a itms-services:// link.
Actual behavior
The 'iap-promoted-product' event listener does not fire.
Tested environment (Emulator? Real Device?)
Real Device. Iphone 7.
I had a working implementation of the promoted IAP workflow that stopped working once I upgraded to the 4.4.2 version. Sounds weird being a minor release, but downgrading solved the issue.
The text was updated successfully, but these errors were encountered: