Open antuan10 opened 3 years ago
Add a button that use the
store.refresh()
Again. And it will restore.
Thank you very much for answering. But I have another problem. The above code works perfectly on android but does not work on ios. In ios the button does not work. And in the xcode it does not give me any error, simply the button that I have in the index.html does not react. Any idea why?
Maybe you review your code and look for the const button
and also for the function some lines later button('Restore Purchases', 'store.refresh()')
this looks like the problem ?
Hi Dexux, my programming level is very basic. I have been able to put the inapp purchase in my cordova app after literally hundreds of hours. The code works fine on android but not on ios. It may be something simple but I don't know what it can be. When saying that the problem is "he const button and also for the function some lines later button('Restore Purchases', 'store.refresh()') ". The truth is that I don't know how to make those modifications in the code. Could you tell me how to write the code? Sorry for asking too much, but it is important for me to get the code to work after so many hours invested and to be so close to getting it
If you need professional help you have to pay for it.
Hi Dexus, you are absolutely right. The problem I find is that it is difficult to find someone for a small and very specific problem like this. Would you do this job for money?
You can find contact details at www.deineagentur.com, I will be happy to make you an offer. Please make sure that you can provide Git access if you want to hire me. No ZIP files or downloads will be made.
Hello Dexus, did you receve my mail?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
system info Cordova:
Cordova CLI : 10.0.0 Cordova Platforms : ios 6.1.0 Cordova Plugins : cordova-plugin-code-push, cordova-plugin-network-information
Hello, I am a beginner programmer. I have been able to implement the in-app purchase in my app using cordova and the inapp.js and index.html codes. Everything works correctly. But I am unable to put a Restore button. I have spent many hours trying but I don't know how to do it. Any suggestion?
index.html