I'm looking for ways to decrease the size of my Expo build for iOS, which currently sits at approximately 188

After executing the expo build: ios command, I noticed that the generated IPA file is much larger than expected at around 188MB. This seems unusual considering the app has only a few pages with listViews. Any ideas on why the size is so large for iOS when compared to Android which is only about 22MB?

Answer №1

After facing a similar issue with Expo, I decided to take a different approach. I embarked on creating a project using the Bare workflow in Expo.

Thanks to this method, I was still able to utilize all of Expo's features such as running the app using a bar code scanner.

This new workflow resulted in the creation of separate Android and iOS folders, providing me with complete control over the project.

When it came time to build the APK and IPA, I followed the same process as I would using react-native-cli. The end result? The APK shrunk from 50 MB to 18 MB, and the IPA decreased from 190 MB to just 5 MB.

Furthermore, by adopting the bare workflow, I could also incorporate the react-native-cli node module into my project.

It's clear that building an IPA and APK using expo build:platform consistently leads to larger build sizes.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Best practices for handling http requests in each individual route of AngularJs

Just starting out with AngularJs and attempting to set up multiple routes with different $http requests. I'm facing an issue where the page content loads late after a route change. I've come up with a workaround, but I feel like there might be a ...

AJAX seems to be struggling to recognize JSON data as JSON format

I am facing an issue with my AJAX call where the data received from the server is not being treated as JSON, despite setting the datatype to json: function RetrieveMateriasFromServer(callback){ var status_aux; //HTTP request for data from the given UR ...

Separate scales for small multiple line charts

Explore the notebook here. I am currently developing a small multiple line chart using d3.v5 on Observable, with the dataset organized as follows: https://i.sstatic.net/QQblnm.png When visualizing, the y scale utilizes the num values from the values arr ...

Node.js Express Issue: Module Not Found

Having trouble launching an express app in docker with node 10.9.0 due to an import problem: root@e85495ae1c9e:/usr/app/backend# node app.js internal/modules/cjs/loader.js:583 throw err; ^ Error: Cannot find module '/usr/app/backend/models/todo&ap ...

Implementing a loading animation effect using AJAX that requires a loop delay and sleep functionality

My jquery ui dialog is loaded via ajax with a partial view from the server. Initially, the dialog opens as a dialog-ajax-loader and then animates/grows to fit the content once the call returns. The issue arises when the dialog content gets cached or the a ...

What is the best way to restore a component's state to its default settings when it receives new props?

I have a Next.js project in development with a custom Layout already set up. I want the header component to reset whenever a new page is navigated to, so that the menu reverts back to its default state. Does anyone know how I can achieve this? import { F ...

A step-by-step guide on fetching multiple iframe contents simultaneously with Selenium in Java

Today, I am facing an interesting challenge. I need to extract the page source of a webpage that includes an iframe. Surprisingly, when using the PhantomJSDriver with the code snippet below, I am only able to retrieve either the page content or the iframe ...

JavaScript arrays storing multiple video lists in HTML5 and displaying them alternately

Creating a mock i-phone screen within a web browser, I have been testing an application currently in development. Everything runs smoothly until the point where I need to introduce another set of videos. Functionality The user interface directs the user ...

Can we create a collection of Vue highcharts components in a library format?

I am in search of an answer, with hope that it lies here. I have used the following: "vite": "^2.7.13", "highcharts": "^9.3.3", "highcharts-vue": "^1.4.0" I aim to create a library of Vue compon ...

Error: The 'price' property is undefined and cannot be read at path C:NODEJS-COMPLETE-GUIDEcontrollersshop.js on line 45, character 37

I have been attempting to add my products to the cart and calculate the totalPrice, but I keep encountering an error. Here is the error message:- enter image description here. Below is the code from my shop.js file:- exports.postCart = (req, res, next) =&g ...

The simplest method to retrieve Json or a Collection using Meteor's Iron Router

Currently, I am in the process of creating a set of routes. Below are some examples: / - This route should render the home page template /items - This route should display the items page template /items/weeARXpqqTFQRg275 - This route is set to return an ...

A guide on leveraging refs to set props in React JS

Is it possible to change props in my component using refs in react js? <MyComponent ref={'input1'} name={'input1'} label={interestsName} disabled={ false} onChange={this.myFunction}/> After the onChange event, I call a ...

Using XMLHttpRequest for making PHP AJAX requests

I'm currently working on a PHP project and I've encountered a unique setup for an ajax call that I haven't seen before. In my project, there is a single file named index.php which contains the following code: echo '<input id=ajax_red ...

The process of accessing a file object by using the file path given

Is there a way to retrieve the file object of an image that is stored in my website's folder without using "input type = "file"? The image is already saved on the website. Here is what I have tried so far: var file = new File([""], "../writeto/image. ...

Choose2 generateUniqueEntry identification from submission

I am currently using select2 for a tagging input, but I am facing some challenges when it comes to handling the creation of new tags and retrieving the new tag IDs back into the select2. This issue is closely tied to another question on this topic which c ...

Display the desired labels on the x-axis using the labels formatter function

Having a set of plotLines, I am looking to display corresponding labels on my xAxis. The data consists of random values around 100 (yAxis) and dates that increment by 10 days (xAxis). var getDaysArray = function(start, end) { for (var arr = [], dt = st ...

Tips on persisting dynamic form data using JavaScript and a database query

I have a unique script that generates dynamic form content with inputs named "field-1", "field-2", and so on until the last input is created. How can I effectively save this dynamically generated form to the database? Usually, I would create a form with ...

"Resizing a Javascript file resulting in the creation of a faulty base64

I have been attempting to resize images on the client side using HTML5 before uploading. However, it seems that the base64 string is broken as it contains spaces, line breaks, and other unexpected characters. Even after removing them, the string remains br ...

Tips for closing two nested Material-UI popovers when a button is clicked or when clicked elsewhere

Trying to create a menu with nested popovers from Material-ui has presented a challenge. I want all the popovers to close when I click on a menu option, rather than having to close them individually. Additionally, it would be more user-friendly if the popo ...

Avoid displaying "undefined" on HTML page when Firebase database value is empty

I am trying my best to explain my issue, although I struggle with scripts. Please bear with me and help me improve. ˆˆ Below is the script I am working on. The goal is to display all records with a date set for 'today or in the future'. Progr ...