d6dc52b6ea
* get e2e image picker working * verify create account actually reaches onboarding * wait for image to actually be attached before posting * wait until login finishes before moving on * sign out before switch accounts then wait until logged in * disable onboarding experiments in e2e * add testId to handle availability checkmark * fix too long username * update thread muting test to reflect current behaviour * hackfix for the british english translation * unflake the onboarding tests * fix curate list flow * admit defeat on the most list one
19 lines
538 B
TypeScript
19 lines
538 B
TypeScript
import {type OpenCropperOptions} from 'expo-image-crop-tool'
|
|
|
|
import {type PickerImage} from './picker.shared'
|
|
import {type CameraOpts} from './types'
|
|
|
|
export {openPicker, openUnifiedPicker} from './picker.shared'
|
|
|
|
export async function openCamera(_opts: CameraOpts): Promise<PickerImage> {
|
|
throw new Error('openCamera is not supported on web')
|
|
}
|
|
|
|
export async function openCropper(
|
|
_opts: OpenCropperOptions,
|
|
): Promise<PickerImage> {
|
|
throw new Error(
|
|
'openCropper is not supported on web. Use EditImageDialog instead.',
|
|
)
|
|
}
|