Quantcast
Channel: User Ale TheFe - Stack Overflow
Browsing latest articles
Browse All 43 View Live

Comment by Ale TheFe on Flutter GetX - How to manage controller deletion?

I ended up doing this way...though I don't really know why bindings are not working...

View Article



Comment by Ale TheFe on FLUTTER + GETX: The children of...

yeah, ok, interesting, but actually it doesn't reply to my question. I'm fine with GetX. I am doing something wrong and the solution cannot be "throw your work away", do you agree?

View Article

Comment by Ale TheFe on Is it possible with Firebase Authentication to have a...

no: this is about how to link different providers. What I want to do is to have a user signed in without knowing the tenant and then choosing his tenant ONCE LOGGED. So in my head tenants are groups...

View Article

Comment by Ale TheFe on How to test a mobile deep links from App/Play Store...

yes, but my question was: How can I test the behavior passing from the store? not with the app already installed. There must be a way to test before releasing, without just assuming that it should work

View Article

Comment by Ale TheFe on FLUTTER BLUE PLUS - Is it possible to read a BLE...

Oooh! I didn't know that advertisement can contain data! I'll try that asap. And thanks for the explanation, I'm a little newbie regarding BLE!

View Article


Comment by Ale TheFe on How to replace a part of a string maintaining the...

I ended up asking also to chatGPT and I was going to autopost an answer, but you were quicker :D so accepted!!

View Article

Comment by Ale TheFe on Issues while building iOS project with flutter

It's embarassing that Apple continues to release bugged version of their major development IDE and related software...every new version of XCode carries issues! EM BA RAS SING! I'm disgusted!

View Article

Comment by Ale TheFe on api.video-flutter-live-stream iOS crashes after...

I'm using a tons of packages :') I'm going to try your solution immediately, be right back!

View Article


Comment by Ale TheFe on Flutter - Text foreground is not showing up on iOS

if you install the latest version of the stable branch it should be fixed. However if it is not, you can run the app with skia by passing the --no-enable-impeller after the flutter run command

View Article


Comment by Ale TheFe on Flutter Web | How to center a dropdown in a container?

