Phonegap sample project?

Hi!

I had the opportunity to test CoronaCards for iOS, great product, really easy to use, I had no issues to configure and run.

Can you please post an example for iOS/Android with a Phonegap/Cordova base project

I’ve already implemented, nevertheless I am not sure if I went for the best way

Thanks!

Carlos.

Here’s our attempt at a Phonegap plugin. There were several parts we were unclear about as well, so we’re not sure if this is the “correct” way. We did model it after the structure we saw in official Cordova plugins. 

You should be able to use the cordova/phonegap command line tool to install the plugin by pointing it to this repo:

https://github.com/CoronaCards/plugin-phonegap

We also put together a HelloWorld Xcode project that launches CoronaViews from JavaScript. It mimics the UIViewController relationship from our standard ChildView sample:

https://github.com/CoronaCards/sample-ios-ChildView-Phonegap

BTW, let us know if there’s something we could improve based on your investigation.

Hi, I just joined the closed beta. Can you give any sample code for Appcelerator too?

My initial thoughts are it would need to be a custom module created in Xcode, following the practices shown here: http://docs.appcelerator.com/titanium/latest/#!/guide/iOS_Module_Development_Guide

But maybe there’s another way?

Regards,

Gary

GreyJellyLabs - we are working on some docs for Appcelerator. Coming soon…

Cool beans!

Hi all, we’ve posted a prelim Appcelerator/Titanium plugin here: 

https://github.com/CoronaCards/plugin-appcelerator-ios

More info in the README. It’s prelim, so we’re assuming you’re already familiar with using Appcelerator and installing modules manually.

UPDATE: We’ve moved the Appcelerator plugin discussion to a separate thread (http://forums.coronalabs.com/topic/45554-appceleratortitanium-plugin/).

Hi guys,

I’ve been trying to get a PhoneGap build working with the Corona plugin to demo (eg) the Corona painting on top of the regular “device ready” standard PhoneGap app.

Has anyone managed this? I’m afraid I’m not familiar with XCode etc and am probably making a lot of mistakes getting it all configured.

Thanks,

Matt.

Here’s our attempt at a Phonegap plugin. There were several parts we were unclear about as well, so we’re not sure if this is the “correct” way. We did model it after the structure we saw in official Cordova plugins. 

You should be able to use the cordova/phonegap command line tool to install the plugin by pointing it to this repo:

https://github.com/CoronaCards/plugin-phonegap

We also put together a HelloWorld Xcode project that launches CoronaViews from JavaScript. It mimics the UIViewController relationship from our standard ChildView sample:

https://github.com/CoronaCards/sample-ios-ChildView-Phonegap

BTW, let us know if there’s something we could improve based on your investigation.

Hi, I just joined the closed beta. Can you give any sample code for Appcelerator too?

My initial thoughts are it would need to be a custom module created in Xcode, following the practices shown here: http://docs.appcelerator.com/titanium/latest/#!/guide/iOS_Module_Development_Guide

But maybe there’s another way?

Regards,

Gary

GreyJellyLabs - we are working on some docs for Appcelerator. Coming soon…

Cool beans!

Hi all, we’ve posted a prelim Appcelerator/Titanium plugin here: 

https://github.com/CoronaCards/plugin-appcelerator-ios

More info in the README. It’s prelim, so we’re assuming you’re already familiar with using Appcelerator and installing modules manually.

UPDATE: We’ve moved the Appcelerator plugin discussion to a separate thread (http://forums.coronalabs.com/topic/45554-appceleratortitanium-plugin/).

Hi guys,

I’ve been trying to get a PhoneGap build working with the Corona plugin to demo (eg) the Corona painting on top of the regular “device ready” standard PhoneGap app.

Has anyone managed this? I’m afraid I’m not familiar with XCode etc and am probably making a lot of mistakes getting it all configured.

Thanks,

Matt.