9.6 C
New York
Monday, March 17, 2025
Home Blog Page 8

Expo 50: firebase + flipper on iOS workarount


Expo 50 has a tough time utilizing concurrently flipper and firebase leading to 404 errors with varied FlipperKit header information, so I publish right here to suggest an answer

The answer is straightforward: disable firebase, and it is possible for you to to make use of Flipper. Nonetheless, there’s a catch.

To begin with, we have to remark use_frameworks within the Podfile:

flipper_config = FlipperConfiguration.disabled
if ENV['NO_FLIPPER'] == '1' then
  # Explicitly disabled via surroundings variables
  flipper_config = FlipperConfiguration.disabled
elsif podfile_properties.key?('ios.flipper') then
  # Configure Flipper in Podfile.properties.json
  if podfile_properties['ios.flipper'] == 'true' then
    flipper_config = FlipperConfiguration.enabled(["Debug", "Release"])
  elsif podfile_properties['ios.flipper'] != 'false' then
    flipper_config = FlipperConfiguration.enabled(["Debug", "Release"], { 'Flipper' => podfile_properties['ios.flipper'] })
  finish
finish

goal 'MyTarget' do
  use_expo_modules!
  config = use_native_modules!

  *#commented to make use of flipper: use_frameworks! :linkage => podfile_properties['ios.useFrameworks'].to_sym if podfile_properties['ios.useFrameworks']
  #commented to make use of flipper: use_frameworks! :linkage => ENV['USE_FRAMEWORKS'].to_sym if ENV['USE_FRAMEWORKS']*

   use_react_native!(
    :path => config[:reactNativePath],
    :hermes_enabled => podfile_properties['expo.jsEngine'] == nil || podfile_properties['expo.jsEngine'] == 'hermes',
    # An absolute path to your utility root.
    :app_path => "#{Pod::Config.occasion.installation_root}/..",
    # Word that when you have #commented to make use of flipper: use_frameworks! enabled, Flipper is not going to work if enabled
    :flipper_configuration => flipper_config
  )

and add ios.flipper: "true" to Podfile.properties.json:

{
  "expo.jsEngine": "jsc",
  "EX_DEV_CLIENT_NETWORK_INSPECTOR": "true",
  *"ios.flipper": "true",*
  "ios.useFrameworks": "static"
}

It might be sufficient to make Flipper work, however that is not the case in my undertaking, therefore we’d like pressure firebase to static linking so construct would not fail, for that we add to the Podfile:

pod 'Firebase', :modular_headers => true
pod 'FirebaseCoreInternal', :modular_headers => true
pod 'GoogleUtilities', :modular_headers => true
pod 'FirebaseCore', :modular_headers => true
pod 'FirebaseCoreExtension', :modular_headers => true
pod 'FirebaseInstallations', :modular_headers => true
pod 'GoogleDataTransport', :modular_headers => true
pod 'nanopb', :modular_headers => true

That is it, now construct will not fail and make Flipper work. Nonetheless, it might be not handy to edit Podfile after every prebuild, so I made a plugin use-flipper-plugin.js to automize the method (Word that it modifies Podfile provided that env var FLIPPER is ready to true):

const { withDangerousMod } = require('@expo/config-plugins');
const path = require('path');
const fs = require('fs');

module.exports = operate (config) {
  return withDangerousMod(config, [
    'ios',
    (innerConfig) => {
      if (!process.env.FLIPPER) {
        return innerConfig;
      }

      const manager = new PodfileManager(innerConfig);

      manager.disableFirebase();
      manager.enableFlipper();

      return innerConfig;
    },
  ]);
};

class PodfileManager {
  constructor(config) {
    this._config = config;
  }

  _getPodfile() {
    const podfilePath = path.be part of(
      this._config.modRequest.platformProjectRoot,
      'Podfile'
    );
    return fs.readFileSync(podfilePath, 'utf8');
  }

  _savePodfile(modified) {
    const podfilePath = path.be part of(
      this._config.modRequest.platformProjectRoot,
      'Podfile'
    );
    return fs.writeFileSync(podfilePath, modified, 'utf8');
  }

  _commentUseFrameworks(podfile) {
    return podfile.exchange(
      /(use_frameworks!.+)/gi,
      '#commented to make use of flipper: $1'
    );
  }

  _mockFirebasePods(podfile) {
    const place = podfile.indexOf('use_react_native');
    const pods =
      [
        'Firebase',
        'FirebaseCoreInternal',
        'GoogleUtilities',
        'FirebaseCore',
        'FirebaseCoreExtension',
        'FirebaseInstallations',
        'GoogleDataTransport',
        'nanopb',
      ]
        .map((p) => `  pod '${p}', :modular_headers => true`)
        .be part of('n') + 'nn  ';
    return podfile.slice(0, place - 1) + pods + podfile.slice(place - 1);
  }

