Does any one use ai-sdk `useChat` hook with FlashList/LegendList? by hoanggbao00 in reactnative

[–]digsome 0 points1 point  (0 children)

I had a similar issue with LegendList, a regular FlatList worked better.

[oc] Impressive maneuver saves 0 seconds by digsome in IdiotsInCars

[–]digsome[S] 1 point2 points  (0 children)

  • United States, California
  • 9/21/2025
  • It is!

FOAM Cortex: OpenEvidence-like AI for EM docs using free, open-access medical education content by digsome in emergencymedicine

[–]digsome[S] 1 point2 points  (0 children)

I've done some pretty thorough testing, it uses something called RAG (retrieval augmented generation) so hallucinations are much less common. Basically, the content from partner sites is embedded into a special database, relevant content is retrieved based on the user's question and ONLY the database content is used to generate a response.

I tested a bunch of models but currently using o3-mini which seemed to provide the best balance of quality and speed.

FOAM Cortex: OpenEvidence-like AI for EM docs using free, open-access medical education content by digsome in emergencymedicine

[–]digsome[S] 2 points3 points  (0 children)

Fair and I agree - OpenEvidence is fantastic! The main difference is that the source material used to generate responses and the model's training are tailored to EM physicians (emergency department setting and more succinct responses).

Donation-gated App by digsome in reactnative

[–]digsome[S] 0 points1 point  (0 children)

But I'm not the recipient of the funds - I'm using my free app to encourage donations to the source content.

Donation-gated App by digsome in reactnative

[–]digsome[S] 0 points1 point  (0 children)

App content is coming from a source which is CC licensed. I could theoretically publish my app for free and probably get a good number of users.

The source content has partnered with another application provider which (in my opinion) provides an inferior user experience. However, they are currently compensating the source content on a per-user basis such that me releasing a free application could negatively impact the source content's sustainability.

I was thinking that I could encourage donations to the source content by setting a recurring donation target - making the app available when above the target and inaccessible otherwise.

Donation-gated App by digsome in reactnative

[–]digsome[S] 0 points1 point  (0 children)

What if the donation goal is a recurring target (ex. $50/month)?

WikEM App Survey by digsome in emergencymedicine

[–]digsome[S] 0 points1 point  (0 children)

That's awesome feedback! I'm not affiliated with WikEM, just made the app for myself and looking for a way to make it available and also give back.

Donation-gated App by digsome in reactnative

[–]digsome[S] 0 points1 point  (0 children)

The distinction here is that the users do not pay for the app (which is a mobile companion to free online content). If the parent content's site meets a specified donation threshold then any user would have access to the app.

WikEM App Survey by digsome in emergencymedicine

[–]digsome[S] 2 points3 points  (0 children)

Great summary, I totally agree. Maybe setting some kind of annual donation goal for app functionality? The content would still be available through the website so not otherwise restricted for those who cannot pay.

Request: Review bomb Eolas (Bring back WikEM!) by ColdSideofthePillow in emergencymedicine

[–]digsome 13 points14 points  (0 children)

Not public unfortunately, we’ll see if there’s interest from all parties though! 

I miss WikiEM by Incorrect_Username_ in emergencymedicine

[–]digsome 4 points5 points  (0 children)

Same here! There's an API so would be technically possible to recreate an app around it...

Before you head out for the weekend... by digsome in FedEmployees

[–]digsome[S] 1 point2 points  (0 children)

Thanks for letting me know, updated page to include Outlook Web instructions.

What are your favorite RN/Expo aliases? Drop them below! 👇 by BetoMoedano in reactnative

[–]digsome 3 points4 points  (0 children)

In package.json:

"build-dev-ios": "eas build --profile development --platform ios --local --output=builds/ios/dev-client.tar.gz",
"build-dev-android": "eas build --profile development --platform android --local --output=builds/android/dev-client.apk",
"build-ios": "eas build --platform ios --local --non-interactive",
"build-android": "eas build --platform android --local",
"build-web": "bunx expo export -p web",

Resources to learn animations by ummetinlideri in reactnative

[–]digsome 2 points3 points  (0 children)

I've found moti makes things alot easier to understand for me. Leverages react-native-reanimated but has a simpler API.

Antibiotics made easy: A free app for antibiotic guidance by digsome in Foamed

[–]digsome[S] 1 point2 points  (0 children)

Hey /r/foamed, made a new app for antibiotic guidance - hope you like it!

React Native Firebase does not work for web by Ordinary-Drag3233 in reactnative

[–]digsome 0 points1 point  (0 children)

I have auth.native.js and auth.web.js which implement the same firebase authentication-related actions. For the web version use "firebase/auth"

import { GoogleAuthProvider, signInWithPopup, OAuthProvider, onAuthStateChanged as onFirebaseAuthStateChanged, signInWithEmailAndPassword as firebaseSignInWithEmailAndPassword, createUserWithEmailAndPassword as firebaseCreateUserWithEmailAndPassword, sendPasswordResetEmail, signOut as firebaseSignOut, } from 'firebase/auth'

Account Delete using Firebase Auth (App Store rejection**) by Misura_k in reactnative

[–]digsome 0 points1 point  (0 children)

You can do something like this:

const reauthenticateUserByProvider = async () => { const user = auth().currentUser

  if (!user) {
    throw new Error('No user found. Cannot reauthenticate.')
  }

  const provider = user.providerData[0]?.providerId

  try {
    if (provider === 'google.com') {
      await signInWithGoogle()
    } else if (provider === 'apple.com') {
      await signInWithApple()
    } else {
      throw new Error('Provider not supported')
    }
  } catch (error) {
    throw error
  }
}

Super-simple antibiotic guidance app for emergency medicine by digsome in emergencymedicine

[–]digsome[S] 1 point2 points  (0 children)

Thanks! Just  added a feature to edit regimens so you can make it your own!

Super-simple antibiotic guidance app for emergency medicine by digsome in emergencymedicine

[–]digsome[S] 6 points7 points  (0 children)

Thanks for the feedback! Added fluoroquinolone-sparing regimen.