hunk.code_window: `exp build:android --release-channel <your-channel>` 
   with the `exp` cli. The binary produced will only pull releases published under the specified channel. If you do not specify a channel, your binary will pull releases from the `default` channel.
   ## Get Channels
   You can access the channel your release is published under with the `releaseChannel` field in the [manifest object] (https://docs.expo.io/versions/latest/sdk/constants.html#expoconstantsmanifest).
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit: ## Access Channel from Code
  
hunk.file_path: docs/versions/v24.0.0/guides/release-channels.md
hunk.type: replace
file: import React from 'react';
  import { View, requireNativeComponent } from 'react-native';
  
  type Props = {
    placementId: string;
    type: BannerAdType;
    onPress?: () => void;
    onError?: (error: Error) => void;
  } & React.ComponentProps<typeof View>;
  
  type BannerAdType = 'large' | 'rectangle' | 'standard';
  
  export default class BannerAd extends React.Component<Props> {
    render() {
      let { type, onPress, onError, style, ...props } = this.props;
      let size = _getSizeForAdType(type);
  
      return (
        <NativeBannerView
          size={size}
          onAdPress={onPress}
          onAdError={onError}
          style={[style, { height: size }]}
          {...props}
        />
      );
    }
  }
  
  function _getSizeForAdType(type: BannerAdType): number {
    const sizes = { standard: 50, large: 90, rectangle: 250 };
    return sizes.hasOwnProperty(type) ? sizes[type] : sizes.standard;
  }
  
  const NativeBannerView = requireNativeComponent('CTKBannerView');
  