  enableFlipper() {
    const propsPath = path.be part of(
      this._config.modRequest.platformProjectRoot,
      'Podfile.properties.json'
    );

    const podProps = JSON.parse(fs.readFileSync(propsPath, 'utf8'));
    podProps['ios.flipper'] = 'true';

    fs.writeFileSync(propsPath, JSON.stringify(podProps, null, 2), 'utf8');
  }

  disableFirebase() {
    const podfile = this._getPodfile();

    let modified = this._mockFirebasePods(podfile);
    modified = this._commentUseFrameworks(modified);

    this._savePodfile(modified);
  }
}

Now you simply want so as to add the plugin to app.json and it will make all modifications:

"plugins": ["./use-flipper-plugin"]

Adobe Acrobat Vulnerabilities Allow Distant Code Execution

0


A current disclosure by Cisco Talos’ Vulnerability Discovery & Analysis group highlighted a number of vulnerability points in Adobe Acrobat.

All of those vulnerabilities have been addressed by their respective distributors, aligning with Cisco’s third-party vulnerability disclosure coverage.

For detection of those vulnerabilities, customers can make the most of the newest Snort rule units obtainable from Snort.org and confer with Talos Intelligence’s web site for the newest Vulnerability Advisories.

CVE Particulars

The vulnerabilities affecting Adobe Acrobat contain a mix of out-of-bounds reads and a reminiscence corruption difficulty, all of that are linked to the font performance throughout the software program.

  • TALOS-2025-2134 (CVE-2025-27163) and TALOS-2025-2136 (CVE-2025-27164): These are out-of-bounds learn vulnerabilities that can lead to the disclosure of delicate data. The first concern with these vulnerabilities is the potential leakage of information, which will be exploited by an attacker to achieve unauthorized insights into the system or consumer information.
  • TALOS-2025-2135 (CVE-2025-27158): This can be a reminiscence corruption vulnerability brought on by an uninitialized pointer in Adobe Acrobat’s font performance. This particular difficulty is extra important because it may probably result in arbitrary code execution if exploited. By crafting a malicious font file embedded in a PDF, an attacker may set off these vulnerabilities. Nonetheless, profitable exploitation requires the consumer to be tricked into opening such a malicious file.

Affected Merchandise

Product Vulnerability (CVE)
Adobe Acrobat CVE-2025-27163
Adobe Acrobat CVE-2025-27164
Adobe Acrobat CVE-2025-27158

Impression and Mitigation

These vulnerabilities spotlight the significance of patch administration in stopping potential assaults. Customers are suggested to make sure their Adobe Acrobat software program is up to date with the newest safety patches.

Furthermore, warning must be exercised when opening PDF recordsdata from untrusted sources, as this might help forestall exploitation of such vulnerabilities.

For organizations and people looking for to guard towards these vulnerabilities, updating software program promptly and sustaining consciousness of file sources are key steps in mitigating danger.

Moreover, implementing sturdy safety measures, corresponding to endpoint detection methods, can add an additional layer of safety towards exploitation makes an attempt.

The proactive patching of those vulnerabilities by Adobe illustrates the collaborative effort between distributors and safety researchers to safeguard consumer safety.

Customers should stay vigilant and hold their methods up to date to forestall the exploitation of such vulnerabilities.

Are you from SOC/DFIR Groups? – Analyse Malware Incidents & get stay Entry with ANY.RUN -> Begin Now for Free. 

Worth Gouging Is All over the place — From EVs To Eggs And Presidential Golf Excursions



Join day by day information updates from CleanTechnica on electronic mail. Or comply with us on Google Information!


Final Up to date on: sixteenth March 2025, 11:59 pm

“I’ll decrease your prices on Day 1,” candidate Donald J. Trump exclaimed. As a substitute, we’re experiencing worth gouging and cuts to on a regular basis companies. In the identical approach that we’re not supposed to concentrate to the person backstage within the White Home, US residents aren’t anticipated to have the ability to discern the distinction between rising prices and billionaire payoffs.

The center class is paying for tax cuts for the über rich because the Trump administration dismantles the federal well being care program, Medicaid; introduces tariffs, which increase shopper costs; and decimates public training, amongst different devastating selections. Trump’s insurance policies appear to be setting us up for an additional inflation surge, says Nobel Award–successful economist Paul Krugman, and fears of such a “Trumpflation” surge look like a serious motive for plunging shopper sentiment.

