Home Blog Page 12

AstraZeneca’s $130 million biomethane plant is a mannequin for high-emitting industries


Key takeaways

  • The plant is predicted to produce 100 gigawatt hours (GWh) of renewable fuel yearly to AstraZeneca’s crops within the U.Ok.
  • It was constructed by Future Biogas with a 15-year, $130 million offtake settlement from AstraZeneca.
  • It operates with out subsidies and makes use of devoted vitality crops, not waste supplies.

In an business higher recognized for pioneering new medicines than renewable vitality, AstraZeneca has taken a big step: it’s now fuelling its U.Ok. operations with “inexperienced fuel” from a purpose-built biomethane plant.

The power, positioned at Gonerby Moor in Lincolnshire, east England, and operated by Future Biogas, is the UK’s first unsubsidised biomethane plant devoted to serving the life sciences sector.

It additionally represents a critical dedication to decarbonization — and a template for different high-emitting industries to comply with.

“We’ve been on a journey within the UK for a few years to cut back our carbon footprint,” Liz Chatwin, vice chairman of sustainability and international security, well being and surroundings at AstraZeneca, instructed Trellis. “The lacking piece of the puzzle was our supply of warmth energy.”

That hole has now been crammed by biomethane produced from regionally grown vitality crops via anaerobic digestion, then injected into the nationwide fuel grid. Biomethane is taken into account carbon impartial as a result of the carbon launched throughout digestion and burning is first absorbed by the crops as they develop.  

The plant is predicted to produce 100 gigawatt hours (GWh) of renewable fuel yearly to AstraZeneca’s websites in Macclesfield, Cambridge, Luton and Speke — sufficient to satisfy the warmth demand of over 8,000 UK houses. 

The plant, constructed with a 15-year, £100 million ($130 million) dedication from the pharmaceutical big, completes AstraZeneca’s objective of getting all its UK R&D and manufacturing powered by 100% renewable vitality. AstraZeneca will take all the plant’s era capability for not less than the subsequent 15 years.

Why biomethane is an efficient match for the life sciences

The pharmaceutical business has an enormous emissions downside. In line with a 2019 research, pharma firms generate over 48 tonnes of CO₂ equal per $1 million of income — round 55 p.c greater than the emissions depth of the automotive sector. 

In all, roughly 4.5 p.c of world emissions are attributed to the healthcare sector, with the majority of those attributed to pharmaceutical procurement, manufacturing and use. 

So why flip to biomethane?

“There’s a variety of processes in prescribed drugs which are laborious to affect as a result of they require excessive warmth, like elevating steam,” mentioned Philipp Lukas, CEO of Future Biogas. “Biomethane is a drop-in gasoline for that. It’s a one-for-one substitute, that means all of the infrastructure to ship and use it’s already there. 

“If an organization desires to decarbonize shortly while on that journey to electrification, then working on biomethane can present an answer in 12 to 18 months.” 

Future-proof energy provides

Past comfort, the venture additionally goals to be self-sustaining. In contrast to many earlier biogas schemes, this plant operates with out subsidies and makes use of devoted vitality crops — not waste supplies. 

That distinction issues. Whereas animal manure generally is a worthwhile feedstock for biomethane, Lukas famous it comes with the complication of probably selling intensive livestock farming. “AstraZeneca wished one thing the place they might see the sustainability all over,” he mentioned. 

As a substitute, crops are grown regionally below five-year contracts that assist farmers put money into regenerative practices, reminiscent of diversified crop rotation, diminished fertilizer use and improved soil well being.

“The thrilling factor about that is that you would be able to help meals manufacturing, not solely boosting resilience but in addition lowering fossil gasoline inputs on the farm,” Lukas mentioned. 

Lower carbon, and seize it too

The Gonerby Moor website doesn’t cease at producing biomethane: It additionally contains carbon seize know-how that removes CO₂ from the fermentation course of — CO₂ that the vitality crops had absorbed from the environment a season earlier.

To start with, the captured fuel might be utilized in business — for greenhouses, gentle drink carbonization and the like – however longer-term, AstraZeneca hopes to ship it for everlasting geological storage via Norway’s Northern Lights venture, turning the plant right into a carbon-negative operation.

