Skip to content

Commit

Permalink
Androidx support #1039 (revert)
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed May 24, 2020
1 parent 9b09c31 commit ceec421
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-x-socialsharing",
"version": "6.0.0",
"version": "5.6.8",
"description": "Share text, images (and other files), or a link via the native sharing widget of your device. Android is fully supported, as well as iOS 6 and up. WP8 has somewhat limited support.",
"cordova": {
"id": "cordova-plugin-x-socialsharing",
Expand Down
5 changes: 3 additions & 2 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-x-socialsharing"
version="6.0.0">
version="5.6.8">

<name>SocialSharing</name>

Expand Down Expand Up @@ -94,7 +94,8 @@
<source-file src="src/android/nl/xservices/plugins/FileProvider.java" target-dir="src/nl/xservices/plugins"/>
<source-file src="src/android/res/xml/sharing_paths.xml" target-dir="res/xml"/>

<framework src="androidx.legacy:legacy-support-v4:1.0.0" />
<framework src="com.android.support:support-v4:$ANDROID_SUPPORT_V4_VERSION" />
<preference name="ANDROID_SUPPORT_V4_VERSION" default="24.1.1+"/>
</platform>

<!-- wp8 -->
Expand Down
5 changes: 2 additions & 3 deletions src/android/nl/xservices/plugins/FileProvider.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
package nl.xservices.plugins;


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

0 comments on commit ceec421

Please sign in to comment.