The President-in-Title-Solely has sworn to root out corruption throughout the authorities, but one in all his first acts as president was to fireside over a dozen impartial watchdogs who did precisely that. “Let’s be clear: Some individuals are gonna get harm, let’s be sincere,” former Speaker of the Home Newt Gingrich stated of the Division of Authorities Effectivity’s broad cuts to federal packages and workers in just about each company. Trump continues to insist that short-term ache is important for the federal government stability he’ll deliver over time.

In the meantime, costs proceed to rise, and the administration hasn’t begun to articulate a plan to carry costs in line. Insurance coverage premiums and prescriptions will price extra, as a result of the one approach he can steadiness well being packages is to boost shopper prices — and assaults on retirement advantages like Social Safety, Medicare, and VA advantages are imminent. They’re not even attempting to cover it: Elon Musk known as Social Safety “the largest Ponzi scheme of all time.”

Listed here are among the many ways in which worth gouging has turn out to be a byproduct of Trump administration insurance policies, which have failed US residents miserably.

EVs: Eighteen-year-old Enza Khoury, cowl mannequin for the newly relaunched i-D vogue journal, was shocked, she stated, by the abundance of electrical automobiles in Paris. All over the world, cheaper battery costs are resulting in cheaper electrical automobiles, which causes a spike in EV demand. However wait — the common worth of an EV in Europe in 2020 was round €40,000 (excluding taxes); as we speak, it’s round €45,000, an 11% leap. Automakers are prioritizing bigger, extra worthwhile EVs as a part of their revenue maximization technique, relatively than specializing in reasonably priced, mass market fashions.

Within the US, legacy automakers additionally need to generate earnings, even on the expense of the local weather. Ford, GM, Stellantis, and different US automakers and suppliers had invested almost $146 billion over three years within the design, engineering, and manufacturing of electrical autos. They’re strolling again timeline implementation dates, for certain, and Tesla CEO Elon Musk has made it clear he won’t battle to protect the $7,500 tax credit score for patrons of electrical autos that’s supplied by the 2022 Inflation Discount Act. Why? In accordance with our intrepid CleanTechnica author Steve Hanley, its loss “might bankrupt different automakers in years to return and make him richer, not as a result of it is going to profit America. See how this works now? The individuals get dumped on whereas the oligarchs get wealthier.”

Eggs are a hanging instance of worth gouging: We all know chook flu has precipitated poultry farmers nice losses as they destroy contaminated flocks. It’s so unhappy. Nonetheless, egg producer Cal-Maine calculated $1 billion in windfall earnings earlier than it noticed a single outbreak of H5N1. It sells 1.1 billion eggs per yr and owns 43 manufacturing services. Meals and Water Watch’s report, “The Financial Price of Meals Monopolies: The Rotten Egg Oligarchy,” tells the entire story. Cal-Maine’s shareholders particularly benefited: the corporate’s inventory is roughly thrice as priceless as we speak because it was initially of the chook flu outbreak.

Grocery business worth gouging: As competitors wanes and retailer sizes enhance, MegaGrocers seize extra earnings than ever earlier than. Giants Kroger and Albertsons admitted to cost gouging in a 2024 courtroom case, which struck down a proposed merger between the 2 companies. Who’s left to steer the wanted intensive enforcement of US antitrust legal guidelines to go after company worth fixing and collusion? Republicans have bailed, and Democrats can’t determine who’s in cost.

Tariffs: The manager workplace is vacillating as a consequence of strain over the introduced tariffs of 25% on items from Canada and Mexico and a further 10% on imports from China. Economists have warned these tariffs would create inflation and lower financial development. The inventory market has dropped dramatically over latest weeks as a result of tariffs and the uncertainty over their implementation. However Trump denied his abrupt change had something to do with the inventory market. “I’m not even wanting on the market,” Trump stated, “as a result of long run, the USA shall be very sturdy with what’s occurring.” The tariffs on allies like Canada will increase costs on vitality, lumber, and automobiles and sure begin a commerce battle that can harm manufacturing and farmers.

Presidential golf prices us all: As SV Date revealed in HuffPost, in simply his first month in workplace, Trump spent about $10.7 million in taxpayer cash taking part in golf. Between inauguration and March 9, Trump visited Florida and his beloved golf programs six instances. The Palm Seashore sheriff’s workplace day by day additional time invoice alone has been reported to be $240,000. How do these prices slot in with the Orange Menace’s acknowledged purpose to chop authorities spending?

