From 862c50ac73cbd4749d0a03d05924b5b373d6f954 Mon Sep 17 00:00:00 2001 From: dongdongyang Date: Thu, 7 Oct 2021 10:20:56 -0700 Subject: [PATCH 1/2] remove duplicate val --- .../src/main/java/com/syanpicker/RNSyanImagePickerModule.java | 1 - 1 file changed, 1 deletion(-) diff --git a/android/src/main/java/com/syanpicker/RNSyanImagePickerModule.java b/android/src/main/java/com/syanpicker/RNSyanImagePickerModule.java index 3c61b2b..4850937 100644 --- a/android/src/main/java/com/syanpicker/RNSyanImagePickerModule.java +++ b/android/src/main/java/com/syanpicker/RNSyanImagePickerModule.java @@ -357,7 +357,6 @@ private void onGetVideoResult(Intent data) { WritableMap videoMap = new WritableNativeMap(); Boolean isAndroidQ = SdkVersionUtils.checkedAndroid_Q(); - String filePath = isAndroidQ ? media.getAndroidQToPath() : media.getPath(); Boolean isAndroidR = SdkVersionUtils.checkedAndroid_R(); String filePath = media.getPath(); From 3a6357e77360443d3d04bf9b4809497316f7bf40 Mon Sep 17 00:00:00 2001 From: dongdongyang Date: Thu, 7 Oct 2021 13:09:56 -0700 Subject: [PATCH 2/2] fix podspec --- RNSyanImagePicker.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNSyanImagePicker.podspec b/RNSyanImagePicker.podspec index 20db9cf..d666ba6 100644 --- a/RNSyanImagePicker.podspec +++ b/RNSyanImagePicker.podspec @@ -10,7 +10,7 @@ Pod::Spec.new do |s| s.license = "MIT" s.author = { "author" => "hanhun@163.com" } s.platform = :ios, "7.0" - s.source = { :git => "https://github.com/author/RNSyanImagePicker.git", :tag => "master" } + s.source = { :git => "https://github.com/syanbo/react-native-syan-image-picker.git" } s.source_files = "**/*.{h,m}" s.requires_arc = true s.resource = "TZImagePickerController/TZImagePickerController.bundle"