Reputation: 1
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