Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/react-native-google-cast/rngcarm
Example project for building with Arm (M1/M2) Macs
https://github.com/react-native-google-cast/rngcarm
Last synced: about 1 month ago
JSON representation
Example project for building with Arm (M1/M2) Macs
- Host: GitHub
- URL: https://github.com/react-native-google-cast/rngcarm
- Owner: react-native-google-cast
- Created: 2022-08-10T08:39:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-15T07:29:33.000Z (5 months ago)
- Last Synced: 2024-07-15T09:03:12.984Z (5 months ago)
- Language: Java
- Size: 560 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RNGC Arm Example
The `google-cast-sdk` now supports building on an Arm (M1/M2) Mac without extra steps, so this example is no longer needed. Just use [react-native-google-cast](https://github.com/react-native-google-cast/react-native-google-cast) as normal.
---
> This is an example of configuring [react-native-google-cast](https://github.com/react-native-google-cast/react-native-google-cast) to build on an Arm (M1/M2) Mac.
>
> This example was created using the following steps:
>
> 1. `npx react-native init RNGCArm`
> 2. `cd RNGCArm`
> 3. `yarn add react-native-google-cast`
> 4. Create `react-native.config.js`:
> ```js
> module.exports = {
> dependencies: {
> 'react-native-google-cast': {
> platforms: {
> // disable autolinking because we specify a variant in Podfile
> ios: null,
> },
> },
> },
> };
> ```
> 5. Add to `ios/Podfile`:
> ```rb
> pod 'react-native-google-cast/NoBluetoothArm', path: '../node_modules/react-native-google-cast/'
> ```
> 6. `cd ios && pod install`
> 7. [Setup](https://react-native-google-cast.github.io/docs/getting-started/setup)