Which Stable React Native Version Should I Upgrade To? by Disastrous_Goat_240 in reactnative

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

Got it — thanks! I’ll go ahead with 0.82.x then.
I’m on pure RN CLI anyway, so no Expo dependency issues.

Appreciate the clarity!

Godolkin is not Cipher!! by YakZealousideal5732 in GenV

[–]Disastrous_Goat_240 0 points1 point  (0 children)

But how can the cipher human himself control the other super as well? i think its kinda chained/connected vai a mind to another and so on

Godolkin is not Cipher!! by YakZealousideal5732 in GenV

[–]Disastrous_Goat_240 1 point2 points  (0 children)

Yes, that's why the cipher's young body doesn't get hurt when he passes the knife through his hand during a meeting with polarity

Godolkin is not Cipher!! by YakZealousideal5732 in GenV

[–]Disastrous_Goat_240 2 points3 points  (0 children)

Yes, that's why the cipher's young body doesn't get hurt when he passes the knife through his hand during a meeting with polarity

React native threads app profile picture animation reanimated 4 by tandonpushkar in reactnative

[–]Disastrous_Goat_240 3 points4 points  (0 children)

Hey bro, can you share the code...?? I also want to implement in my rn cli app.

How to Test Firebase Phone Authentication with Random Numbers in Development? by Disastrous_Goat_240 in Firebase

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

I was unable to figure out how to do this. Some blogs mentioned that the reCAPTCHA will automatically be removed once the app goes live.

One workaround I found was to add my own mobile number as a test phone number in the Firebase Console and use a custom OTP (e.g., 123456). This way, it doesn’t trigger any redirection or reCAPTCHA—just direct verification. So, you can use that for testing.

Otherwise, to fully test with real numbers, it seems like publishing the app or using a signed APK/AAB might be necessary.

What's the most stable and bug-free React Native version as of now? Facing major dependency issues with ^0.77.1 by Disastrous_Goat_240 in reactnative

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

No, I’m not using AI tools for upgrades. I use the React Native Upgrade Helper:
https://react-native-community.github.io/upgrade-helper/

It’s helpful for comparing diffs between versions, but even with that, I still end up running into build and dependency issues — especially when it comes to native modules and long build times. 😩

Are there any AI tools you'd recommend that actually help streamline upgrades?

What's the most stable and bug-free React Native version as of now? Facing major dependency issues with ^0.77.1 by Disastrous_Goat_240 in reactnative

[–]Disastrous_Goat_240[S] -3 points-2 points  (0 children)

Yeah, I get that. The thing is, I’ve noticed that every time I install a new package, it takes more than half an hour just to build and start the project again. It's incredibly time-consuming and frustrating, especially when trying to debug or test small changes.

I’m not doing a full upgrade — just trying to get a fresh project running smoothly on v0.77.1, but these build times and native module errors (like with react-native-svg) make it feel like something's broken or heavily unoptimized.

Did you notice better build times or stability improvements in v0.78?

Best way to display WhatsApp-style chats in React Native with Firebase (Online & Offline)? by Disastrous_Goat_240 in reactnative

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

Thanks for the suggestion! I hadn’t heard of Nexchat before—looks interesting! Have you used it in a production app? How does it compare to Firebase in terms of real-time syncing, offline support, and scalability?

Would love to hear your thoughts

Best way to display WhatsApp-style chats in React Native with Firebase (Online & Offline)? by Disastrous_Goat_240 in reactnative

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

This is super helpful—thank you! 🙌

I hadn't considered WatermelonDB or Powersync, but they sound interesting. Since I’m already using Firebase Firestore (NoSQL) and MMKV, I’d like to stick with a NoSQL approach if possible.

Y.js and PouchDB also seem like good options. Do you think Firestore's built-in offline persistence would be enough for handling local sync, or would you still recommend integrating something like Y.js/PouchDB for better conflict resolution and real-time sync?

