Skip to content

Commit

Permalink
feat: migrate to androidx
Browse files Browse the repository at this point in the history
  • Loading branch information
alexyves committed Aug 6, 2021
1 parent 4d6f5d6 commit 8a33ede
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<clobbers target="CameraPopoverHandle" />
</js-module>

<framework src="com.android.support:support-v4:24.1.1+" />
<framework src="androidx.legacy:legacy-support-v4:1.0.0" />

</platform>

Expand Down
2 changes: 1 addition & 1 deletion src/android/CameraLauncher.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Licensed to the Apache Software Foundation (ASF) under one
import android.provider.DocumentsContract;
import android.provider.MediaStore;
import android.provider.OpenableColumns;
import android.support.v4.content.FileProvider;
import androidx.core.content.FileProvider;
import android.util.Base64;
import android.content.pm.PackageManager;
import android.content.pm.PackageManager.NameNotFoundException;
Expand Down
2 changes: 1 addition & 1 deletion src/android/CordovaUri.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Licensed to the Apache Software Foundation (ASF) under one
import android.net.Uri;
import android.os.Build;
import android.os.Environment;
import android.support.v4.content.FileProvider;
import androidx.core.content.FileProvider;

import java.io.File;

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 8a33ede

Please sign in to comment.