In line with AstraZeneca, the partnership with Future Biogas will scale back its emissions by 20,000 tonnes of CO₂ equal per yr. A significant retrofit of its Macclesfield mixed warmth and energy (CHP) plant will save one other 16,000 tonnes. 

All that is a part of the corporate’s Ambition Zero Carbon programme, which goals to halve emissions throughout its full worth chain by 2030 and attain science-based web zero by 2045. 

A mannequin for others? 

It’s a daring transfer — however is it replicable? Might different pharmaceutical or life science firms undertake the same strategy?

“The Moor Bioenergy plant serves as a wonderful blueprint for different firms in our sector.” mentioned Chatwin. “By using regionally sourced bioenergy crops and revolutionary carbon seize applied sciences, we’re demonstrating how vitality effectivity and sustainability might be built-in into manufacturing and analysis processes.”

“The unsubsidized nature of this venture highlights the broader position of companies in serving to to construct up renewable vitality infrastructure,” mentioned Amy Sales space, a researcher on the College of Oxford who research the environmental influence of well being methods. “It could be good to see others within the business taking that up too.”

AstraZeneca shouldn’t be solely shopping for into biomethane — it has additionally minimize its vitality demand. The unique estimate was that the corporate would want 350 GWh of electrical energy per yr. After a company-wide push on vitality effectivity — upgrading gear, bettering insulation and switching to electrical methods the place attainable — that determine dropped to 100 GWh. 

“At all times comply with the maxim: use much less, and pay extra,” mentioned Lukas. “The much less vitality you want, the extra you possibly can afford to put money into the sustainable choices.”

The corporate is planning to put money into different renewable vitality tasks, together with a partnership within the US with Vanguard Reneawables to ship biomethane to all of its websites by the tip of 2026. 

Different firms are additionally exploring biomethane. French pharmaceutical firm Sanofi just lately introduced a purchase order settlement to decarbonize 56 p.c of its fuel consumption in France. The 6-year deal covers 1.3 TWh of energy, together with an extra 10-year contract protecting 110 GWh to decarbonize Sanofi’s website in Lyon.

GSK, one other pharmaceutical behemoth, is as a substitute trying to photo voltaic. The corporate agreed a digital energy buy settlement in 2024 to produce 50 p.c of its European operations with solar energy for 12 years utilizing websites in Spain. 

Challenges forward 

Power procurement alone is not going to considerably shrink AstraZeneca’s footprint. Upwards of 90 p.c of the pharmaceutical business’s emissions are Scope 3, stemming from advanced, international provide chains that embody the whole lot from packaging and logistics to the tip use of merchandise, all working below various rules throughout completely different nations. 

“I might congratulate [AstraZeneca] on this, however to place it into perspective, Scope 2 is a small a part of the general emissions problem,” mentioned Dr. Jagjit Singh Srai, head of the Centre for Worldwide Manufacturing on the College of Cambridge. “Scope 1 is one thing you possibly can actually management — that’s your vitality effectivity, et cetera. And I feel the subsequent most controllable component is your vitality sourcing. They are going to be Scope 3 additionally and addressing that straight.” 

AstraZeneca has its eyes upon the Scope 3 problem, as nicely.

Greater than two thirds of Astra Zeneca’s suppliers have dedicated to science-based targets, Chatwin mentioned. The corporate can also be a founding member of Energize — a collaboration between Schneider Electrical and 19 international pharma firms to “facilitate renewable energy at scale for our suppliers.

“Whereas there’s nonetheless extra to be performed, we’re making progress, and it’s certainly a shared problem.” 

AI brokers vs. agentic AI: What do enterprises need?



The cloud-provider technical folks I do know don’t like this method; they see it as prone to elevate limitations to using their on-line generative AI providers. Enterprises see their AI agent imaginative and prescient as facilitating cloud AI providers as a substitute. If there’s one large AI entity doing every thing, then knowledge sovereignty virtually absolutely means it must be run in home. If AI use is decomposed into small steps, absolutely a few of these steps gained’t contain the disclosure of confidential firm knowledge. That implies that some AI brokers could possibly be as-a-service.

There could also be a number of deep truths to be realized right here, one being that information about expertise is dominated by what sellers need to promote reasonably than what enterprises need to purchase. A extra attention-grabbing one is that we could also be seeing a vital fork within the highway for AI.

