react-native/local-cli/link/android/patches/makeImportPatch.js

7 lines
179 B
JavaScript

module.exports = function makeImportPatch(packageImportPath) {
return {
pattern: 'import com.facebook.react.ReactApplication;',
patch: '\n' + packageImportPath,
};
};