I’m trying to release my first tvos app and try to use this plugin. When uploading to iTunes Connect it complains about App thinning problem.
I’m using below settings in build.settings. I also tried to add supported platform then it was possible to upload and pass the Testflight process but the app doesn’t start, just a black screen. A runtime error. When I remove the plugin it works but then I can’t use IAP.
I’m using the latest daily build.
["plugin.storeKit"] = { publisherId = "com.scottrules44", --supportedPlatforms = { tvos=true } },
local store = require("plugin.storeKit") local json = require("json") ----=======================================--- -- Configure IAP ----=======================================--- store.init(function(e) print( "init") print( "------" ) print(json.prettify(e) ) print( "------" ) if e.transaction.state == "purchased" then native.showAlert("Success", "Thank you for the purchase", {"OK"}) box.iApUpgrade = true; box.receipt = e.transaction.originalReceipt box:save(); removeLocking() elseif e.transaction.state == "failed" then native.showAlert("Failed", "Your purchase failed. Please, try again.", {"OK"}) elseif e.transaction.state == "cancelled" then native.showAlert("Cancelled", "Your transaction was cancelled. Please, try again.", {"OK"}) end end)