Hi ,
Let me wish everyone a happy new year.
I am integrating in app purchase for apple and playstore.
I have followed all the guidelines given. But when i run its showing a waring " The store api is not supported for this platform " and its not detecting whether its playstore or apple . the code is
" if store.availableStores.apple then
store.init(“apple”, transactionCallback)
elseif store.availableStores.google then
store.init(“google”, transactionCallback)
else
local alert = native.showAlert( “Zombie Love”, " Store is not available", {“Ok”} )
print(“In-app purchases is not supported on this system/device.”)
end-"
Its not getting intialized . Pls dont ask me to refer any link , pls show me any working examples. As i am a newbie.