react-native-photos-framework
Version:
Use Apples Photos Framework with react-native to fetch media from CameraRoll and iCloud
11 lines (9 loc) • 345 B
JavaScript
const mapHeaderSearchPaths = require('./mapHeaderSearchPaths');
/**
* Given Xcode project and absolute path, it makes sure there are no headers referring to it
*/
module.exports = function addToHeaderSearchPaths(project, path) {
mapHeaderSearchPaths(project,
searchPaths => searchPaths.filter(searchPath => searchPath !== path)
);
};