All Projects โ†’ wordpress-mobile โ†’ Wordpress Android

wordpress-mobile / Wordpress Android

Licence: gpl-2.0
WordPress for Android

Programming Languages

java
68154 projects - #9 most used programming language
kotlin
9241 projects
ruby
36898 projects - #4 most used programming language
shell
77523 projects
HTML
75241 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Wordpress Android

Bodyweight Fitness Ios
Bodyweight Fitness (iOS)
Stars: โœญ 115 (-95.58%)
Mutual labels:  mobile, app
Oss.ninja
๐Ÿ‘ฉโ€โš–๏ธ Dynamic licenses for your projects - no more LICENSE.txt!
Stars: โœญ 144 (-94.46%)
Mutual labels:  app, website
Nim websitecreator
Nim fullstack website framework - deploy a website within minutes
Stars: โœญ 124 (-95.23%)
Mutual labels:  wordpress, website
Flutterwebsite
The flutter.dev website recreated in Flutter. https://gallery.codelessly.com/flutterwebsites/flutterwebsite
Stars: โœญ 76 (-97.08%)
Mutual labels:  app, website
Lantern
Mac app for website auditing and crawling
Stars: โœญ 167 (-93.58%)
Mutual labels:  app, website
Framework7 Cli
Framework7 command line utility
Stars: โœญ 76 (-97.08%)
Mutual labels:  mobile, app
Wordpress Mobile Application
ไธบwordpress ่ฝฌ app๏ผˆๅฎ‰ๅ“/IOS๏ผ‰
Stars: โœญ 131 (-94.96%)
Mutual labels:  wordpress, app
Fetch
The best file downloader library for Android
Stars: โœญ 1,124 (-56.79%)
Mutual labels:  mobile, app
Flutter Woocommerce App
WooCommerce App template that uses Flutter. Integrated to work with WooCommerce stores, connect and create an IOS and Android app from Flutter for IOS and Android
Stars: โœญ 161 (-93.81%)
Mutual labels:  wordpress, app
Ios Landing Page
Landing page template for iOS apps
Stars: โœญ 155 (-94.04%)
Mutual labels:  app, website
Shorturl
Self hosted web app for shortening urls (URL shortener)
Stars: โœญ 73 (-97.19%)
Mutual labels:  app, website
Flutter parallax scroll
Flutter UI challenge- Parallax scroll effect
Stars: โœญ 172 (-93.39%)
Mutual labels:  mobile, app
Snipit
Snipit allows you to capture and save interesting sections from any source of information. Be it textbooks, journals, computer screens, photographs, flyers, writings on a whiteboard, etc.
Stars: โœญ 70 (-97.31%)
Mutual labels:  mobile, app
Framework7 Template Vue Simple
Deprecated! Simple Framework7 Vue starter app template in a single HTML file
Stars: โœญ 81 (-96.89%)
Mutual labels:  mobile, app
Amp Theme Framework
Start Creating an AMP theme in minutes - This is a default / boilerplate theme, you can use this, modify and make one your own.
Stars: โœญ 69 (-97.35%)
Mutual labels:  wordpress, mobile
The Big List Of Hacked Malware Web Sites
This repository contains a list of all web sites I come across that are either hacked with or purposefully hosting malware, ransomware, viruses or trojans.
Stars: โœญ 125 (-95.19%)
Mutual labels:  wordpress, website
Nat Explorer
An example project using Nat & Weex.
Stars: โœญ 55 (-97.89%)
Mutual labels:  mobile, app
Carpoolear
The open source Vue.js frontend (mobile and cordova app) for the argentinian carpooling application: Carpoolear
Stars: โœญ 59 (-97.73%)
Mutual labels:  mobile, app
Uiwidgets
UIWidget is a Unity Package which helps developers to create, debug and deploy efficient, cross-platform Apps.
Stars: โœญ 1,901 (-26.91%)
Mutual labels:  mobile, app
Fastbuy App
App to manage the products of the FastBuy Store (built with React Native and Redux).
Stars: โœญ 168 (-93.54%)
Mutual labels:  mobile, app

WordPress for Android

CircleCI

If you're just looking to install WordPress for Android, you can find it on Google Play. If you're a developer wanting to contribute, read on.

