Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

fix: android base64 string format for consistency with ios #1776

Merged
merged 1 commit into from
Sep 4, 2018

Conversation

mvayngrib
Copy link
Contributor

fixes #1764

Copy link
Collaborator

@sibelius sibelius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this needed on RNCamera as well?

@mvayngrib
Copy link
Contributor Author

mvayngrib commented Sep 3, 2018

@sibelius as far as i understand, RNCamera uses ResolveTakenPictureAsyncTask.java, which is covered here

@sibelius
Copy link
Collaborator

sibelius commented Sep 3, 2018

is this a breaking change?

@mvayngrib
Copy link
Contributor Author

not unless someone depends on the base64 having line breaks for android but not ios. However, full disclosure: I've only tested taking photos with RNCamera (not videos, or RCTCamera).

@sibelius sibelius merged commit d4b4ee1 into react-native-camera:master Sep 4, 2018
@sibelius
Copy link
Collaborator

sibelius commented Sep 4, 2018

it makes sense this behaviour to be consistency

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

base64 image gets returned with newline characters
2 participants