Support

Home Forums Ticketing Add-on Ticketing app works for iPhone but not Android?

Ticketing app works for iPhone but not Android?

Posted: March 8, 2014 at 8:06 am


Bob Randklev

March 8, 2014 at 8:06 am

Using the same login account I can login to the website with the iPhone, see the events, registrations etc..

Started hearing Android users can login but they see ZERO events???

I tested from an Android with my same login and I see ZERO events.

This is the newest Android version here:
https://play.google.com/store/apps/details?id=com.eventespressoHD.android

and yes we are on WP 3.8.1, latest EE and most recent API plugin.

Do we need a different setting for the Android?


Tony

  • Support Staff

March 10, 2014 at 3:55 am

Hi Bob,

You should not need a different setting for Android.

Can you tell me which Android device did you use and the firmware version please? (Settings -> About Device)


Bob Randklev

March 10, 2014 at 7:54 am

Our committee met yesterday, 1 out of 4 Android phones could see the events. ALL of the iPhone/Ipad devices worked fine.

I’ll have to poll the members and get the version numbers but there were 4 different Android phones.

Clarify for me:

I’ve installed the JSON API and we had problems with Android.

This weekend digging around forums there was reference to “espresso services” which needs to be downloaded, unzipped and placed in the root html directory.

AFTER installing this, ONE of our Android devices started working.

Do I need to have the “espresso services” folder in the root html directory???


Tony

  • Support Staff

March 10, 2014 at 8:14 am

The JSON API is now used in both HD versions of the App (Both iOS and Android)

‘espresso-services’ is how the ‘old’ versions of the Android app connected to the WordPress site. (iOS has always used the API) If the Android phone could not connect without the espresso-services folder then that phone still has the older version of the app. The one that did work was likely using the HD version and as such the JSON API.

This is the latest version for Android:

https://play.google.com/store/apps/details?id=com.eventespressoHD.android

Check that is the current version for any of the Android phones you are using. You will then not need to use espresso-services and all should work well.

The fact that the iOS devices are working shows the API is correctly setup, so once the Android App’s are updated all should be well.

If not just let us know and we can investigate further.


Bob Randklev

March 10, 2014 at 8:28 am

NO… maybe in one case.

Per my first post I logged in from my iPhone and works great.
Tested with my wife’s Android phone and I can login but see 0 events.

Went to our meeting and helped a couple people install the app and they can login and see 0 events.

Yes the one person who can see the events was in my original test group a month ago and may not have the new app?

I’ve emailed our ticket team to verify they are using 2.0.6 for the app version.


Tony

  • Support Staff

March 10, 2014 at 8:42 am

Can you link me to the site please? I’d like to take a look at the API response.

If you would prefer to keep the site off the forum just send and email to support@eventespresso.com with a reference to this thread.


Bob Randklev

March 10, 2014 at 9:27 am

No problem, sorry I should have included before:

http://LinnAreaPhotoClub.org


Tony

  • Support Staff

March 10, 2014 at 9:54 am

Can you go to Event Espresso -> API Setting.

Change ‘Allow Public API Access?’ to Yes and save the settings please.

Also, is it possible for you to provide some temporary log in details for me to login via the Android app?

Is so please send via https://eventespresso.com/send-login-details/


Bob Randklev

March 10, 2014 at 10:11 am

Public API access is now enabled and I sent you login instructions.

Thanks


Josh

  • Support Staff

March 11, 2014 at 2:35 pm

Hi Bob,

I checked with the credentials you sent and what it looks like is this isn’t a user account that has access to Event Espresso. That may explain why one user was able to view events and others were not. What you can try doing is logging into the Android app with an admin user account.


Bob Randklev

March 11, 2014 at 3:34 pm

This is an administrator account that has privileges removed for ticketing.

I can login with this account and works great on my iPhone but 0 Events when we login with Android.

This account is not the admin account for the dashboard.

I was going to ask if Tony had done any testing or what I can do next.


Josh

  • Support Staff

March 11, 2014 at 3:44 pm

I think that’s one area where the iPhone app and the Android apps differ. Can you try logging into the Android app with an account that has full admin access?


Bob Randklev

