WordPress for Android
See the codeIf 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.
cd WordPress-Android to enter the working directory.local.properties with the SDK location.Notes:
To build, install, and test the project from the command line:
$ ./gradlew assembleWordPressDebug # assemble the debug .apk
$ ./gradlew installWordPressDebug # install the debug .apk if you have an
# emulator or an Android device connected
$ ./gradlew :WordPress:testWordPressDebugUnitTest # assemble, install and run unit tests
$ ./gradlew :WordPress:connectedWordPressDebugAndroidTest # assemble, install and run Android tests
You can sign in with a self-hosted WordPress site or with a WordPress.com account.
To use your own site, choose "Enter your existing site address" on the app start up screen, then enter the URL of your site and your credentials. If you don't have a site, you can create a temporary test site for free at https://jurassic.ninja/.
To use a WordPress.com account, first configure your own OAuth2 credentials by following the WordPress.com Authentication guide, then choose "Log in or sign up with WordPress.com" on the app start up screen.
.
├── 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
│ └── release # release variant
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.
Read our Contributing Guide to learn about reporting issues, contributing code, and more ways to contribute.
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.
If you have questions or just want to say hi, join the WordPress Slack and drop a message on the #mobile channel.
Please read the docs for more.
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.
519 followers · starred Oct 2017
117 followers · starred Apr 2023
39 followers · starred Mar 2014
10 followers · starred Apr 2022
WordPress for Android
See the codeIf 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.
cd WordPress-Android to enter the working directory.local.properties with the SDK location.Notes:
To build, install, and test the project from the command line:
$ ./gradlew assembleWordPressDebug # assemble the debug .apk
$ ./gradlew installWordPressDebug # install the debug .apk if you have an
# emulator or an Android device connected
$ ./gradlew :WordPress:testWordPressDebugUnitTest # assemble, install and run unit tests
$ ./gradlew :WordPress:connectedWordPressDebugAndroidTest # assemble, install and run Android tests
You can sign in with a self-hosted WordPress site or with a WordPress.com account.
To use your own site, choose "Enter your existing site address" on the app start up screen, then enter the URL of your site and your credentials. If you don't have a site, you can create a temporary test site for free at https://jurassic.ninja/.
To use a WordPress.com account, first configure your own OAuth2 credentials by following the WordPress.com Authentication guide, then choose "Log in or sign up with WordPress.com" on the app start up screen.
.
├── 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
│ └── release # release variant
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.
Read our Contributing Guide to learn about reporting issues, contributing code, and more ways to contribute.
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.
If you have questions or just want to say hi, join the WordPress Slack and drop a message on the #mobile channel.
Please read the docs for more.
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.
519 followers · starred Oct 2017
117 followers · starred Apr 2023
39 followers · starred Mar 2014
10 followers · starred Apr 2022