I have gone through both the regular Twitter Sample as provided by Corona SDK in the Welcome Screen, I also went through GGTwitter.
For GG Twitter, what I have is set up as
local twitter function listener(event) if event.phase == "authorised" then twitter:post("Hello World") elseif event.phase == "posted" then twitter:deauthorise() elseif event.phase == "deauthorised" then twitter:destroy() twitter = nil end end twitter = GGTwitter:new("key", "secret", listener) twitter:authorise()
So the issue I’m seeing and if anyone else has this issue.
I can post a Twitter tweet to an account.
This issue comes up with both using the Twitter sample Corona has provided and with GGTwitter, when deciding not to sign into the app.
The problem is that if I decided not to log on and cancel the process before entering my log in information, than there’s no way to get back to the app/game.
If it’s Android I can press the back button, however on iOS there’s no physical back button, so the user needs to force close the app and open the game again.
Is there a condition that can be used in the function which knows if the user doesn’t want to sign in and than kicks it back to the app/game.
The screen with no going back button on iOS devices