IAP is not working after published in to play store in alpha release

Posted by Pinki | Updated on

IAP is not working after published in to play store in alpha release

Now the IAP feature is working in my flutter APP (in Alpha, beta, Production), the problem was in the code. when we try to connect to the store we have this code to check the store availability.

I was just checking one time and if store available I further coded the premium features logic. But this works always in local, but the published alpha/beta versions never works. so I just changed my code like below.

Here I am just trying to connect the store again, If first time fails. so at first we dont get always the response properly, trying multiple times to connect with store helps to work IAP. I put the logic to check the connection 3 times.

Hope this helps!


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers