diff --git a/android/capacitor/src/main/java/com/getcapacitor/FileUtils.java b/android/capacitor/src/main/java/com/getcapacitor/FileUtils.java index bfebf4a44e..4caa0afe35 100644 --- a/android/capacitor/src/main/java/com/getcapacitor/FileUtils.java +++ b/android/capacitor/src/main/java/com/getcapacitor/FileUtils.java @@ -149,7 +149,7 @@ static String readFile(AssetManager assetManager, String fileName) throws IOExce StringBuffer buffer = new StringBuffer(); String line; while ((line = reader.readLine()) != null) { - buffer.append(line); + buffer.append(line + "\n"); } return buffer.toString();