diff --git a/app.config.js b/app.config.js new file mode 100644 index 00000000..a6b72ec0 --- /dev/null +++ b/app.config.js @@ -0,0 +1,11 @@ +module.exports = ({ config }) => { + if (process.env.EXPO_TV === "1") { + config.plugins.push([ + "react-native-google-cast", + { useDefaultExpandedMediaControls: true }, + ]); + } + return { + ...config, + }; +};