Build Instructions

  1. Make sure you've installed Android Studio.
  2. Install npm using Node Version Manager(nvm), as described in step one from the Block Editor Quickstart guide
  3. cd WordPress-Android to enter the working directory.
  4. cp gradle.properties-example gradle.properties to set up the sample app credentials file.
  5. In Android Studio, open the project from the local repository. This will auto-generate local.properties with the SDK location.
  6. Recommended: The CI uses JDK11 to build the app and run the tests. Some tests won't pass on the JDK embedded in Android Studio (JDK8). You might want to set JAVA_HOME and JDK location in Android Studio to JDK11.
  7. Go to Tools โ†’ AVD Manager and create an emulated device.
  8. Run.

Notes:

  • To use WordPress.com features (login to WordPress.com, access Reader and Stats, etc) you need a WordPress.com OAuth2 ID and secret. Please read the OAuth2 Authentication section.
  • While loading/building the app in Android Studio ignore the prompt to update the gradle plugin version as that will probably introduce build errors. On the other hand, feel free to update if you are planning to work on ensuring the compatibility of the newer version.

OAuth2 Authentication

In order to use WordPress.com functions you will need a client ID and a client secret key. These details will be used to authenticate your application and verify that the API calls being made are valid. You can create an application or view details for your existing applications with our WordPress.com applications manager.

When creating your application, you should select "Native client" for the application type. The applications manager currently requires a "redirect URL", but this isn't used for mobile apps. Just use "https://localhost".

Once you've created your application in the applications manager, you'll need to edit the ./gradle.properties file and change the wp.oauth.app_id and wp.oauth.app_secret fields. Then you can compile and run the app on a device or an emulator and try to login with a WordPress.com account. Note that authenticating to WordPress.com via Google is not supported in development builds of the app, only in the official release.

Note that credentials created with our WordPress.com applications manager allow login only and not signup. New accounts must be created using the official app or on the web. Login is restricted to the WordPress.com account with which the credentials were created. In other words, if the credentials were created with [email protected], you will only be able to login with [email protected]. Using another account like [email protected] will cause the Client cannot use "password" grant_type error.

For security reasons, some account-related actions aren't supported for development builds when using a WordPress.com account with 2-factor authentication enabled.

Read more about OAuth2 and the WordPress.com REST endpoint.

Build and Test

To build, install, and test the project from the command line:

$ ./gradlew assembleWordPressVanillaDebug                        # assemble the debug .apk
$ ./gradlew installWordPressVanillaDebug                         # install the debug .apk if you have an
                                                                 # emulator or an Android device connected
$ ./gradlew :WordPress:testWordPressVanillaDebugUnitTest         # assemble, install and run unit tests
$ ./gradlew :WordPress:connectedWordPressVanillaDebugAndroidTest # assemble, install and run Android tests

Directory structure

.
โ”œโ”€โ”€ libs                    # dependencies used to build debug variants
โ”œโ”€โ”€ tools                   # script collection
โ”œโ”€โ”€ gradle.properties       # properties imported by the build script
โ”œโ”€โ”€ WordPress
โ”‚   |-- build.gradle        # main build script
โ”‚   โ””โ”€โ”€ src
โ”‚       โ”œโ”€โ”€ androidTest     # Android test assets, resources and code
โ”‚       โ”œโ”€โ”€ test            # Unit tests
โ”‚       โ”œโ”€โ”€ main
โ”‚       โ”‚   โ”œโ”€โ”€ assets      # main project assets
โ”‚       โ”‚   โ”œโ”€โ”€ java        # main project java code
โ”‚       โ”‚   โ””โ”€โ”€ res         # main project resources
โ”‚       โ”œโ”€โ”€ debug           # debug variant
โ”‚       โ””โ”€โ”€ wasabi          # wasabi variant specific resources and manifest

Google Configuration

Google Sign-In is only available for WordPress.com accounts through the official app. Contributors can build and run the app without issue, but Google Sign-In will always fail. Google Sign-In requires configuration files which contain client and server information that can't be shared publicly. More documentation and guides can be found on the Google Identity Platform website.

Contributing

Read our Contributing Guide to learn about reporting issues, contributing code, and more ways to contribute.

Security

If you happen to find a security vulnerability, we would appreciate you letting us know at https://hackerone.com/automattic and allowing us to respond before disclosing the issue publicly.

Getting in Touch

If you have questions or just want to say hi, join the WordPress Slack and drop a message on the #mobile channel.

Documentation

Please read the docs for more.

Resources

License

WordPress for Android is an Open Source project covered by the GNU General Public License version 2. Note: code in the libs/ directory comes from external libraries, which might be covered by a different license compatible with the GPLv2.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].