We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 684630b commit 78ffe69Copy full SHA for 78ffe69
plugin/withUpdate.js
@@ -37,7 +37,6 @@ const withUpdate = (config) => {
37
const mainApplicationPath = path.join(config.modRequest.platformProjectRoot, 'app/src/main/java', ...config.android.package.split('.'), 'MainApplication.kt');
38
const contents = fs.readFileSync(mainApplicationPath, 'utf-8');
39
40
- // 添加 import
41
const contentsWithImport = mergeContents({
42
src: contents,
43
newSrc: 'import cn.reactnative.modules.update.UpdateContext',
0 commit comments