The AI fashions that everybody sees have one key characteristic—folks can use them. No, I’m not being trivial. I imply folks versus corporations. Anybody can go to a web based AI service and work together with it. This has made AI virtually populist in a single sense; it’s a expertise as accessible because the Web. However enterprises aren’t folks and aren’t pondering of AI in the identical means. In the event you surprise why enterprise views of AI don’t match the favored view, simply consider what makes up the favored view—folks.

If we wish AI to vary our lives, and never simply entertain us, we want AI to be much less populist and extra company-list, so to talk. IBM, I believe, grasped this early on, which is why so many enterprises title IBM as probably the most insightful companion in AI. There is a gigantic alternative for AI-as-a-software-component, for what enterprises consider AI brokers, however one other of these deep truths intrudes. How does AI take part in an utility workflow? We don’t know, and if we don’t tackle the difficulty, then AI may hit a wall after we attempt to develop really helpful brokers. Purposes have interfaces, APIs. AI brokers will want them too, in the event that they’re to combine with purposes and present workflows, they usually’ll want to try this to attain what enterprises count on, even demand.

TMX’s C$3B/12 months Oil & Fuel Subsidy Lesson: Design Vitality Hall For Electrons Not Oil



Join CleanTechnica’s Weekly Substack for Zach and Scott’s in-depth analyses and excessive degree summaries, join our each day e-newsletter, and/or observe us on Google Information!


Canada is as soon as once more flirting with the concept of an east-west power hall. The imaginative and prescient sounds huge and daring: a chosen path throughout the nation to hold every thing from crude oil to pure gasoline, hydrogen to electrical energy. On this fast, Trump-inflected election cycle, political leaders are lining up behind the concept, polling suggests the general public is receptive, and infrastructure gamers are circling the idea prefer it’s a long-lost gold vein. The inclusion of hydrogen ought to inform you one thing.

However earlier than the nation begins clearing right-of-ways and pouring concrete, it’s value asking what occurred the final time Canada launched into a nation-building power infrastructure mission with this a lot ambition. The cautionary story isn’t buried in historical past—it’s contemporary, absolutely constructed, and already bleeding crimson ink. It’s the Trans Mountain Enlargement.

TMX was presupposed to be easy. Add a twinned pipeline beside an current one. Transfer extra oil to the West Coast. Entry worldwide markets. The non-public sector, particularly Kinder Morgan, initially carried the torch. Then the delays began. Authorized challenges. Allowing battles. Public resistance. Indigenous session gaps. By 2018, the federal authorities stepped in to purchase your complete mission—pipe, plans, liabilities, and all—for C$4.5 billion, with an enlargement nonetheless to construct. That enlargement, pegged at round C$7 billion on the time, in the end price C$34 billion. The road got here on-line in 2024. Crude is flowing. However so are the questions.

The financial case for TMX was all the time extra political than monetary. It was framed as a obligatory path to market diversification. And in that slender sense, it has delivered: for the primary time, a considerable quantity of Canadian oil is being loaded onto tankers certain for South Korea, California, and infrequently India or China. The oil sands have their tidewater outlet. However what did it price? The tolls that shippers pay are set by long-term contracts signed years in the past.

For many of the line’s capability, dedicated tolls are round C$11.46 per barrel. In keeping with economists who’ve run the mathematics, the break-even toll to get better the complete capital price of the enlargement is someplace between C$22 and C$25. That leaves a niche of over C$10 per barrel. Multiply that by the volumes transferring by means of TMX—round 700,000 barrels per day at 80% utilization—and the general public is implicitly subsidizing the mission to the tune of practically C$3 billion per yr. At full capability, the subsidy would exceed C$3.6 billion yearly. I’m on report as believing it is going to by no means refill, will see declining volumes in a decade and be bankrupt in 2040 as oil demand drops and Alberta’s heavy, bitter, low-quality product is first off the market, so we’ll by no means seemingly get to the C$3.6 billion, however C$3 isn’t precisely change you discover in your automobile seats.

