Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/react-native/src/services/template.ts.twig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Service } from '../service';
import { {{ spec.title | caseUcfirst}}Exception, Client } from '../client';
import type { Models } from '../models';
import type { UploadProgress, Payload } from '../client';
import * as FileSystem from 'expo-file-system';
import * as FileSystem from 'expo-file-system/legacy';
Comment thread
bhardwajparth51 marked this conversation as resolved.
import { Platform as RNPlatform } from 'react-native';

{% set added = [] %}
Expand Down
4 changes: 4 additions & 0 deletions tests/e2e/languages/react-native/rollup.test.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ export default {
alias({
entries: [
{ find: 'react-native', replacement: 'react-native-web' },
{
find: 'expo-file-system/legacy',
replacement: path.resolve(__dirname, 'shims/expo-file-system.js'),
},
{
find: 'expo-file-system',
replacement: path.resolve(__dirname, 'shims/expo-file-system.js'),
Expand Down
Loading