Financial messaging continues to plague Democrats: The Democratic divide amongst leaders was evident because the weekend approached. Schumer and different key Democrats voted for the Republic funds, considering that what Musk and Trump can do with the federal government closed can be a lot worse than with the federal government open and below their scrutiny. Consultant Alexandria Ocasio-Cortez had particular criticism of the laws itself. “This turns the federal authorities right into a slush fund for Donald Trump and Elon Musk,” she informed CNN. “It sacrifices congressional authority, and it’s deeply partisan.”

Beneath a lot scrutiny proper now for voting alongside Republicans to maintain the federal authorities open, Senator Charles Schumer (D-NY) defined his perspective why the shutdown of the federal government would simply be devastating and much worse than the Republican persevering with decision.

“So their purpose of decimating the entire federal authorities, of reducing company after company after company, would happen below a shutdown. Two days from now in a shutdown, they may say, properly, meals stamps for youths is just not important. It’s gone. All veterans places of work in rural areas are gone. Social Safety, Medicare, Medicaid. They’re not important. We’re reducing them again. So it’d be horrible. The harm they will do below a shutdown is way worse than another harm that they may do.”

Remaining Ideas about Worth Gouging and the Trumpsters

The enhance for billionaires is increasing the nationwide debt so {that a} US recession appears imminent. As Lu Yuan writes within the New York Occasions, many Chinese language individuals are discovering they will relate to what many Individuals are going by way of. They really feel it resembles the Cultural Revolution, the interval referred to as “the last decade of turmoil.”

After all, the intestine feeling doesn’t really level to the best way that the 2 nations are basically completely different. China is a one-party state missing in three pillars of the US system: liberty, democracy, and the rule of regulation. Hmmm. How sturdy can we are saying these three pillars are nowadays?

Featured picture: “Inflation” by ccnull.de Bilddatenbank (CC BY 2.0 license).

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



Chip in a couple of {dollars} a month to assist help impartial cleantech protection that helps to speed up the cleantech revolution!


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


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


Commercial



 


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

CleanTechnica’s Remark Coverage




react native – structure appears damaged on some iOS gadgets however tremendous on others


I’m constructing a React Native app utilizing Expo, and I’m seeing inconsistent structure/rendering on totally different iOS gadgets. On some iPhones (e.g., iPhone 12, iOS 16), the app appears good, however on others (e.g., iPhone 14, iOS 17), the structure is totally off (fonts are bigger or clipped, spacing is bizarre, colours are flawed, and many others.). I’m additionally utilizing the brand new structure (newArchEnabled) and Hermes (jsEngine: ‘hermes’).

Listed here are my related config recordsdata and a snippet of 1 display:

 // app.json / app.config.js (simplified) 