That’s not a rounding error. It’s not simply the same old slippage that comes with megaprojects. It’s a systemic underpricing of fossil infrastructure, backed by taxpayer {dollars}. It’s precisely the form of factor the nation must reckon with earlier than charging forward with one other grand hall scheme. No matter type this power hall takes—whether or not it carries bitumen, gasoline, electrons, or some mixture—the identical dangers loom. Value overruns. Weak industrial ensures. Political interference. Underpriced entry. And in the end, the quiet assumption that when the economics don’t pencil out, the general public will make up the distinction.

TMX reveals what occurs when governments tackle threat that the market received’t. It demonstrates how strategic infrastructure can mutate into fiscal liabilities when price controls are tender and pricing self-discipline evaporates. It additionally reveals how troublesome it’s to cost market charges as soon as long-term contracts are signed at political moments of urgency. Shippers don’t renegotiate. Regulators get boxed in. Taxpayers are left holding the bag. For all of the political speak of market entry and worldwide leverage, what TMX grew to become was a really costly method to transfer Canadian bitumen to international markets at a value that’s not remotely financial for the general public that constructed it.

The gamers who construct and function pipelines in Canada are dwindling. Kinder Morgan offered their to-be-stranded TMX asset to Canada, who created a Crown company to carry it. TC Vitality is out of the pipeline enterprise, having divested its belongings. That leaves Enbridge, who hasn’t precisely been presenting absolutely costed pitches for an power hall that can seemingly price C$20 billion plus when all of the mud settles. In spite of everything, as badly because the TMX tripling was managed and as difficult as going by means of the Rockies is, the power hall could be 4 occasions longer.

And but, there’s a case—if a reluctant one—to be made for a hall. If a pipeline needs to be constructed, for political causes or as a part of a transitional cut price, then let it include one thing extra helpful. Let it carry the electrons that can outline Canada’s future. If a nationwide hall goes to be pushed by means of, it must be designed as a multi-use spine—with HVDC transmission strains because the central backbone and molecule infrastructure as a brief passenger. The hall ought to join Alberta wind, BC hydro, prairie photo voltaic, and Quebec hydroelectricity. It ought to facilitate two-way clear power commerce between provinces and allow deep electrification throughout sectors. If oil and gasoline pipelines are the excuse, superb—however the HVDC have to be the legacy.

Canada wants a continental-scale transmission spine. It wants a method to transfer renewable power from surplus to deficit, to combine provincial grids, to deal with seasonal peaks and long-duration storage. The form of system that doesn’t simply meet at this time’s wants however creates tomorrow’s capability. That’s the infrastructure value underwriting. If the political capital to construct a hall exists, it have to be spent on electrons first. Molecules can hitch a journey—however they shouldn’t outline the route or the return.

TMX additionally teaches a subtler lesson about fiscal design. If a future pipeline or hall is to be publicly facilitated, the toll construction have to be strong, clear, and tethered to price restoration. Dedicated shippers should pay charges that replicate full lifecycle prices. There can’t be one other spherical of underpriced entry justified by short-term market politics. As a result of as soon as the toll is ready, it’s set. If it’s mistaken, the injury compounds for many years. Infrastructure finance is brutal that manner: the mathematics is detached to rhetoric. Subsidizing fossil fuels out of the general public purse has to cease.

There’s additionally the matter of stranded threat. TMX might find yourself being the final main oil pipeline inbuilt Canada. It arrived simply as peak international oil demand began to really feel actual, simply as capital markets started pivoting, and simply as worldwide local weather commitments began biting. The identical pressures that made TMX a tough promote will make the subsequent pipeline even more durable. If Canada commits to constructing a hall within the 2020s and it seems the 2030s convey declining oil volumes, then the general public may as soon as once more be left with a stranded asset—or worse, a stranded hall.

So what does a sensible hall seem like? It begins with self-discipline: clear standards for public funding, enforced toll restoration fashions, Indigenous possession from day one, and a modular buildout that prioritizes electrical energy transmission. It have to be resilient, not simply bodily however economically. It should accommodate future decarbonization trajectories, not struggle them. And it have to be designed to ship long-term public worth, not simply short-term political credit score.

If TMX is the value of studying that lesson, then at the very least the tutoring was paid. What Canada can’t afford is to deal with it as a blueprint. The subsequent hall should carry greater than oil. It should carry the grid. If we get that half proper, we would simply flip one of many costliest pipeline errors in historical past into the spark that powers a wiser, cleaner future.

