1/**
2 * Copyright © 2022 650 Industries.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7import { Platform } from 'react-native';
8export async function fetchAsync(url) {
9    const response = await fetch(url, {
10        method: 'GET',
11        headers: {
12            // No real reason for this but we try to use this format for everything.
13            'expo-platform': Platform.OS,
14        },
15    });
16    return {
17        body: await response.text(),
18        headers: response.headers,
19    };
20}
21//# sourceMappingURL=fetchAsync.js.map