I have my app on Google play with version 2.2, and as a result of the latest restriction that we have to target API 26+, I published my updates on my Facebook page. But the problem is, that people using the updates (With higher version than 2.2) can’t purchase the items. It shows Item not available for purchase error. What can I do to solve this problem?
Question posted in Facebook API
The official documentation for the Facebook APIs can be found here.
The official documentation for the Facebook APIs can be found here.
2
Answers
Seems like Google wanna make sure that if you are using their IAP you must add the application and its latest updates on their store, otherwise IAP won't work as a result of version code differences.
This is not good and not practical, why?
Because sometimes users don't update their apps, yet they are still using the app and want to purchase items.
You published a downloadable APK in Facebook ?
Take in account that if your app has Google Play App Signing enabled on the developer console then the signature key of the APK you upload to play store for an app release is different than the key of the app the users install from the Play Store, the Developer Console changes it.
Then Android identifies both app (the installed from Play Store and the installed from an APK out of Play Store) as different apps, then the installed from the APK can’t buy the items of the PLay Store app
The solution is to publish the update as a new release in the Developer Console