you can get that key from developer console of Google play just create app in it and go to service and api section and you can find your very very long key
Ok thank you, but when i try to restore it doesn't work (i can buy something as test but cannot restore)
So i want to use Google Billing. I've found the libs and the src, change the manifest.xml and the *.java but i've got an issue when i try to buy something :
"GoogleBilling.BILLING_UNAVAILABLE"
So, have you got valide libs and sources for me ? Because i think mine are not up to date.
My application is already post on the Google Dev Console but not published ago.
Are you using the new plugin or the old 'built-in' version?
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
iab:restore() will do exactly the same code when the user buy an item.
And for the internet connection i do this thing :
Connection = Core.class(UrlLoader)
function Connection:init() print("-- Initilisation de la connection") self.loader = UrlLoader.new("google link ") -- Here is a link self.loader:load("google link ") -- Here is a link
self.connected = false
self.loader:addEventListener(Event.COMPLETE, self.onComplete, self) self.loader:addEventListener(Event.ERROR, self.onError, self) self.loader:addEventListener(Event.PROGRESS, self.onProgress, self) end
function Connection:isConnected() self.loader:load("google link") -- Here is a link return self.connected end
function Connection:onComplete(event) print("-- Connection réussi") self.connected = true end
function Connection:onError() print("-- Connection non réussi") self.connected = false end
function Connection:onProgress(event) self.connected = false end
Comments
Likes: jeromegsq
So i want to use Google Billing. I've found the libs and the src, change the manifest.xml and the *.java but i've got an issue when i try to buy something :
"GoogleBilling.BILLING_UNAVAILABLE"
So, have you got valide libs and sources for me ? Because i think mine are not up to date.
My application is already post on the Google Dev Console but not published ago.
The Gobb : https://play.google.com/store/apps/details?id=fr.toastapp.thegobb
https://deluxepixel.com
Now i use the IAB plugin which is up to date.
How iab:restore() works ?
Is it possible to know if the user is connected to the network ?
The Gobb : https://play.google.com/store/apps/details?id=fr.toastapp.thegobb
iab:restore() will do exactly the same code when the user buy an item.
And for the internet connection i do this thing :
Connection = Core.class(UrlLoader)
function Connection:init()
print("-- Initilisation de la connection")
self.loader = UrlLoader.new("google link ") -- Here is a link
self.loader:load("google link ") -- Here is a link
self.connected = false
self.loader:addEventListener(Event.COMPLETE, self.onComplete, self)
self.loader:addEventListener(Event.ERROR, self.onError, self)
self.loader:addEventListener(Event.PROGRESS, self.onProgress, self)
end
function Connection:isConnected()
self.loader:load("google link") -- Here is a link
return self.connected
end
function Connection:onComplete(event)
print("-- Connection réussi")
self.connected = true
end
function Connection:onError()
print("-- Connection non réussi")
self.connected = false
end
function Connection:onProgress(event)
self.connected = false
end
The Gobb : https://play.google.com/store/apps/details?id=fr.toastapp.thegobb