A React Native mobile application that generates AI images based on text prompts. The app uses a credit-based system where users can purchase image generation credits.
- 🔐 Google OAuth authentication
- 🖼️ AI image generation from text prompts
- 💳 In-app purchases for image credits
- 📱 Modern, responsive UI
- 🔄 Infinite scroll image gallery
- 💰 Multiple credit package options:
- $1.00 for 20 images
- $3.00 for 60 images
- $5.00 for 100 images
- React Native
- TypeScript
- TanStack Query (React Query)
- Stripe for payments
- React Native App Auth
- Encrypted Storage
- Matomo Analytics
- Install dependencies:
npm install- Configure environment variables:
Create a
.envfile with the following variables:
API_URL=your_api_url
GOOGLE_OAUTH_APP_GUID=your_google_oauth_guid
MATOMO_URL=your_matomo_url
IPIFY_URL=your_ipify_url
MATOMO_TOKEN=your_matomo_token
- Run the app:
# For iOS
npm run ios
# For Android
npm run android- Sign in with your Google account
- Purchase an image credit package
- Enter a text prompt describing the image you want to generate
- View your generated images in the gallery
- Scroll through your image history
- User sessions are stored securely using Encrypted Storage
- Authentication tokens are managed securely
- Payment processing is handled through Stripe
emulator -avd Pixel_9_API_33
npm start -- --reset-cache
$env:ENVFILE=".env.prod"
npm run android
