Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Commit

Permalink
Revert "Revert "Incompatible with apps using AndroidX""
Browse files Browse the repository at this point in the history
  • Loading branch information
darryncampbell authored Nov 23, 2019
1 parent 160def5 commit 61ed2ca
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<source-file src="src/android/IntentShim.java" target-dir="src/com/darryncampbell/plugin/intent" />
<source-file src="src/android/CordovaPluginIntentFileProvider.java" target-dir="src/com/darryncampbell/plugin/intent" />
<resource-file src="src/android/res/xml/provider_paths.xml" target="res/xml/provider_paths.xml"/>
<framework src="com.android.support:support-v4:27.1.0" />
<framework src="androidx.core:core:1.1.0" />
</platform>

</plugin>
4 changes: 2 additions & 2 deletions src/android/CordovaPluginIntentFileProvider.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.darryncampbell.cordova.plugin.intent;

public class CordovaPluginIntentFileProvider extends android.support.v4.content.FileProvider {
}
public class CordovaPluginIntentFileProvider extends androidx.core.content.FileProvider {
}
6 changes: 3 additions & 3 deletions src/android/IntentShim.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
import android.os.Environment;
import android.provider.DocumentsContract;
import android.provider.MediaStore;
import android.support.v4.app.ActivityCompat;
import android.support.v4.content.ContextCompat;
import android.support.v4.content.FileProvider;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;
import androidx.core.content.FileProvider;
import android.text.Html;
import android.util.Log;
import android.view.KeyEvent;
Expand Down

0 comments on commit 61ed2ca

Please sign in to comment.