builds splitted based on architecture

This commit is contained in:
yashwin-foxy 2025-07-22 18:08:02 +05:30
parent 4ff28e061b
commit df5616eaf5
3 changed files with 12 additions and 2 deletions

View File

@ -71,6 +71,7 @@ def enableProguardInReleaseBuilds = false
* give correct results when using with locales other than en-US. Note that * give correct results when using with locales other than en-US. Note that
* this variant is about 6MiB larger per architecture than default. * this variant is about 6MiB larger per architecture than default.
*/ */
def enableSeparateBuildPerCPUArchitecture = true
def jscFlavor = 'io.github.react-native-community:jsc-android:2026004.+' def jscFlavor = 'io.github.react-native-community:jsc-android:2026004.+'
android { android {
@ -79,6 +80,14 @@ android {
compileSdk rootProject.ext.compileSdkVersion compileSdk rootProject.ext.compileSdkVersion
namespace "com.neoscan_radiologist" namespace "com.neoscan_radiologist"
splits {
abi {
enable true
include 'armeabi-v7a', 'arm64-v8a', 'x86'
universalApk false
}
}
defaultConfig { defaultConfig {
applicationId "com.neoscan_radiologist" applicationId "com.neoscan_radiologist"
minSdkVersion rootProject.ext.minSdkVersion minSdkVersion rootProject.ext.minSdkVersion

View File

@ -32,7 +32,7 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
# your application. You should enable this flag either if you want # your application. You should enable this flag either if you want
# to write custom TurboModules/Fabric components OR use libraries that # to write custom TurboModules/Fabric components OR use libraries that
# are providing them. # are providing them.
newArchEnabled=true newArchEnabled=false
# Use this property to enable or disable the Hermes JS engine. # Use this property to enable or disable the Hermes JS engine.
# If set to false, you will be using JSC instead. # If set to false, you will be using JSC instead.

View File

@ -6,7 +6,7 @@
*/ */
import React, { useState, useMemo } from 'react'; import React, { useState, useMemo } from 'react';
import { View, Text, StyleSheet, ScrollView, TouchableOpacity } from 'react-native'; import { View, Text, StyleSheet, ScrollView, TouchableOpacity, Dimensions } from 'react-native';
import { Button } from '../../../../shared/src/components/Button'; import { Button } from '../../../../shared/src/components/Button';
import { Card, InfoCard } from '../../../../shared/src/components/Card'; import { Card, InfoCard } from '../../../../shared/src/components/Card';
import { SearchInput } from '../../../../shared/src/components/Input'; import { SearchInput } from '../../../../shared/src/components/Input';
@ -534,6 +534,7 @@ const styles = StyleSheet.create({
}, },
modalContent: { modalContent: {
maxHeight: '80%', maxHeight: '80%',
width:Dimensions.get('window').width-100
}, },
modalTitle: { modalTitle: {
fontFamily: Typography.fontFamily.bold, fontFamily: Typography.fontFamily.bold,