Whether or not you might have solar energy or not, please full our newest solar energy survey.




Have a tip for CleanTechnica? Need to promote? Need to recommend a visitor for our CleanTech Discuss podcast? Contact us right here.


Join our each day e-newsletter for 15 new cleantech tales a day. Or join our weekly one if each day is just too frequent.


Commercial



 


CleanTechnica makes use of affiliate hyperlinks. See our coverage right here.

CleanTechnica’s Remark Coverage




The community blueprint to take your trendy enterprise world



Adopting new applied sciences is synonymous with enhancing productiveness, enhancing decision-making, and driving improvements at present. Virtually each enterprise integrates some type of AI/ML capabilities inside their operations or tapping into the Web of Issues (IoT) to maintain operations on the edge. Based on the 2025 State of the CIO analysis, 62% of organizations have shared that they’re anticipating to see a rise of their general IT finances, with the primary purpose for this being further investments in AI/ML initiatives. 

However in gentle of dramatic shifts in how and the place work will get finished, networks are taking part in an important position in bridging the connection for edge initiatives, hybrid work, and department operations. To spice up operational effectivity amidst enterprise growth, the legacy community structure wants a digital improve: one that may optimize the enterprise community and simplify administration whereas maintaining the corporate protected from cyber threats.

For this reason embracing new applied sciences isn’t only a good to have, however an crucial at present. The truth is that enterprises not solely must preserve tempo with new necessities in community and safety but additionally assist their trendy workloads.

Securing the digital community with NaaS and SASE

Luckily, new digital community fashions like Community-as-a-Service (NaaS) and cloud-based safety frameworks like Safe Entry Service Edge (SASE) supply the pliability, scalability and cost-efficiency wanted for facilitating enterprise development. As distant and hybrid work preparations turn out to be commonplace globally, companies might want to handle a rising distributed workforce and a number of department websites, whereas securing extra IoT gadgets.

One key problem is sustaining operational effectivity even throughout disparate areas. To this finish, NaaS can overcome community capability limitations whereas quick monitoring deployment of essentially the most demanding workloads. With out the necessity to handle a bodily infrastructure, NaaS can even join operations throughout a number of areas.

Some options even permit enterprises to simplify community administration from a single platform with real-time analytics and self-service instruments. And to drive enterprise agility, networks could be personalized and scaled alongside development, decreasing time-to-market for brand spanking new services or products.

Then there’s the info safety necessities and community dangers of growth, challenges that SASE is poised to sort out. By integrating Software program-Outlined Large-Space Networking (SD-WAN) and superior safety options as a cloud platform, SASE lets companies streamline community operations, increase scalability and improve safety. That is finished with out managing particular person community and safety home equipment, whereas getting the end-to-end visibility for responding to evolving wants and safety threats.

Eliminating community complexity with clever instruments

Within the face of an more and more advanced digital panorama, enterprises can contemplate a collection of options that embody the NaaS and SASE capabilities. One such portfolio is Singtel CUBΣ, which empower enterprises with clever safety and community providers. This helps them to grab the alternatives of deploying a contemporary community and on the similar time, decrease the related dangers.

For companies working in various areas, Singtel CUBΣ presents world attain by connecting department places of work throughout a number of areas with NaaS, with simple provisioning integrating networking and safety throughout main expertise platforms.

To remain resilient in an evolving menace panorama, Singtel integrates safety service edge capabilities into the community service mannequin so companies can leverage community and safety providers through a consumption-based mannequin. What this implies is safe and environment friendly connectivity throughout distributed environments.

On-demand unified connectivity is one other key characteristic, with versatile bandwidth options reminiscent of Web Protocol Digital Non-public Community (IP-VPN), world web entry, and multi-cloud connections that present seamless cloud integration. On the similar time, companies can proceed optimizing utility efficiency with SD-WAN overlays and community slicing.

Cell and IoT gadgets have gotten integral to the enterprise community given the distributed environments during which enterprises function. As these endpoints are sometimes unfold throughout a large geographical space, strong community safety is non-negotiable.

