mirror of
https://github.com/expo/config-plugins.git
synced 2026-11-14 10:08:06 -10:00
## 1.0.0 (2022-03-15) ### Features * **ci:** added auto release actions to GitHub Actions ([#48](https://github.com/expo/config-plugins/issues/48)) ([cf5c3fe](https://github.com/expo/config-plugins/commit/cf5c3fe7c4e0433189e912ae9a877ae8a22fcd64)) * create react-native-branch plugin ([0b06baa](https://github.com/expo/config-plugins/commit/0b06baa2b486c5e02d433a4ac785960934f403b9)) * Intl support for android via withAndroidJscIntl ([eb6642c](https://github.com/expo/config-plugins/commit/eb6642c0e7b37d6d9baf196ec40cc520f559e665)) * support for universalLinkDomains ([01ca879](https://github.com/expo/config-plugins/commit/01ca879ca3f6cebac1177d74969337819a5fc72d)) ### Bug Fixes * **ci:** add root package.json name ([0e2ad56](https://github.com/expo/config-plugins/commit/0e2ad56f15f0e0add4cf58d55c88ebac3ea002ac)) * **ci:** use correct internal versions ([ab8076a](https://github.com/expo/config-plugins/commit/ab8076adf51e9ba0439eba60b153d729a0996b8d)) * **detox:** remove invalid changelog entries ([4affbbb](https://github.com/expo/config-plugins/commit/4affbbb7ccd0d1309e6711a73bd4227011849064)) * added expo-module.config.json to files ([57d589b](https://github.com/expo/config-plugins/commit/57d589ba8ad60e057b34ad7b2f404f67e85896ab)) * fixed MATCH_INIT for SDKv44 ([904741a](https://github.com/expo/config-plugins/commit/904741a3bdb02f5bb76ebcf44131f1698dad0831)) * fixed missing files when publish ([ebb8666](https://github.com/expo/config-plugins/commit/ebb86666d6e61a70838048839b144c7217886d73)) * remove createPluginOnce ([68cf1c0](https://github.com/expo/config-plugins/commit/68cf1c07b2c48249cbbd0732668ea95455636a0b)) * removed proguard-rules.pro edit step ([e1159b4](https://github.com/expo/config-plugins/commit/e1159b4021ab722cf3998479e6a459374bdb5075)) * rename module ([7f0dd05](https://github.com/expo/config-plugins/commit/7f0dd05fdc15293b84606cb000bcd7321b418de8)) * respect old config from expo-branch ([d0e0186](https://github.com/expo/config-plugins/commit/d0e018601c09c0e92191a4eb2998ab0e6fa1c6ec)) * updates from code-reviews ([597ffc3](https://github.com/expo/config-plugins/commit/597ffc3bd76517ac96c39b77d8b76e6aee2609dd)) * **android:** added `onNewIntent` handler ([31ed997](https://github.com/expo/config-plugins/commit/31ed9978ca6c0a079341b5b4be5479a5e5633f79)) * run expo prepare ([8d364ed](https://github.com/expo/config-plugins/commit/8d364ed99ea4b0e0e3af73dbcc780819bf55d6c2)) ### Code Refactoring * **android:** migrate to new expo modules system ([1ac233e](https://github.com/expo/config-plugins/commit/1ac233eb432eaeeb7ead6723a4a232f86cfc8e50)) * **ios:** migrate to new expo modules system ([a98a6e0](https://github.com/expo/config-plugins/commit/a98a6e022fc06f8b9c996e4e2b4a1d7aac830d8a)) * update plugin to use CodeMod ([ae66cac](https://github.com/expo/config-plugins/commit/ae66cac141847e33add62cc30375620e1a5cc1d0)) ### Other chores * 1.0.0 ([831546f](https://github.com/expo/config-plugins/commit/831546f34b8b0122da8ca5ef3515c93fe62ee1d4)), closes [#48](https://github.com/expo/config-plugins/issues/48) [#49](https://github.com/expo/config-plugins/issues/49) [#46](https://github.com/expo/config-plugins/issues/46) [#3](https://github.com/expo/config-plugins/issues/3) * 1.0.0 ([90b841d](https://github.com/expo/config-plugins/commit/90b841d285a8afc3047e0fdb20fdf31172b1b1f9)), closes [#48](https://github.com/expo/config-plugins/issues/48) [#49](https://github.com/expo/config-plugins/issues/49) [#46](https://github.com/expo/config-plugins/issues/46) [#3](https://github.com/expo/config-plugins/issues/3) * 1.0.0 ([99acdc7](https://github.com/expo/config-plugins/commit/99acdc71d24771702499d1993bd7683543f9a274)), closes [#48](https://github.com/expo/config-plugins/issues/48) [#49](https://github.com/expo/config-plugins/issues/49) [#46](https://github.com/expo/config-plugins/issues/46) [#3](https://github.com/expo/config-plugins/issues/3) * 1.0.0 ([d656142](https://github.com/expo/config-plugins/commit/d656142bd0148baeac68c2df05979213755355cc)), closes [#48](https://github.com/expo/config-plugins/issues/48) [#49](https://github.com/expo/config-plugins/issues/49) [#46](https://github.com/expo/config-plugins/issues/46) [#3](https://github.com/expo/config-plugins/issues/3) * 1.0.0 ([063e812](https://github.com/expo/config-plugins/commit/063e812b0bbd4763d94eb45599f9a92074d31018)), closes [#48](https://github.com/expo/config-plugins/issues/48) [#49](https://github.com/expo/config-plugins/issues/49) [#46](https://github.com/expo/config-plugins/issues/46) [#3](https://github.com/expo/config-plugins/issues/3) * 1.0.0 ([4a3de37](https://github.com/expo/config-plugins/commit/4a3de37e9ce68e9b0a8f02fb3ba722f372fbb0fc)), closes [#49](https://github.com/expo/config-plugins/issues/49) * added start-metro script ([4a7d707](https://github.com/expo/config-plugins/commit/4a7d707b200a3e499d9d71caf49ad4fc1d0a89e0)) * latest cleanup ([ef50c05](https://github.com/expo/config-plugins/commit/ef50c05892b965e2ccd70418da962f2c3d96ab2e)) * rename module ([71e429b](https://github.com/expo/config-plugins/commit/71e429b77fca05953e94636b31e9b1b8da2ddcb6)) * upgrade @expo/config-plugins ([#49](https://github.com/expo/config-plugins/issues/49)) ([119e31e](https://github.com/expo/config-plugins/commit/119e31edf110409272ace750f02d651124e1a22d)) * **networkConfig:** Fix android crash on empty subdomains config ([#46](https://github.com/expo/config-plugins/issues/46)) ([88e0cd0](https://github.com/expo/config-plugins/commit/88e0cd0ccfdcc337e9c03f318d781aa1097e148b)), closes [#3](https://github.com/expo/config-plugins/issues/3) * apply suggestions from code review ([0ccc227](https://github.com/expo/config-plugins/commit/0ccc22771d5ecc97da7720c362ecf90a76e5de1c)) * cleanup android gitignore ([c88609a](https://github.com/expo/config-plugins/commit/c88609a8666be1b4137a3694bd844bb6a0f1ec12)) * rename files to avoid possible conflict ([d0b32ce](https://github.com/expo/config-plugins/commit/d0b32ce4a1c28060e61e7109f59be215c5f92f14)) * update script ([dcf61a9](https://github.com/expo/config-plugins/commit/dcf61a9b9542851095954d84c9054c97c5400dc9)) * upgrade to latest react-native-branch ([df98474](https://github.com/expo/config-plugins/commit/df98474d79ed139b42ddd698d13100160c656c26)) ### Documentation changes * add android-jsc-intl example ([d96c0b2](https://github.com/expo/config-plugins/commit/d96c0b2888da3808d7c4e2dd7993129711ba717d)) * clarify readme ([b524633](https://github.com/expo/config-plugins/commit/b5246338cb37ae41d138bc6253703b0d438fc3e3))
config-plugins/react-native-google-cast
Config plugin to auto configure react-native-google-cast when the native code is generated (expo prebuild).
Expo installation
Tested against Expo SDK 44
This package cannot be used in the "Expo Go" app because it requires custom native code. First install the package with yarn, npm, or
expo install.
yarn add react-native-google-cast @config-plugins/react-native-google-cast
After installing this npm package, add the config plugin to the plugins array of your app.json or app.config.js:
{
"expo": {
"plugins": ["@config-plugins/react-native-google-cast"]
}
}
Next, rebuild your app as described in the "Adding custom native code" guide.
API
The plugin provides props for extra customization. Every time you change the props or plugins, you'll need to rebuild (and prebuild) the native app. If no extra properties are added, defaults will be used.
iosReceiverAppId(string): unknown. DefaultCC1AD845androidReceiverAppId(string): unknown.androidPlayServicesCastFrameworkVersion(string): Version for the gradle package. Default+
Example
{
"expo": {
"plugins": [
[
"@config-plugins/react-native-google-cast",
{
"iosReceiverAppId": "...",
"androidReceiverAppId": "...",
"androidPlayServicesCastFrameworkVersion": "..."
}
]
]
}
}