0

I'm new to WordPress, so this may be a newbie question. I am trying to setup WordPress on my own server and want to also have a mobile app to talk to it.

I found the following two resources:

  1. Wordpress web app: https://codex.wordpress.org/Installing_WordPress
  2. Open Source WordPress Android app: https://github.com/wordpress-mobile/WordPress-Android

The Android app's Google play page says: WordPress for Android supports WordPress.com and self-hosted WordPress.org sites running WordPress 3.5 or higher. I want to ask whether this combination will work, and if anyone has tried to setup these two parts to communicate over SSL.

Edit:

To be more clear, I need an app that I can modify and will work with the open source WordPress web application.

  • Hi, do you mean accessing admin panel and posting new content by talk to it? If yes, then you can download the official wordpress application for android phones from google play, and use it to achieve this. – Jack Johansson Jan 20 '17 at 22:14
  • Not just accessing admin panel. I need to customize the mobile application, so the APK from Google Play won't do. I need an app that I can modify and will work with the open source wordpress web application. – Jake Jan 20 '17 at 22:18
  • So you need a website for example like facebook, and an app like facebook app? In both cases yes it is possible. However, if you want to customize your app, you need to have deeper knowledge about how to communicate with your website using JSON and admin-ajax. – Jack Johansson Jan 20 '17 at 23:33
  • Look into using Wordpress' REST API – J Garcia Oct 5 '17 at 3:32
0

The easiest way to do this is this...

Install a PWA plugin. Here is a free one... (No Pro Needed) https://superpwa.com/

Now, if you want to make it onto the Stores, you will want to write a wrapper (or buy one). There are many options for this, but they tend to be custom.

A cordova wrapper is one of the best options for native wrappers with high quality results. They are generally customized extensively. There are cheaper, pre fab type options available as well. (Some rumors of bans for cheap wrappers continue to exist, most in the field have reported these have stopped by the worse offender, Apple who has slowly (and now completely) joined the PWA bandwaggon).

I recommend PWA's as a consultant. They make sense. PWA's offer ALL the features of traditional Apps with the same code that runs your site. A wrapper + PWA offers even more and can provide very good control over the offline content loading. Push Notifications are available for both. The rest is just Gravy added to the feature list.

STORE ACCESS: I believe you may put a PWA app on the Microsoft store. The Android/Apple stores tend to require a wrapper. A wrapper is essentially a browser in a window with an Icon.

For a long time, Apple would kick people from the store if the wrapper was not substantial improvement over the web experience. They now tend to be much more lenient as long as it works well.

There are a few companies that make pre-existing themes that go into wrappers. You can also try these if you want the store. This is a much better, and cheaper, way to approach app development and one I specialize highly in.

REST API: The rest API as specified in the question can also be integrated but should not be needed for this approach.

PUSH NOTIFICATIONS: Push Notifications are available and requires another free app and custom code to integrate with the system you build. There maybe a service fee for insane amounts of push notifications. A lot of Free options are also available, but integration tends to cost.

My OVERWHELMING conclusion: Overall, the PWA+Wrapper approach offers everything if you want the store presence. I love using the same logic that I use to build the site in the app. No need to duplicate efforts. Then I customize the site experience to be mobile friendly. Finally We build a wrapper to consume the website. We can offer offline access, notifications and store access cheaply with this approach. It offers you a single code base and user experience that is seem less with reduced development costs of a dedicated app for multiple systems.

COMPATIBILITY: SuperPWA's degrade nicely. Apple, Google, Firefox and Microsoft all fully support PWA's now. Any report otherwise is out of date.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.