`removeImageForTag() not implemented` warning(or error) on Android
See original GitHub issueIs this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
OS: Linux 4.4
Node: 4.6.1
Yarn: 0.27.5
npm: 4.6.1
Watchman: 4.7.0
Error: unable to print environment info
{ [Error: not found: xcodebuild] code: 'ENOENT' }
Steps to Reproduce
- ImageStore can’t call removeImageForTag()
Expected Behavior
ImageStore calls and remove the image file from ImageStore.
Actual Behavior
I’m getting this warning: removeImageForTag() not implemented
Code Snippet
ImageEditor.cropImage(
this.state.image,
imageData,
(successURI) => {
ImageStore.getBase64ForTag(successURI,
(base64Data) => {
console.log(base64Data);
},
(failure) => {console.log('failed to load')});
console.log(successURI);
ImageStore.removeImageForTag(successURI)
},
(error) => { console.log('ERROR: ', error)}
)
Issue Analytics
- State:
- Created 6 years ago
- Comments:5
Top Results From Across the Web
removeImageForTag() not implemented (React Native)
I was going crazy with this.. how can removeImageForTag not be defined for Android? Then I realised that in Android, the url (successURI...
Read more >react-native-blob-util - npm
A module provides upload, download, and files access API. Supports file stream read/write for process large files.. Latest version: 0.17.0, ...
Read more >React Native: Working with Error Boundaries | by Ross Bulat
Error boundaries help apps “save face” when things go wrong, but are also integral to the app experience: in the event they are...
Read more >react-native @ 0.58.6 .. 0.59.2 - Package Diff
removeEventListener: jest.fn(), ... throw new Error('Creating URL objects is not supported yet.'); ... console.warn('removeImageForTag() not implemented');.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am having the same problem.
in docs for the ImageStore
static removeImageForTag(uri) - @platform ios