-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Labels
P1Important fixes that are not urgent, some workaround available etc.Important fixes that are not urgent, some workaround available etc.platform: androidIssues and tasks related to AndroidIssues and tasks related to Android
Description
When running style transfer demo app on my Android 12, I got an error:
ERROR {"code": 103, "message": "Failed to save the image: /data/local/tmp/rn_executorch_1773417082268.png"}
Code: index.tsx
32 | setImageUri(output);
33 | } catch (e) {
> 34 | console.error(e);
| ^
35 | }
36 | }
37 | };
Call Stack
runForward (apps/computer-vision/app/style_transfer/index.tsx:34:22)
The reason for that is because on older versions of android TMPDIR defaults to /data/local/tmp which is a directory that is unavailable for regular apps. These changes: main...@ms/fix-image-loading-for-old-androids fix the problem. We need to figure out if we want to go with these changes, or handle this differently
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1Important fixes that are not urgent, some workaround available etc.Important fixes that are not urgent, some workaround available etc.platform: androidIssues and tasks related to AndroidIssues and tasks related to Android