Skip to content

Commit

Permalink
feat(android): update to capacitor v2
Browse files Browse the repository at this point in the history
  • Loading branch information
stewones committed Mar 25, 2020
1 parent 706e853 commit 42b5620
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ private File copyFile(File inputFile, File albumDir) {

// generate image file name using current date and time
String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmssSSS").format(new Date());
File newFile = new File(albumDir, "IMG_" + timeStamp + "." + extension);
File newFile = new File(albumDir, "IMG_" + timeStamp + extension);

// Read and write image files
FileChannel inChannel = null;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
Expand All @@ -12,4 +12,4 @@
android:layout_width="fill_parent"
android:layout_height="fill_parent" />

</android.support.design.widget.CoordinatorLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "capacitor-media",
"version": "0.0.6",
"version": "2.0.0",
"description": "Enable some media features for Capacitor such as create albums, save videos and gifs.",
"main": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
Expand Down

0 comments on commit 42b5620

Please sign in to comment.