mirror of
https://github.com/streamyfin/streamyfin.git
synced 2025-08-20 18:37:18 +02:00
Signed-off-by: Lance Chant <13349722+lancechant@users.noreply.github.com> Signed-off-by: lancechant <13349722+lancechant@users.noreply.github.com> Co-authored-by: Fredrik Burmester <fredrik.burmester@gmail.com> Co-authored-by: Uruk <contact@uruk.dev> Co-authored-by: Gauvain <68083474+Gauvino@users.noreply.github.com>
18 lines
445 B
JavaScript
18 lines
445 B
JavaScript
module.exports = ({ config }) => {
|
|
if (process.env.EXPO_TV !== "1") {
|
|
config.plugins.push([
|
|
"react-native-google-cast",
|
|
{ useDefaultExpandedMediaControls: true },
|
|
]);
|
|
|
|
// Add the background downloader plugin only for non-TV builds
|
|
config.plugins.push("./plugins/withRNBackgroundDownloader.js");
|
|
}
|
|
return {
|
|
android: {
|
|
googleServicesFile: process.env.GOOGLE_SERVICES_JSON,
|
|
},
|
|
...config,
|
|
};
|
|
};
|