question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`removeImageForTag() not implemented` warning(or error) on Android

See original GitHub issue

Is 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

  1. 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:closed
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
Fsarmentocommented, Jan 11, 2018

I am having the same problem.

1reaction
alprtvcommented, Apr 11, 2018

in docs for the ImageStore static removeImageForTag(uri) - @platform ios

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found