Skip to content

Commit

Permalink
better warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hosek committed Sep 30, 2019
1 parent 723b3c0 commit 02b2ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rnv/src/platformTools/android/kotlinParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export const injectPluginKotlinSync = (c, plugin, key, pkg) => {
}

if (plugin.mainApplicationMethods) {
logWarning('MainApplicationMethods is DEPRECATED, please use mainApplication.methods instead'); // TODO Example
logWarning(`Plugin ${key} in ${c.paths.project.config} is using DEPRECATED MainApplicationMethods. Use "mainApplication": { "methods": []} instead`);
c.pluginConfigAndroid.pluginApplicationMethods += `\n${plugin.mainApplicationMethods}\n`;
}
};
Expand Down

0 comments on commit 02b2ac9

Please sign in to comment.