Anybody here good with iPhone SDK and Drupal?

I have an existing drupal website and I want a native iPhone app that displays my content, allows signups via drupal, editing nodes, etc.

Anyone have experience with this?

Comments

Anonymous’s picture

How would you handle the case when your app gets rejected from apple?

do you need offline reading? otherwise an iphone optimized template might already do the job.

shenzhuxi’s picture

Check http://drupal.org/project/oauth
I'm also curious about iPhone app. Looking for feedback.

sohin’s picture

It's pretty simpler to make a couple of tweaks / extensions based on a current theme, and promote this as iphone-web-app.

All the graphics optimization, iphone-html-meta-tags, extra css, webkit / jquery based animations, ajax-noreload-navigation, all that stuff is much easier, then a solid installed app.

You have all the possibilities edit the outlook and even make majority changes any time w/out submitting an app-update back to apple (gonna be extra 3 weeks at least).

Take a look at GoogleReader – it's the best example of that online app (+iphone and other mobile versions) can give you – no fixed binding to the device, all the control on the server-side (which, if necessary, could be based on a cloud-hosting as well).

So, if you are interested in iphone-optimization for your web-app contact me.)

kylebrowning’s picture

doctorDrupal’s picture

The internet is great but, unfortunately, I haven't found help or guidance for my specific roadblock.

kylebrowning’s picture

Stackoverflow.

doctorDrupal’s picture

Hello.

First, thank you all for the tremendous work that you have put into building and developing Drupal-iOS-SDK. It is an amazing piece of work and I am impressed by its power daily.

Second, as a bit of background, I am writing an iOS app that allows users to login to my Drupal site with their iPhone/iPad and access their inputted data currently stored/displayed in Views.

Now, to my question/problem. So far, I have been able to successfully login to my Drupal site with the iOS app with OAuth and Session Authentication switched to off. However, as soon as I enable Session Authentication, I get a 406 error. I have tried looking online for a solution but, unfortunately, I have been unable to do so. What could be causing this problem and how would you recommend that I go about trying to resolve it?
On a similar note, my hypothesis is that disabling Session Authentication is what is causing me to get a 401 error when trying to get the app to display the views I've created. Could that be the case? Will resolving my issue above so that I can enable Session Authentication then allow me to access the views?

Thank you in advance for your help and have a great day!

Sincerely,

doctorDrupal

Okay--I think I'm making some progress.

For the time being, I've disabled Session Authentication and don't have to deal with the 406 error. Additionally, I adjusted my Drupal views settings and now am no longer getting a 401 error when using DIOSView's viewGet. However, the responseObject for viewGet is a blank set that contains no view information. As a test, I implemented nodeGet that retrieves the node my view is linked to. I then ran the app and observed that the information returned in nodeGet's responseObject doesn't match the information for the user that successfully logged in. This makes me think that the session and/or user information is not getting passed from the app's first view (login view) to the app's second view (view that implements viewGet).

Can anybody help? I know the Drupal community, and Drupal-iOS-SDK community, is quite large and active. As such, I'm hopeful that someone can provide me with some insights and point me in the right direction.

Thanks in advance!