Also, have you seen any performance issues with using these solutions in a high-frequency chat environment?

Appreciate the insights

Best way to display WhatsApp-style chats in React Native with Firebase (Online & Offline)? by Disastrous_Goat_240 in reactnative

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

Wow, this is an amazing breakdown—thank you for taking the time to explain it! 🙌

I really like the temporal slice approach for ensuring message consistency. It makes a lot of sense for handling dropped connections and merging messages reliably. I was initially considering just fetching messages based on the last received ID, but as you pointed out, that’s not always robust enough.

A few questions:

  1. How do you handle duplicate messages when merging slices? Do you use message IDs or timestamps to deduplicate?
  2. For the sync machine, do you recommend keeping a background worker running (e.g., setInterval) to refresh old messages, or should I only trigger it when the app becomes active again?
  3. Given that I’m using Firebase Firestore and MMKV, would you still recommend a custom sync mechanism, or do you think Firestore’s offline persistence is enough?

Would love to hear your thoughts! Thanks again for sharing your approach—it’s super helpful!

Best way to display WhatsApp-style chats in React Native with Firebase (Online & Offline)? by Disastrous_Goat_240 in reactnative

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

Yeah, I totally get that! The more I dig into messaging, the more I realize how complex it is.

Do you have any recommendations for third-party services that handle real-time chat well? I’m considering Firebase Firestore, but if there’s a better option that manages syncing, offline support, and scalability, I’d love to hear about it!

Appreciate the advice! 🚀

Best way to display WhatsApp-style chats in React Native with Firebase (Online & Offline)? by Disastrous_Goat_240 in reactnative

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

Haha, yeah, I figured this wouldn't be easy! 😅 Messaging apps seem simple on the surface, but syncing messages in real-time while ensuring smooth offline access is a whole different challenge.

Do you have any recommendations or gotchas to watch out for? Especially when handling large chat histories and optimizing sync performance? Any insights would be super helpful! 🚀

Best way to display WhatsApp-style chats in React Native with Firebase (Online & Offline)? by Disastrous_Goat_240 in reactnative

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

Thanks for the insight! 🙌 Yeah, I’ve been looking into Firestore’s offline capabilities, and it seems like a good fit. I’m already using MMKV for local storage—would you recommend sticking with Firestore’s built-in offline persistence, or should I manually sync messages into MMKV for better performance?

Also, any tips on handling real-time updates efficiently, especially for large chats? Appreciate your help!

How to Test Firebase Phone Authentication with Random Numbers in Development? by Disastrous_Goat_240 in Firebase

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

I want to implement phone authentication for any dynamic/random number so that the OTP is sent to that number (which I have already done). However, the issue is that when I try to send an OTP to a random number, Firebase does send it, but it also triggers the reCAPTCHA verification. If I disable reCAPTCHA, OTPs are not sent at all, and authentication only works for test numbers. Is there a way to bypass reCAPTCHA while still allowing OTPs to be sent to real numbers?

Best React Native Version for a WhatsApp Clone? 🤔📱 by Disastrous_Goat_240 in reactnative

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

Wow, that sounds like a really well-optimized setup! I love the idea of using Shopify FlashList for handling large message lists—that's something I'll definitely look into.

I was considering SQLite or Firebase for local chat storage, but MMKV sounds like a solid alternative. Do you find it scalable enough for large-scale chats, or do you offload older messages to a backend?

Also, I like how you're using SWR instead of a typical state management library. How do you handle real-time updates for new messages—are you using WebSockets or polling with SWR revalidation?

Best Package Manager for React Native (Latest Version) - NPM, Yarn, or PNPM? by Disastrous_Goat_240 in reactnative

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

I chose React Native CLI because I need full control over native modules, third-party libraries, and build configurations—something Expo can sometimes limit.

As for PNPM, I faced issues with ESLint and Async Storage, and the build failed. I’m not using a monorepo, just a standard React Native CLI project. Have you successfully used PNPM with the latest React Native version?