Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)