Skip to content

Conversation

@cristianoccazinsp
Copy link
Contributor

Move resize operation to a parallel async task in order to avoid blocking React's bridge.

Move resize operation to a parallel async task in order to avoid blocking React's bridge.
@cristianoccazinsp
Copy link
Contributor Author

Forgot to mention, this is Android only change.

@gmaclennan
Copy link

We have been using this fork in our beta app https://github.com/digidem/mapeo-mobile and it has been working well without problems. I support merging this @Minishlink

Looks like this was left from some debug code...
@cristianoccazinsp
Copy link
Contributor Author

Any updates? Could really have this merged

@PierreCapo
Copy link
Contributor

PierreCapo commented Sep 30, 2019

@cristianoccazinsp Sorry for the delay. Gonna try to review this asap.
Thanks for the PR 🙏

@cristianoccazinsp
Copy link
Contributor Author

I've added a new commit that adds width and height (in pixels) to the returned data.

iOS was quite straight forward, while Android required a few organization updates (return bitmap instead of file, and handle file later)

PierreCapo referenced this pull request Oct 18, 2019
Update createResizedImage to RN0.61.0
@PierreCapo PierreCapo merged commit c55e7ba into bamlab:master Oct 19, 2019
@PierreCapo
Copy link
Contributor

Thanks a lot for the pr and all the work done @cristianoccazinsp . This is available on v1.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants