When to Use Mobile Apps Integration
Perfect for mobile applications:- React Native iOS/Android apps
- Flutter cross-platform apps
- Native iOS/Android apps (using REST API)
- Mobile-specific user journey tracking
- Offline-first mobile experiences
- ✅ Native mobile optimization
- ✅ Platform-specific features and performance
- ✅ Automatic device and app context
- ✅ Works offline with intelligent queueing
- ✅ Seamless cross-platform development
Quick Setup (5 minutes)
1
Get your API key
- Sign up at userboo.st
- Go to Settings → API Keys
- Copy your Client-side API key (starts with
ub_live_
)
Use the client-side API key for mobile apps, not the server-side key.
2
Choose your platform
- React Native
- Flutter
- REST API
Install the React Native SDKInitialize in your App.js
3
Track your first event
- React Native
- Flutter
- REST API
4
Verify it's working
- Go to your UserBoost dashboard
- Navigate to Events → Live Stream
- Open your mobile app and trigger some events
- Events should appear in the dashboard within 30 seconds
Use debug mode during development to see events in your mobile app’s logs.
Common Mobile Event Patterns
Track these key mobile-specific events to understand your user journey:App Lifecycle Events
- React Native
- Flutter
Screen Navigation
- React Native
- Flutter
User Interactions
- React Native
- Flutter
Mobile-Specific Features
Automatic Context Collection
Mobile SDKs automatically collect device and app context:Offline Support
Events are automatically queued when offline and sent when connection is restored:- React Native
- Flutter
Push Notifications Integration
Track push notification engagement:- React Native
- Flutter
Environment Setup
Configure your API keys for different environments:- React Native
- Flutter
Testing & Debugging
Debug Mode
Enable debug mode to see detailed logs:- React Native
- Flutter
Test Events
Send test events to verify your integration:- React Native
- Flutter
Common Issues
Events not appearing in dashboard
Events not appearing in dashboard
Check these common causes:
- Using server-side API key instead of client-side key
- Missing required
user.id
field - Network connectivity issues
- App is in background (some events may be queued)
SDK installation issues
SDK installation issues
React Native:Flutter:
Events queued but not sending
Events queued but not sending
- Check internet connectivity
- Verify API key is correct
- Force flush the queue:
UserBoost.flush()
- Check if app has background execution permissions
What’s Next?
Track Events
Learn mobile-specific event tracking patterns and best practices.
API Reference
Complete API documentation for REST integration.