Showing 2 of 8 total issues
Method execute
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public boolean execute(String action, JSONArray args, final CallbackContext callbackContext) throws JSONException
{
context = IS_AT_LEAST_LOLLIPOP ? cordova.getActivity().getWindow().getContext() : cordova.getActivity().getApplicationContext();
String imgSrc = "";
Function setImageHttp
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
wallpaper.prototype.setImageHttp = function(url, type, callback) {
var request = null;
if(window.XMLHttpRequest) {
request = new XMLHttpRequest();
}