9eb5502076
* remove unused examples * init bare example with test app * add react-native-video * add test app suport in expo plugin * expo plugin: skip keys that are already in pod file * fix podfile * add src files * fix metro config * finalize react native test app configuration * init expo example * remove old examples * add guide for example * Add link to examples apps in docs * adopt bare example to CI tests * update CI workflows * CI build lib after node_modules install * fix examples readme * fix iOS CI * Add Example for DRM * Update examples/README.md * fix links * update examples README * sync example code * update README
24 lines
462 B
JavaScript
24 lines
462 B
JavaScript
const project = (() => {
|
|
try {
|
|
const { configureProjects } = require("react-native-test-app");
|
|
return configureProjects({
|
|
android: {
|
|
sourceDir: "android",
|
|
},
|
|
ios: {
|
|
sourceDir: "ios",
|
|
},
|
|
windows: {
|
|
sourceDir: "windows",
|
|
solutionFile: "windows/BareExample.sln",
|
|
},
|
|
});
|
|
} catch (_) {
|
|
return undefined;
|
|
}
|
|
})();
|
|
|
|
module.exports = {
|
|
...(project ? { project } : undefined),
|
|
};
|