import React from 'react'; import useSWR from 'swr'; // import { Endpoints } from '@octokit/types'; import Layout from '@theme/Layout'; import { Release } from '../../utils/github'; import { fetcher } from '../../utils/swr'; import { DownloadCard } from './_components/DownloadCard'; import { FirmwareCard, PlaceholderFirmwareCard, } from './_components/FirmwareCard'; import { HeaderText } from './_components/HeaderText'; const Firmware = (): JSX.Element => { const { data, error } = useSWR( "https://api.github.com/repos/meshtastic/meshtastic-device/releases", fetcher ); const beta = data?.filter((release) => release.prerelease === false); const alpha = data?.filter((release) => release.prerelease === true); return (
pip, " follow ", these instructions , ".", ]} />
    download the latest .apk , " from Github", ]} />
    {data && !error ? ( <>

    Bleeding

    Latest successful CI build. For those who want to break things.

    ) : ( <> )}
Once downloaded, follow the flashing instructions for{" "} ESP32 chipsets ,{" "} NRF52 chipsets , or the{" "} GUI instructions for Meshtastic Flasher .
Google Play and the Google Play logo are trademarks of Google LLC.
); }; export default Firmware;