Skip to content

Commit

Permalink
fix(android): createPdf returning wrong pdf path
Browse files Browse the repository at this point in the history
  • Loading branch information
Canciller committed Aug 3, 2023
1 parent 0ea8977 commit 4ccb68e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/src/main/java/com/imagespdf/ImagesPdfModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public void createPdf(ReadableMap optionsMap, Promise promise) {

pdfDocument.close();

promise.resolve(outputUri.getPath());
promise.resolve(outputUri.toString());
} catch (Exception e) {
Log.e("ImagesPdfModule", e.getLocalizedMessage(), e);

Expand Down

0 comments on commit 4ccb68e

Please sign in to comment.