Git Product home page Git Product logo

wordpress-utils-android's Introduction

WordPress-Utils-Android

Collection of utility methods for Android and WordPress.

Use the library in your project

  • In your build.gradle:
repositories {
    maven { url "https://a8c-libs.s3.amazonaws.com/android" }
}

dependencies {
    implementation 'org.wordpress:utils:2.0.0'
}

Publishing a new version

In the following cases, the CI will publish a new version with the following format to our remote Maven repo:

  • For each commit in an open PR: <PR-number>-<commit full SHA1>
  • Each time a PR is merged to trunk: trunk-<commit full SHA1>
  • Each time a new tag is created: {tag-name}

Apps and libraries using WordPress-Utils-Android:

License

Dual licensed under MIT, and GPL.

wordpress-utils-android's People

Contributors

0nko avatar aforcier avatar ajeshrpai avatar antonis avatar ashiagr avatar bummytime avatar daniloercoli avatar develric avatar fadils avatar geriux avatar hypest avatar irfano avatar jd-alexander avatar jkmassel avatar jtreanor avatar khaykov avatar kwonye avatar malinajirka avatar maxme avatar mokagio avatar mzorz avatar nbradbury avatar oguzkocer avatar paraskp7 avatar planarvoid avatar ravishanker avatar roundhill avatar theck13 avatar thomashorta avatar tonyr59h avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wordpress-utils-android's Issues

AppLog add debug/release switch ,please

now it's printing log always

    public static void v(T tag, String message) {
        message = StringUtils.notNullStr(message);
        Log.v(TAG + "-" + tag.toString(), message);
        addEntry(tag, LogLevel.v, message);
    }

try to add a variable to control log is printed or not ,such as

    public static void v(T tag, String message) {
        message = StringUtils.notNullStr(message);
        if(BuildConfig.debug){
                Log.v(TAG + "-" + tag.toString(), message);
        }
        addEntry(tag, LogLevel.v, message);
    }

Extend WPWebChromeClient to support HTML forms with 'file' input type

Currently, the WPWebChromeClient does not perform an action when it receives a file chooser request. Extend the capabilities with the use of onShowFileChooser.

This is called to handle HTML forms with 'file' input type, in response to a user pressing the "Select File" button.

Update `targetSdkVersion` and `compileSdkVersion` to 31

Parent #wordpress-mobile/WordPress-Android#16062

As part of the migration of Wordpress Android to Android 12, the targetSdkVersion and compileSdkVersion on the dependent libraries can be updated to 31. WooCommerce is already using targetSdkVersion = 31 and compileSdkVersion = 33, This change wouldn't affect the app( WooCommerce,Wordpress Android) since the targetSdkVersion and compileSdkVersion on the app has a higher priority and the manifest merge wouldn't make any issues. The Wordpress Android had a targetSdkVersion of 30 which now has been updated to 31 in this PR - wordpress-mobile/WordPress-Android#17153. So in order to keep the targetSdkVersion and compileSdkVersion to be consistent with the apps, this change needs to be taken up.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.