Native Twitter for iOS6

6 replies [Last post]
MochiBits
User offline. Last seen 3 days 3 hours ago. Offline
Joined: 2 Dec 2012

I'm testing out native.showPopup("twitter") and it doesn't seem to work for the ipod.

Does it also not work for the ipad w/ wifi only?

Seems like it should work for any iOS6 device.

Replies

Rob Miracle
User offline. Last seen 16 hours 48 min ago. Offline
Staff
Joined: 26 Nov 2012

I would think it should work with any iOS device running iOS 5.0 or later. Can you verify that your twitter is setup correctly on the device (maybe go into your Camera Roll, tap on a photo, click the icon used to share and see if twitter is an option there (along with print, email, message, etc.)

MochiBits
User offline. Last seen 3 days 3 hours ago. Offline
Joined: 2 Dec 2012

It was setup correctly.

But it works now! Very strange.

I don't know what changed in order for it to work. I've been testing with 996 for a few days and now 1006 and couldn't even get the basic case to popup.

native.showPopup("twitter")

Will see if I can reproduce the case where it didn't work.

MochiBits
User offline. Last seen 3 days 3 hours ago. Offline
Joined: 2 Dec 2012

It now stopped working again. Nothing changed. I'm beginning to suspect it has to do with the build process somehow. Not sure... but somehow.

Rob Miracle
User offline. Last seen 16 hours 48 min ago. Offline
Staff
Joined: 26 Nov 2012

plug your device into your computer and run XCode's organizer and look at the console log of the device and see if you're getting any errors.

MochiBits
User offline. Last seen 3 days 3 hours ago. Offline
Joined: 2 Dec 2012

Yup. Found something.

<Warning>: Lua Runtime Error: lua_pcall failed with status: 2, error message is: calling 'send' on bad self (udp{connected} expected, got userdata)

iPod Touch 5th gen 6.0.1
Corona build 2013.1008

MochiBits
User offline. Last seen 3 days 3 hours ago. Offline
Joined: 2 Dec 2012

Ok. Same build. I killed all the apps from the background, and it started working. *scratching head*

Viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.