We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 576ed9e + 3fcfd54 commit 72d7d1aCopy full SHA for 72d7d1a
android/src/main/java/com/alpha0010/fs/FileAccessModule.kt
@@ -301,7 +301,7 @@ class FileAccessModule(reactContext: ReactApplicationContext) :
301
try {
302
val data = openForReading(path).use { it.readBytes() }
303
if (encoding == "base64") {
304
- promise.resolve(Base64.encodeToString(data, Base64.DEFAULT))
+ promise.resolve(Base64.encodeToString(data, Base64.NO_WRAP))
305
} else {
306
promise.resolve(data.decodeToString())
307
}
0 commit comments