Files
Folo/apps/mobile
DIYgodandClaude e7c8380647 fix(mobile): prevent incorrect read marking during pull-to-refresh
The entry list was incorrectly marking entries as read during pull-to-refresh
operations. This happened because when the refresh control rebounds from
negative contentOffset back to 0, the scroll direction is detected as "down"
causing entries to be mistakenly marked as read.

The fix adds a condition to only mark entries as read when:
1. Scroll direction is down (user swiping up)
2. Current offset is greater than 0 (not at the top or rebounding)

This ensures entries are only marked as read during genuine upward scrolling,
not during pull-to-refresh rebounds.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-14 19:37:00 +08:00
..
2025-03-05 21:02:57 +08:00
2025-07-11 21:31:35 +08:00
2025-03-10 18:40:04 +08:00
2025-01-20 22:02:39 +08:00
2025-07-03 15:12:18 +08:00

Folo Mobile App 📱

This is the mobile client for Folo, built with Expo. Folo organizes content into one timeline, keeping you updated on what matters, noise-free.

Features

  • Customized information hub for content discovery
  • AI-powered features like translation and summary
  • Dynamic content support (articles, videos, images, audio)
  • $POWER integration for creator economy
  • Cross-platform support (iOS & Android [WIP])
  • Modern UI design with native feel

Getting Started

  1. Enable Corepack (if not already enabled)

    corepack enable
    
  2. Install dependencies

    pnpm install
    
  3. Start the development server

    pnpm run dev
    

You can run the app on:

  • iOS Simulator (pnpm run ios)
  • iOS Device (pnpm run ios:device)
  • Android Emulator (pnpm run android)
  • Development build for full native feature testing

Project Structure

src/
├── modules/         # Feature-specific modules
│   ├── discover/    # Discovery feed features
│   └── ...
├── screens/         # App screens using file-based routing
└── ...

Development

  • Built with Expo SDK [>=52]
  • Uses Expo Router for navigation
  • Styling with NativeWind
  • State management with Jotai and Zustand
  • API integration with Tanstack Query
  • Full TypeScript support

Useful Resources

Need Help?

  • Join our Discord
  • Follow us on Twitter
  • Contact the mobile development team

License

This project is licensed under the GNU General Public License version 3. See the main project repository for full license details.