39 lines
1.4 KiB
Diff
39 lines
1.4 KiB
Diff
diff --git a/node_modules/react-native-share-menu/android/build.gradle b/node_modules/react-native-share-menu/android/build.gradle
|
|
index 9557fdb..b0503cb 100644
|
|
--- a/node_modules/react-native-share-menu/android/build.gradle
|
|
+++ b/node_modules/react-native-share-menu/android/build.gradle
|
|
@@ -1,12 +1,12 @@
|
|
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
- compileSdkVersion 29
|
|
- buildToolsVersion "29.0.2"
|
|
+ compileSdkVersion 33
|
|
+ buildToolsVersion "33.0.0"
|
|
|
|
defaultConfig {
|
|
- minSdkVersion 16
|
|
- targetSdkVersion 29
|
|
+ minSdkVersion 21
|
|
+ targetSdkVersion 33
|
|
versionCode 1
|
|
versionName "1.0"
|
|
ndk {
|
|
diff --git a/node_modules/react-native-share-menu/android/src/main/java/com/meedan/ShareMenuModule.java b/node_modules/react-native-share-menu/android/src/main/java/com/meedan/ShareMenuModule.java
|
|
index 09abd7b..af552b1 100644
|
|
--- a/node_modules/react-native-share-menu/android/src/main/java/com/meedan/ShareMenuModule.java
|
|
+++ b/node_modules/react-native-share-menu/android/src/main/java/com/meedan/ShareMenuModule.java
|
|
@@ -163,4 +163,12 @@ public class ShareMenuModule extends ReactContextBaseJavaModule implements Activ
|
|
// Update intent in case the user calls `getSharedText` again
|
|
currentActivity.setIntent(intent);
|
|
}
|
|
+
|
|
+ @ReactMethod
|
|
+ public void addListener(String eventName) {
|
|
+ }
|
|
+
|
|
+ @ReactMethod
|
|
+ public void removeListeners(Integer count) {
|
|
+ }
|
|
}
|