Thanks, it worked! Do you know why the fontWeight is not editable? I'm putting w300 but it's not taking it :(

View Article

Comment by Ale TheFe on How do I make Flutter's Material Design 3 FAB as...

One day I'll understand why Google has changed from Mat2 to Mat3...Mat2 was far way better IMHO

View Article

How not to make a ReactJS app freeze when a huge number of docs arrive from a...

I've a ReactJS application made up of 3 simple elements: 2 numbers and an input text. This is a test page of course.The 2 numbers refers to the number of elements that are present in 2 separate...

View Article

Flutter GetX - How to manage controller deletion?

I have a Flutter app with GetX Controllers. The app has 6 screens and every screen has its GetxController.Screens 1 and 2 are for the login system, while screens 3 to 6 are for the app content.After...

View Article


Why does my ReactJS component re-renders even if it's exported with React.memo?

I have a ReactJS application. The <App /> component is wrapped with a <ContextProvider /> component, because I need to have its state shared among components that only have <App /> as...

View Article

XCode Command PhaseScriptExecution failed with a nonzero exit code - Mac M1 Max

I've tried almost every solution on GitHub and StackOverflow, nothing is working. After changing from a Intel based mac to a M1 Max mac, my Flutter app stopped compiling, giving this weird error...

View Article


What is the right way to invalidate tags in RTKQ after a Firestore write...

THE ENVIRONMENTA ReactJS application that performs writes and read against a Firestore DB with the Firebase client SDK v9.17.1.The business logic is inside RTK Query's queryFns, so for example I call...

View Article

REACTJS - How to load images in a Single-Spa microfrontend built with CRACO?

I have a microfrontends application in REACT JS managed with Single SPA. All our MFE are built with webpack and created with CRA.We now want to migrate all of them to CRACO. Everything works, except...

View Article


Answer by Ale TheFe for How to allow PM2 to create folders on Ubuntu Server?

Ok, I figured it out! It wasn't actually a permissions problem (that were configured correctly), but actually the { recursive: true } was missing from the fs.mkdirSync, and so Node wasn't able to...

View Article

How to allow PM2 to create folders on Ubuntu Server?

I have an express app managed via PM2 deployed to an Ubuntu Server. At a certain point an endpoint receives and saves some files in this wayfs.access(path.join(__dirname, '..', 'static', 'images',...

View Article

How to split a file in chunk to send them over BLE with Flutter?

The question is as title. I have a custom device running Linux that can receive commands via BLE. What I basically want to do is take a file, encode that in base64, split it in chunks and send every...

View Article

How to override specific portion of a FTL template (Keycloak pages)?

DISCLAIMER: KEYCLOAK NEWBIE HERE !!!I have a set of Keycloak pages that manage the user actions (login page, forgot password page, ...).Every page extends this template.ftl that it's a sort of "base...

View Article


How to test a mobile deep links from App/Play Store in a Flutter app?

I have a mobile app (developed with Flutter but not relevant for this question).The app uses Firebase Dynamic Links functionality to bring the user inside and activate some functionalities.I tried to...

View Article


How to debug a Flutter app in release mode after restart?

I'm developing a Flutter App that uses deep links.To test the behavior when the app is closed I do a flutter run --release so the app is installed on my iPhone, then I can close the app and open it...

View Article

FLUTTER BLUE PLUS - Is it possible to read a BLE Characteristic before pairing?

I have a flutter app that communicates with a BLE device. I use the flutter_blue_plus library. The customer basically asked to have, after the scan, a list of details of the device exposed before...

View Article

How to replace a part of a string maintaining the other one intact in...

I'm developing a Flutter app.I have used a function written by me to calculate the sizes of every stuff. This was called scaleAdapter and its signature was this one:scaleAdapter(aNumber)This is used...

View Article


How to crossfade widgets runtime calculated in Flutter?

I'm developing a Flutter app. In a screen I have a switch that assigns a Widget based on a controller value and then this widget gets rendered.class Home extends StatelessWidget { const...

View Article

Answer by Ale TheFe for Why one of the 2091 BLE Descriptors isn't getting its...

I don't know how but I find the problem and the solution, and it is pretty easy and straightforward too.The ESP32, by design, handles a maximum of 15 handlers on a BLEService BY DEFAULT. However this...

View Article

How to implement a security layer on a GATT server

THE FACTI'm implementing a mobile app that reads and writes characteristics of a GATT server (BLE)THE DOUBTAll the reads and writes are "linear", meaning that once you're connected to the server you're...

View Article

api.video-flutter-live-stream iOS crashes after update to XCode 15 and...

I'm using the api.video-flutter-live-stream library and everything worked smoothly and fine until I updated XCode to v15.0 and CocoaPods to v1.13.0From that moment the app crashes with a HashinKit...

View Article



Dart - How to create custom types on the fly like in Typescript?

I want to create a custom type in Dart like I would do in typescript. This type should be a subtype of String, accepting only some values.For example, in Typescript I would do:type myType = 'HELLO' |...

View Article

Image may be NSFW.
Clik here to view.

Flutter - Text foreground is not showing up on iOS

I'm trying to create a text with a border. I've written this codeLayoutBuilder( builder: (_, constraints) => Container( width: constraints.maxHeight, decoration: BoxDecoration( border:...

View Article

ReferenceError: variable_name is not defined in EJS file

I'm trying to render a simple file passing a variable:<!DOCTYPE html><html lang="en"><head><script src="https://cdn.tailwindcss.com"></script><title>EXPORT <%=...

View Article

Image may be NSFW.
Clik here to view.

Flutter Web | How to center a dropdown in a container?

I'm an expert user of Flutter but I'm pretty new to Flutter Web.I'm trying to build a list of months where the user can select the desired one.For some reason the list and container are all broken in...

View Article


Image may be NSFW.
Clik here to view.

Why one of the 2091 BLE Descriptors isn't getting its value on my ESP32...

I'm developing a BLE application using a ESP32-WROOM-32.Everything works great, but there's a strange behavior that I can't address: I have 5 characteristics, 4 are read-only and one is write-only....

View Article

How to correctly handle blur and focus in React Native Navigation?

I have a screen in a React Native app which is made by 2 tabs. Everytime I switch tab I want to initiate a polling operation with my server to get the content of the tab. I'm achieving this by...

View Article

How to escape HTML special characters when rendering a PDF using EJS and...

I have an express application that generates pdf documents. I use ejs as a template engine and then I use wkhtmltopdf.ejs.renderFile( path.join(__dirname, 'pages', 'lettera.ejs'), { ...some variables...

View Article


How to parallel run multiple npm scripts in rollup watch mode using yarn...

I have a React multimodule project.Every module is built with rollup and has its commands defined as"build": "rollup -c","watch": "rollup -cw"From the main package.json I have this scripts...

View Article


Comment by Ale TheFe on Why do yarn.lock and installed versions diverge?

"Chrome" was just to say "a browser". Yes, I'm editing the package.json directly, shouldn't I? I don't use ~6.1.0 because I know that 6.1.0 is the version I need. And yarn why tells me that my deps...

View Article
Browsing latest articles
Browse All 43 View Live




Latest Images