* feat(mobile): implement custom tab bar and item pressable components on android native
Adds native Android implementations for custom UI components previously available on iOS:
- **Custom Tab Bar:**
- Implements `TabBarRootView` using `ViewPager2` and a custom `CustomTabBarView` (LinearLayout) to host RN-rendered tab items (`TabBarPortalView`).
- Provides `TabScreenView` as a container for page content within Fragments managed by `TabBarPagerAdapter`.
- Includes `TabBarModule`, `TabScreenModule`, and `TabBarPortalModule` for Expo autolinking and JS bridging (props: `selectedIndex`, event: `onTabIndexChange`, function: `switchTab`).
- This approach mirrors the iOS version by avoiding the native `TabLayout` and allowing full customization of the tab bar via React Native components.
- **Item Pressable:**
- Implements `ItemPressableView` extending `ExpoView`.
* Provides native touch feedback using Android's foreground ripple (`selectableItemBackground`) by default.
* Includes a prop `touchHighlight` to enable/disable feedback.
* Fires `onItemPress` event on click/tap.
* Includes `ItemPressableModule` for Expo integration.
* fix(mobile): Adjust content view `padding` to prevent overlap with Bottom Bar
* feat(mobile): implement native tab bar components and improve tab switching logic
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
-
Enable Corepack (if not already enabled)
corepack enable -
Install dependencies
pnpm install -
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?
License
This project is licensed under the GNU General Public License version 3. See the main project repository for full license details.