Prioritizing IoT safety, Singtel Unified SASE Convergence is designed to assist enterprises confirm a consumer’s identification and IoT gadgets instantly related to the Singtel community. That is bolstered by Singtel’s Enterprise Cell Shield, which protects roaming finish customers from overseas community vulnerabilities, surveillance dangers, and hacking makes an attempt. On the similar time, Safety-as-a-Service (SecaaS) can strengthen entry controls throughout all IoT gadgets on the enterprise community, repeatedly monitor their community visitors, and detect or stop threats in actual time utilizing methods reminiscent of signature-based detection, anomaly detection, and behavioral evaluation.

That includes an ecosystem of business leaders, the SASE capabilities of Singtel CUBΣ guarantee safe and environment friendly connectivity from the cloud to the sting. Constructed-in cybersecurity protections additionally imply that zero belief safety features and superior AI-driven safety are a part of the suite, that are key to securing myriad endpoints whereas guaranteeing world regulatory compliance.

Lastly, enterprises can get rid of the technical complexity of overseeing the digital community with managed providers.

Addressing frequent visibility challenges of managing a number of options, Singtel CUBΣ presents a unified, consolidated stack of managed providers that combine networking with complete safety—delivered through a central platform. This additionally presents organizations the scalability to deploy NaaS and SASE as a service that adapts to altering enterprise wants, be it increasing geographic attain or rising visitors from cell gadgets.

Discover out extra about incorporating NaaS and SASE into your digital community with Singtel CUBΣ.

ios – Obtain progress not work on bodily iPhone in Expo


It really works accurately within the simulator en ios however when i generated the .IPA the state shouldn’t be working. Im working with zustand and axios

// Retailer
import { create } from 'zustand';

interface Props {
  isDownloadProcessing: boolean;
  downloadProgress: quantity;

  setIsDownloadProcessing: (worth: boolean) => void;
  setDownloadProgress: (worth: quantity) => void;
}

export const useGlobalDownloadProgressStore = create()((set, get) => ({
  isDownloadProcessing: false,
  downloadProgress: 0,

  setIsDownloadProcessing: (worth: boolean) => {
    console.log('[Zustand] setIsDownloadProcessing:', worth);
    set({ isDownloadProcessing: worth });
  },

  setDownloadProgress: (worth: quantity) => {
    const isProcessing = get().isDownloadProcessing;
    console.log('[Zustand] setDownloadProgress:', worth, 'isProcessing:', isProcessing);
    set({ downloadProgress: isProcessing ? worth : 0 });
  },
}));


// Componentes React / React Native
import { useEffect, useRef } from 'react';
import { Platform } from 'react-native';
// Librerías de terceros
import * as FileSystem from 'expo-file-system';
import * as MediaLibrary from 'expo-media-library';
import * as Sharing from 'expo-sharing';
import { AxiosError } from 'axios';
// Comunicación con endpoints
import { downloadDocumentUrlByHashName } from '@/core/actions/doc/obtain.doc.url.by.hash.identify';
// Configuraciones e Interfaces (Declarada como tipos)
import { IDocumentDTO } from '@/core/infrastructure/interfaces/doc.dto';
// Hooks y utilidades
import { useGlobalDownloadProgressStore } from '@retailer/paperwork/obtain.international.progress.retailer';
import { useAuthStore } from '@retailer/useAuthStore';
import { useGlobalAlertStore } from '@retailer/globalAlertStore';
// Property
// Atoms
// Molecules
// Organisms
// Layouts
// Containers
// Screens

const URL = course of.env.EXPO_PUBLIC_DOCUMENT_TRANSFER_URL

/**
 * Customized hook para la descarga de documentos.
 */