export default 
{ expo: { identify: 'carpay', slug: 'carpay', jsEngine: 'hermes', model: '1.0.0', orientation: 'portrait', userInterfaceStyle: 'automated', ios: { // Probably related settings supportsTablet: true, requireFullScreen: true, newArchEnabled: true, minIOSVersion: '15.1', }, android: { newArchEnabled: true, }, // ... }, }
// babel.config.js (simplified) 
module.exports = (api) => { api.cache(false) return { presets: [['babel-preset-expo', { jsxRuntime: 'automatic' }]], plugins: [ // ... ['@tamagui/babel-plugin', { components: ['@my/ui', 'tamagui'], config: '../../packages/ui/src/tamagui.config.ts', disable: true, // presently disabled }], ], } }
// One in all my screens (simplified) 
export operate HomeScreen() { const isIOS18OrHigher = (): boolean => { if (Platform.OS !== 'ios') return false const model = Platform.Model const iosVersion = typeof model === 'string' ? parseFloat(model) : model return iosVersion >= 18.0 }
// If iOS 18 or greater, skip loading customized fonts // ...
// My structure makes use of Tamagui, with a dynamic Theme and customized fonts // On some iPhones, the whole lot strains up accurately // On others, the UI is completely off (screenshot beneath)
return (  {/* ... */}  ) }`

Screenshots:

• Appropriate structure (iPhone 13, iOS 18)

•   Damaged structure (iPhone 13 Professional}, iOS 18)

[enter image description here](https://i.sstatic.web/LDL1rQdr.jpg)

Setting:
• Expo SDK: 51 (managed workflow)
• React Native: 0.71
• iOS: 16 and 17 examined
• Hermes: enabled
• Tamagui: 1.x
• System: iPhone 16, iPhone 13

I’d recognize any recommendation on diagnosing and fixing these rendering inconsistencies. Thanks!

I’ve tried:
1. Eradicating the iOS model examine in order that I all the time load customized fonts (as a substitute of skipping on iOS 18+).
2. Disabling requireFullScreen in ios config to see if notched gadgets have been the difficulty.
3. Utilizing userInterfaceStyle: ‘mild’ to rule out darkish mode issues.
4. Turning off newArchEnabled to see if the brand new structure was inflicting structure points.
5. Checking if Accessibility or Show Zoom is enabled on the problematic system.

Regardless of these makes an attempt, some gadgets nonetheless render incorrectly. The largest suspects appear to be customized fonts not loading correctly on sure iOS variations, or some battle with the brand new structure.

Questions:
1. How can I guarantee constant font and structure habits throughout all iOS gadgets utilizing Expo + React Native + Tamagui?
2. Are there recognized points with newArchEnabled or Hermes that would trigger font metrics or structure to vary?
3. Might requireFullScreen or userInterfaceStyle: ‘automated’ be messing with my structure on notched gadgets?

Wandelbots on the way forward for robotic programming

0


Take heed to the episode on this hyperlink: The Robotic Report Episode 187

In Episode 187 of The Robotic Report Podcast, co-hosts Mike Oitzman and Eugene Demaitre interview Fabio Gehrlicher, Director of Market Enlargement at Wandelbots.

headshot of Fabio Gehrlicher.

Fabio Gehrlicher, Director of Market Enlargement at Wandelbots.

Within the interview, they focus on the corporate’s journey, specializing in its flagship product, Wandelbots NOVA, an agnostic working system for robots.

Fabio explains how NOVA simplifies robotic programming, the combination of AI for path planning, and the advantages of simulation-based programming.

The dialog additionally covers the audience for NOVA, the structure of the system, and the challenges of transitioning from simulation to real-world functions.

Fabio shares insights on the ROI of utilizing NOVA and the educational curve for brand spanking new customers, in addition to Wandelbots’ enlargement into the US market and their upcoming showcase at ProMat 2023.

Present timeline

  • 5:25 – Information of the week
  • 21:15 – Interview with Fabio Gehrlicher, Director of Market Enlargement at Wandelbots

SITE AD for the 2025 Robotics Summit registration.
Register now so you do not miss out!


Information of the week

Google DeepMind introduces two Gemini-based fashions to convey AI to the true world

Google DeepMind has unveiled two cutting-edge synthetic intelligence fashions, Gemini Robotics and Gemini Robotics-ER, marking a big step in bringing superior AI capabilities into the bodily world. Constructing upon the muse of Gemini 2.0, these fashions lengthen DeepMind’s multimodal reasoning prowess, which already encompasses textual content, photos, audio, and video, to incorporate direct interplay with the setting.

Gemini Robotics, a complicated vision-language-action (VLA) mannequin, introduces bodily actions as a brand new output, successfully enabling robots to be managed immediately. Complementing this, Gemini Robotics-ER gives enhanced spatial understanding, empowering roboticists to leverage Gemini’s embodied reasoning (ER) talents for custom-made applications.

These improvements collectively increase the vary of real-world duties that robots can carry out. Demonstrating their dedication to sensible utility, DeepMind is collaborating with Apptronik to combine Gemini 2.0 into humanoid robots.

iRobot considers a sale

Dealing with important monetary challenges and “substantial doubt” about its operational continuity, iRobot has launched a proper strategic evaluate, exploring choices reminiscent of a possible sale or debt refinancing. This choice follows the collapse of its deliberate acquisition by Amazon, a deal that was in the end derailed by antitrust issues, regardless of iRobot’s efforts to recuperate its footing. Supply: Fortune Journal

The corporate’s monetary efficiency has deteriorated, with a 23.4% income decline in fiscal 2024, dropping from $890.6 million to $681.8 million, and an working lack of $103 million. In response, iRobot has carried out aggressive cost-cutting measures, together with lowering its workforce by over 50% and downsizing its workplace house. Nonetheless, these efforts have been inadequate to offset the influence of decreased income, promotional spending, order timing points, and ongoing aggressive pressures, all of which the corporate hopes to deal with with its new product lineup.

ProMat protection on Automated Warehouse


Podcast sponsored by Wandelbots

Simplify automation with out limits. Wandelbots NOVA is the agnostic robotics platform that permits you to program any six-axis robotic — whether or not coding from scratch or producing paths with real-world information.

Take a look at in simulation, deploy seamlessly, and optimize workflows throughout manufacturers — with out vendor lock-in.

Smarter automation begins right here. Go to Wandelbots.com to be taught extra.

The submit Wandelbots on the way forward for robotic programming appeared first on The Robotic Report.