Skip to content

Commit

Permalink
feat: migrate FileProvider to androidx
Browse files Browse the repository at this point in the history
  • Loading branch information
erisu committed Jul 17, 2021
1 parent 794dc84 commit 6ee72fd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,6 @@
<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
<clobbers target="CameraPopoverHandle" />
</js-module>

<preference name="ANDROID_SUPPORT_V4_VERSION" default="27.+"/>
<framework src="com.android.support:support-v4:$ANDROID_SUPPORT_V4_VERSION"/>

</platform>

<!-- ios -->
Expand Down
2 changes: 1 addition & 1 deletion src/android/CameraLauncher.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Licensed to the Apache Software Foundation (ASF) under one
import android.os.Bundle;
import android.os.Environment;
import android.provider.MediaStore;
import android.support.v4.content.FileProvider;
import androidx.core.content.FileProvider;
import android.util.Base64;

import org.apache.cordova.BuildHelper;
Expand Down
2 changes: 1 addition & 1 deletion src/android/FileProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ Licensed to the Apache Software Foundation (ASF) under one
*/
package org.apache.cordova.camera;

public class FileProvider extends android.support.v4.content.FileProvider {}
public class FileProvider extends androidx.core.content.FileProvider {}

0 comments on commit 6ee72fd

Please sign in to comment.