export const useDownloadDocument = () => {
  const setDownloadProgress = useGlobalDownloadProgressStore((state) => state.setDownloadProgress);

  const setIsDownloadProcessing = useGlobalDownloadProgressStore((state) => state.setIsDownloadProcessing);
  const showGlobalAlert = useGlobalAlertStore((state) => state.showGlobalAlert);
  const userData = useAuthStore((state) => state.userData);

  const prevUserIdRef = useRef(userData?.id ?? null);

  useEffect(() => {
    const currentUserId = userData?.id ?? null;

    if (prevUserIdRef.present !== null && prevUserIdRef.present !== currentUserId) {
      const controller = useAuthStore.getState().downloadAbortController;
      if (controller) {
        controller.abort();
        useAuthStore.getState().setDownloadAbortController(null);
        console.log('Descarga cancelada por cambio de usuario');
      }
    }

    prevUserIdRef.present = currentUserId;
  }, [userData]);


  const handleFileDownload = async (doc: IDocumentDTO, userId: quantity, setProgress?: (progress: quantity) => void) => {
    setIsDownloadProcessing(true);

    const DownloadController = new AbortController();
    const { sign } = DownloadController;
    useAuthStore.getState().setDownloadAbortController(DownloadController);

    const title = doc.title + '.' + doc.sort;

    strive {
      await downloadDocumentUrlByHashName(
        doc.hash,
        userId,
        (progress: quantity) => {
          setDownloadProgress(progress); 
          if (setProgress) {
            console.log('Progress:', progress);
            setProgress(progress);
          }
        },
        sign
      );

      if (sign.aborted) {
        setIsDownloadProcessing(false);
        return;
      }

      const fileUrl = `${URL}/obtain/${doc.hash}?userId=${userData?.id ?? 0}`;
      const fileUri = `${FileSystem.documentDirectory}${title}`;
      const { uri } = await FileSystem.downloadAsync(fileUrl, fileUri);

      handleFileValidation(fileUrl, uri, title, doc);
    } catch (error: unknown) {
      if (error instanceof AxiosError) {
        handleAxiosError(error);
      } else {
        console.error('Error no identificado en la descarga:', error);
        showGlobalAlert('Error al descargar el documento', 'error');
      }
    } lastly {
      setIsDownloadProcessing(false);
      useAuthStore.getState().setDownloadAbortController(null);
    }
  };

  const handleFileValidation = async (fileUrl: string, uri: string, title: string, doc: IDocumentDTO) => {
    if (fileUrl.size > 0 && userData) {
      if (Platform.OS === 'ios') {
        await handleIOSFileSharing(uri);
      } else if (Platform.OS === 'android') {
        await handleAndroidFileSaving(uri, title, doc);
      }
    }
  };

  const handleIOSFileSharing = async (uri: string) => {
    if (await Sharing.isAvailableAsync()) {
      await Sharing.shareAsync(uri);
    } else {
      console.error('Error', 'Sharing shouldn't be accessible on this machine.');
    }
  };

  const handleAndroidFileSaving = async (uri: string, title: string, doc: IDocumentDTO) => {
    const { standing } = await MediaLibrary.requestPermissionsAsync();
    if (standing !== 'granted') {
      return;
    }
    const permissions = await FileSystem.StorageAccessFramework.requestDirectoryPermissionsAsync();

    if (permissions.granted) {
      const base64 = await FileSystem.readAsStringAsync(uri, { encoding: FileSystem.EncodingType.Base64 });

      await FileSystem.StorageAccessFramework.createFileAsync(permissions.directoryUri, title, doc.sort)
        .then(async (uri) => {
          await FileSystem.writeAsStringAsync(uri, base64, { encoding: FileSystem.EncodingType.Base64 });
        })
        .catch((e) => console.error(e));
    }
  };

 
Element
import { lightTheme } from '@/config/theme/Colours';
import { useGlobalDownloadProgressStore } from '@/presentation/retailer/paperwork/obtain.international.progress.retailer';
import React, { useEffect, useRef } from 'react';
import { View, Animated } from 'react-native';

const ProgressBar = () => {
  const animatedProgress = useRef(new Animated.Worth(0)).present;
  const downloadProgress = useGlobalDownloadProgressStore((state) => state.downloadProgress);
  const downloadProgressfinal = downloadProgress / 100;
  const bgProgressBar = lightTheme.secondary1;

  useEffect(() => {
    Animated.timing(animatedProgress, {
      toValue: downloadProgressfinal,
      length: 300,
      useNativeDriver: false,
    }).begin();
  }, [downloadProgressfinal]);

  return (
    
      
    
  );
};

export default ProgressBar;

And dont get error simply the shop initalize in 0 and never replace o change

android and ios simulator works additionally android apk however when i deploy in testlight the bar shouldn’t be working, assist plss 🙁