Skip to content

Ajax callback method name when apk generated in release mode #120

@abeljus

Description

@abeljus

The method ajax() with the callback method name as String works properly when the apk is generated in debug mode, but it is never called if it is compiled in release mode (with Android Studio), probably due to some code optimization.

aq.ajax(url, JSONObject.class, this, "jsonCallback");

public void jsonCallback(String url, JSONObject json, AjaxStatus status){
// Never called in release apk
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions