project-anuvaad / Project-Saral

Project Saral should be viewed as an OCR-plus application that is capable of doing OCR and can also understand the structure of the physical input.
MIT License
0 stars 1 forks source link

App crash with issue with RELOAD/DISMISS options in reactNative layer #67

Open dileep-gadiraju opened 2 years ago

dileep-gadiraju commented 2 years ago

App crash with issue with RELOAD/DISMISS options in reactNative layer. Refer attached image for reference.

Screenshot_20211013-122459_SaralApp er

dileep-gadiraju commented 2 years ago

@navin9584 , do full-fledged testing and close after observation.

navin9584 commented 2 years ago

this errors comes when we have to show editable TextInput in list stack link : https://github.com/facebook/react-native/issues/17530 1. fixed this issue by changing in styles.xml file location is : android>app>src>main>res>value>styles.xml add this line @drawable/edit_text 2. added drawable folder in android>app>src>main>res>drawable
in drawable folder we need to add one file edit_text.xml and pasted following code
<?xml version="1.0" encoding="utf-8"?>

<inset xmlns:android="http://schemas.android.com/apk/res/android" android:insetLeft="@dimen/abc_edit_text_inset_horizontal_material" android:insetRight="@dimen/abc_edit_text_inset_horizontal_material" android:insetTop="@dimen/abc_edit_text_inset_top_material" android:insetBottom="@dimen/abc_edit_text_inset_bottom_material">

<selector>
    <item android:state_enabled="false" android:drawable="@drawable/abc_textfield_default_mtrl_alpha"/>
    <item android:drawable="@drawable/abc_textfield_activated_mtrl_alpha"/>
</selector>