March 11, 2014 at 5:06 pm

I’ve logged in using the administrator account with limited rights and I can login with both iPhone and Android.

iPhone works great.

Android shows 0 events.

If I search by date and pick the event date I can see the events and registrations.

I’m going to have my other Android testers let me know if they see the same.

At this point the Android app is working but ALL EVENTS isn’t.

Let me verify with others and reply


Tony

  • Support Staff

March 12, 2014 at 7:26 am

Hi Bob,

Also something to note, to test the JSON API you should be able to go to this page:

http://linnareaphotoclub.org/espresso-api/v1/events/public.pretty_json

When public access was NOT enabled this message should (and was) be displayed:

{
  "status": "Not authorized to access that endpoint",
  "status_code": 403
}

Now that public access has been enabled when that page is viewed the Server throws Error 500 – Internal Server Error which is not normal/expected.

Error 500 is a general error which basically means ‘something’ went wrong on the server.

I noticed you have caching enabled on the site, you could try disable caching, then purge (delete) the cache. Simply de-activating the plugin does not help caching issues as the cache is still active after the plugin has been disabled.

Then flush the Permalinks, go to Settings -> Permalinks. Do not make any changes and hit save. Then see if the URL above loads.

It could also be any number of active plugins, you could try temporarily disabling all plugins and view the URL above to see if it then loads. If so activate each plugin one-by-one refreshing the page in between until it stops working. Then report back which plugin caused this so we can investigate.


Bob Randklev

March 12, 2014 at 11:38 am

Tony,

I found two plugins which interfere with the API plugin

NextGen Gallery http://www.nextgen-gallery.com/

For managing image/photo galleries

Download Monitor http://mikejolley.com/projects/download-monitor/
(Mike Jolley is a developer with WOO Themes)
This is for managing a PDF library of newsletters etc..

If I enable either of these plugins the API link fails.

I’ll have our Android testers try again, with the API working all should be good correct?

Now why the conflicts with the other plugins?


Tony

  • Support Staff

March 12, 2014 at 1:07 pm

Hi Bob,

Can you tell me the version number of NextGen, Download Monitor and the Espresso API please?

We have found a bug with the API and NextGen previous which is fixed in the latest version of the Espresso JSON API Add-on.

Download Monitor we’ve not had issues with before but will investigate.

As for the App, as long as that page works the Android app should also work correctly. We have issued a ticket to investigate why the Android app and iOS app differed in this situation.


Bob Randklev

March 12, 2014 at 1:26 pm

Espresso API 2.1.1.P

NextGen 2.0.58

Download Monitor 1.4.2

All are up to the latest version, WP 3.8.1


Josh

  • Support Staff

March 14, 2014 at 4:38 pm

Hi Bob,

I have the NextGen and Download monitor plugins installed on my test site and the JSON API feed continues to work as expected. I do see that the memory usage on my site goes up with these two additional plugins installed, so your server may be running low on memory and deactivating those two frees up enough memory to allow the JSON API to not time out.


Bob Randklev

March 17, 2014 at 7:56 am

I will test again after hours but I remember during my tests that the only plugins I had running was API, WP Maintenance and server memory is set to 256M.

If I activated either plugin the API stopped working.


Josh

  • Support Staff

March 17, 2014 at 9:30 am

Hi Bob,

Can you check with your host to see if you’re really getting 256M of ram? Sometimes if you set a value for the memory limit in the wp-config.php file the host will override this to a lower amount.


Bob Randklev

March 17, 2014 at 10:11 am

Yes the server tools reports 256M see this screenshot:

https://www.evernote.com/shard/s7/sh/5c391248-5326-4d2b-8428-67ac29eb9bd2/f4587fa2ed872177f8019d95d61d27e3/deep/0/BackupBuddy—Server-Tools—Linn-Area-Photo-Club—WordPress.png


Josh

  • Support Staff

March 19, 2014 at 2:02 pm

That’s interesting Bob. The thing is, I can activate NextGen, Download Monitor, and the JSON api all at once and the feed continues to work. That said, when we get then next update to the Android app that may help with the other issue you were having.

The support post ‘Ticketing app works for iPhone but not Android?’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso