himmat singh Gehlot
himmat singh Gehlot

Reputation: 1

In my app we are getting ANR due to parser = new ConfigXmlParser(); attaching code snippe

We are using below code in our project

private ConfigXmlParser parser;`parser = new ConfigXmlParser(); parser.parse(this);

public Boolean hasCordovaSplashscreen() {
    ArrayList<PluginEntry> plugins = parser.getPluginEntries();
    for (PluginEntry plugin : plugins) {
        if (plugin.pluginClass.equals("org.apache.cordova.splashscreen.SplashScreen")) {
            return true;
        }
    }
    return false;
}

Upvotes: 0

Views: 28

Answers (0)

Related Questions