Merge pull request #591 from navi-medici/TP-12344

TP-12345 | Version Bump and Native Issue Fix
This commit is contained in:
Mantri Ramkishor
2023-10-03 22:01:11 +05:30
committed by GitHub
4 changed files with 7 additions and 9 deletions

View File

@@ -131,8 +131,8 @@ def reactNativeArchitectures() {
return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
}
def VERSION_CODE = 86
def VERSION_NAME = "2.4.2"
def VERSION_CODE = 87
def VERSION_NAME = "2.4.3"
android {
ndkVersion rootProject.ext.ndkVersion

View File

@@ -3,8 +3,6 @@ package com.avapp;
import static android.app.Activity.RESULT_CANCELED;
import static android.app.Activity.RESULT_OK;
import static com.imagepicker.Utils.deleteFile;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
@@ -65,9 +63,9 @@ public class DeviceUtilsModule extends ReactContextBaseJavaModule {
@Override
public void onActivityResult(Activity activity, int i, int i1, @Nullable Intent intent) {
if(i1 != RESULT_CANCELED) {
if (i == WHATSAPP_SHARE_REQUEST_CODE) {
deleteFile(Uri.fromFile(imageFile));
}
if (i == WHATSAPP_SHARE_REQUEST_CODE) {
new File(Uri.fromFile(imageFile).getPath()).delete();
}
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "AV_APP",
"version": "2.4.2",
"version": "2.4.3",
"private": true,
"scripts": {
"android:dev": "yarn move:dev && react-native run-android",