I’m not sure how I get the updates, I believe I just need to use the corona simulator to run the app to “re-build” yes ?
Note: I tried to build with your example code https://github.com/scottrules44/Dreamlo-example but same behavior, works in the simulator but unable to populate the extra fields like “text”, and error like above when trying to run on an android device.
This should be patched, i just build for iOS and it work fine. My simulator is messed up. I thought is would be smart to delete the plugin in the corona plugins folder on my mac and now i am having lots problems. i will test this android when i get chance. But this is a pure lua plugin so it should work across all platforms corona supports. I did notice that internet permission is off in my sample. I will try to the sample updated. I would try rebuilding app
Edit: to check if you what version you are running of plugin a new “secret api” has been added
print(dreamlo.verison)
Sorry i miss spelled version, will fix later.
But it should output “1.0.1” if you are on the latest “version”
Hi, I’ve been trying out the Dreamlo plugin and it is working great, so thank you, but I wanted to try and only get the top 10 scores rather than all but anything other than ‘nil’ as the first param always returns no scores.
Thanks for your quick response, but I had already tried that, which still returns nothing.
Based on the code below, it always prints ‘no scores’
local function handleScore( ev ) if (not ev.error) then myText.text = "Scores Printed" else myText.text = "Error" print (ev.error) end if (ev.data == nil) then print( "no scores" ) else print\_r(ev.data) end timer.performWithDelay( 1000, function ( ) myText.text = name end ) end dreamlo.getScores({amount=10}, handleScore) -- fails -- dreamlo.getScores(nil, handleScore) -- works, returns all scores