Merge pull request #591 from navi-medici/TP-12344
TP-12345 | Version Bump and Native Issue Fix
This commit is contained in:
Submodule RN-UI-LIB updated: 5b77f75cb6...8876fa8a05
@@ -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
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user