Hi Everyone,
I am using Google IAP V3 in my game, And i have a issue regarding it.
Whenever i call store.init(“google”, transactionCallback), it just hangs there.
I am not able to find the solution for this.
I traced my code through the adb logcat Corona,
But it never calls my function which are after store.init(“google”, transactionCallback).
As my build.settings and config.lua have all the requirements needed for Google IAP V3.
I have attached my log of store.
My SDK versions is 2014.2511(2014.11.18)
----------require store
local store = nil
isGooglePlayV3 = false
if system.getInfo(“targetAppStore”) ==“google” then
store = require(“plugin.google.iap.v3”)
isGooglePlayV3=true;
print(“it is a google play”,isGooglePlayV3)
end
--------- after select the product
print("***** STORE BEFORE INIT *****",) – Comes till here
store.init(“google”, transactionCallback)
print("***** STATUS OF STORE *****",store.isActive) --Never Comes till here
timer.performWithDelay (1000, setupMyStore)
print(“Using google’s in-app purchase system.”)
– build.settings—
[“plugin.google.iap.v3”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { android=true }
},