Latest
Firebase App Development
Firebase Development This document provides comprehensive guidelines for firebase development development and best practices. Firestore Database Document-based Document-based data modeling Implement proper document-based data modeling Follow best practices for optimal results Collection Collection and subcollection design Implement proper collection and subcollection design Follow best practices for optimal results Real-time Real-time listeners and updates Implement proper real-time listeners and updates Follow best practices for optimal results Offline Offline data synchronization Implement proper offline data synchronization Follow best practices for optimal results Security Security rules implementation Implement proper security rules implementation Follow best practices for optimal results Cloud Functions HTTP HTTP triggered functions Implement proper http triggered functions Follow best practices for optimal results Database Database triggered functions Implement proper database triggered functions Follow best practices for optimal results Authentication Authentication triggered functions Implement proper authentication triggered functions Follow best practices for optimal results Storage Storage triggered functions Implement proper storage triggered functions Follow best practices for optimal results Scheduled Scheduled functions with Cloud Scheduler Implement proper scheduled functions with cloud scheduler Follow best practices for optimal results Storage Management Cloud Cloud Storage for file uploads Implement proper cloud storage for file uploads Follow best practices for optimal results Image Image and video optimization Implement proper image and video optimization Follow best practices for optimal results Metadata Metadata management Implement proper metadata management Follow best practices for optimal results Access Access control and security Implement proper access control and security Follow best practices for optimal results CDN CDN integration Implement proper cdn integration Follow best practices for optimal results Mobile Integration React React Native Firebase integration Implement proper react native firebase integration Follow best practices for optimal results Flutter Flutter Firebase plugins Implement proper flutter firebase plugins Follow best practices for optimal results Native Native iOS and Android SDKs Implement proper native ios and android sdks Follow best practices for optimal results Push Push notifications Implement proper push notifications Follow best practices for optimal results App App distribution Implement proper app distribution Follow best practices for optimal results Performance Optimization Query Query optimization strategies Implement proper query optimization strategies Follow best practices for optimal results Data Data structure design Implement proper data structure design Follow best practices for optimal results Bandwidth Bandwidth usage reduction Implement proper bandwidth usage reduction Follow best practices for optimal results Offline Offline capabilities Implement proper offline capabilities Follow best practices for optimal results Caching Caching strategies Implement proper caching strategies Follow best practices for optimal results Push Notifications Firebase Firebase Cloud Messaging (FCM) Implement proper firebase cloud messaging (fcm) Follow best practices for optimal results Notification Notification targeting and segmentation Implement proper notification targeting and segmentation Follow best practices for optimal results Custom Custom notification handling Implement proper custom notification handling Follow best practices for optimal results Rich Rich media notifications Implement proper rich media notifications Follow best practices for optimal results Analytics Analytics and engagement Implement proper analytics and engagement Follow best practices for optimal results Extensions & Integration Firebase Firebase Extensions marketplace Implement proper firebase extensions marketplace Follow best practices for optimal results Third-party Third-party service integration Implement proper third-party service integration Follow best practices for optimal results Webhook Webhook implementation Implement proper webhook implementation Follow best practices for optimal results API API integration patterns Implement proper api integration patterns Follow best practices for optimal results Data Data export and import Implement proper data export and import Follow best practices for optimal results Advanced Features Machine Machine learning integration Implement proper machine learning integration Follow best practices for optimal results A/B A/B testing with Remote Config Implement proper a/b testing with remote config Follow best practices for optimal results Dynamic Dynamic Links for deep linking Implement proper dynamic links for deep linking Follow best practices for optimal results App App Indexing for search Implement proper app indexing for search Follow best practices for optimal results Custom Custom domain configuration Implement proper custom domain configuration Follow best practices for optimal results Summary Checklist [ ] Core principles implemented [ ] Best practices followed [ ] Performance optimized [ ] Security measures in place [ ] Testing strategy implemented [ ] Documentation completed [ ] Monitoring configured [ ] Production deployment ready Follow these comprehensive guidelines for successful firebase development implementation.
Flutter & Dart Development
Flutter Dart This document provides comprehensive guidelines for flutter dart development and best practices. Widget Development StatelessWidget StatelessWidget for immutable UI Implement proper statelesswidget for immutable ui Follow best practices for optimal results StatefulWidget StatefulWidget for dynamic UI Implement proper statefulwidget for dynamic ui Follow best practices for optimal results Use Use const constructors for performance Implement proper use const constructors for performance Follow best practices for optimal results Implement Implement proper widget composition Implement proper implement proper widget composition Follow best practices for optimal results Custom Custom widgets for reusability Implement proper custom widgets for reusability Follow best practices for optimal results UI Development Material Material Design with Material widgets Implement proper material design with material widgets Follow best practices for optimal results Cupertino Cupertino for iOS-style design Implement proper cupertino for ios-style design Follow best practices for optimal results Custom Custom themes and theming Implement proper custom themes and theming Follow best practices for optimal results Responsive Responsive design with MediaQuery Implement proper responsive design with mediaquery Follow best practices for optimal results Accessibility Accessibility implementation Implement proper accessibility implementation Follow best practices for optimal results Platform Integration Platform Platform channels for native code Implement proper platform channels for native code Follow best practices for optimal results Method Method channels for two-way communication Implement proper method channels for two-way communication Follow best practices for optimal results Event Event channels for streaming data Implement proper event channels for streaming data Follow best practices for optimal results Plugin Plugin development Implement proper plugin development Follow best practices for optimal results Platform-specific Platform-specific implementations Implement proper platform-specific implementations Follow best practices for optimal results Testing Unit Unit testing with test package Implement proper unit testing with test package Follow best practices for optimal results Widget Widget testing for UI components Implement proper widget testing for ui components Follow best practices for optimal results Integration Integration testing for full flows Implement proper integration testing for full flows Follow best practices for optimal results Golden Golden tests for UI consistency Implement proper golden tests for ui consistency Follow best practices for optimal results Mockito Mockito for mocking dependencies Implement proper mockito for mocking dependencies Follow best practices for optimal results Summary Checklist [ ] Core principles implemented [ ] Best practices followed [ ] Performance optimized [ ] Security measures in place [ ] Testing strategy implemented [ ] Documentation completed [ ] Monitoring configured [ ] Production deployment ready Follow these comprehensive guidelines for successful flutter dart implementation.
iOS Development with Swift
Ios Swift This document provides comprehensive guidelines for ios swift development and best practices. UIKit Development View View controllers and navigation Implement proper view controllers and navigation Follow best practices for optimal results Auto Auto Layout for responsive design Implement proper auto layout for responsive design Follow best practices for optimal results Table Table views and collection views Implement proper table views and collection views Follow best practices for optimal results Custom Custom view creation Implement proper custom view creation Follow best practices for optimal results Gesture Gesture recognizers and touch handling Implement proper gesture recognizers and touch handling Follow best practices for optimal results App Architecture MVC MVC (Model-View-Controller) pattern Implement proper mvc (model-view-controller) pattern Follow best practices for optimal results MVVM MVVM with data binding Implement proper mvvm with data binding Follow best practices for optimal results Coordinator Coordinator pattern for navigation Implement proper coordinator pattern for navigation Follow best practices for optimal results Repository Repository pattern for data access Implement proper repository pattern for data access Follow best practices for optimal results Dependency Dependency injection patterns Implement proper dependency injection patterns Follow best practices for optimal results Networking URLSession URLSession for HTTP requests Implement proper urlsession for http requests Follow best practices for optimal results JSON JSON parsing with Codable Implement proper json parsing with codable Follow best practices for optimal results Image Image loading and caching Implement proper image loading and caching Follow best practices for optimal results WebSocket WebSocket connections Implement proper websocket connections Follow best practices for optimal results Network Network monitoring and reachability Implement proper network monitoring and reachability Follow best practices for optimal results Performance Optimization Memory Memory profiling with Instruments Implement proper memory profiling with instruments Follow best practices for optimal results CPU CPU usage optimization Implement proper cpu usage optimization Follow best practices for optimal results Image Image optimization and caching Implement proper image optimization and caching Follow best practices for optimal results Battery Battery usage considerations Implement proper battery usage considerations Follow best practices for optimal results Launch Launch time optimization Implement proper launch time optimization Follow best practices for optimal results App Store Guidelines Human Human Interface Guidelines compliance Implement proper human interface guidelines compliance Follow best practices for optimal results App App Store review process Implement proper app store review process Follow best practices for optimal results Privacy Privacy and security requirements Implement proper privacy and security requirements Follow best practices for optimal results Accessibility Accessibility implementation Implement proper accessibility implementation Follow best practices for optimal results Internationalization Internationalization and localization Implement proper internationalization and localization Follow best practices for optimal results Advanced Features Core Core Animation for custom animations Implement proper core animation for custom animations Follow best practices for optimal results Metal Metal for graphics programming Implement proper metal for graphics programming Follow best practices for optimal results Core Core ML for machine learning Implement proper core ml for machine learning Follow best practices for optimal results ARKit ARKit for augmented reality Implement proper arkit for augmented reality Follow best practices for optimal results Combine Combine for reactive programming Implement proper combine for reactive programming Follow best practices for optimal results Summary Checklist [ ] Core principles implemented [ ] Best practices followed [ ] Performance optimized [ ] Security measures in place [ ] Testing strategy implemented [ ] Documentation completed [ ] Monitoring configured [ ] Production deployment ready Follow these comprehensive guidelines for successful ios swift implementation.
React Native with Expo
React Native Expo This document provides comprehensive guidelines for react native expo development and best practices. Component Development Use Use functional components with hooks Implement proper use functional components with hooks Follow best practices for optimal results Implement Implement responsive design with Dimensions API Implement proper implement responsive design with dimensions api Follow best practices for optimal results Handle Handle keyboard avoiding views properly Implement proper handle keyboard avoiding views properly Follow best practices for optimal results Use Use FlatList for performance with large lists Implement proper use flatlist for performance with large lists Follow best practices for optimal results Implement Implement proper image handling with expo-image Implement proper implement proper image handling with expo-image Follow best practices for optimal results Performance Optimization Optimize Optimize images and assets Implement proper optimize images and assets Follow best practices for optimal results Use Use lazy loading for screens Implement proper use lazy loading for screens Follow best practices for optimal results Implement Implement proper memory management Implement proper implement proper memory management Follow best practices for optimal results Bundle Bundle splitting with code splitting Implement proper bundle splitting with code splitting Follow best practices for optimal results Performance Performance monitoring with Flipper Implement proper performance monitoring with flipper Follow best practices for optimal results State Management Context Context API for simple state Implement proper context api for simple state Follow best practices for optimal results Redux Redux Toolkit for complex state Implement proper redux toolkit for complex state Follow best practices for optimal results Async Async storage for persistence Implement proper async storage for persistence Follow best practices for optimal results Secure Secure storage for sensitive data Implement proper secure storage for sensitive data Follow best practices for optimal results Cache Cache management strategies Implement proper cache management strategies Follow best practices for optimal results Summary Checklist [ ] Core principles implemented [ ] Best practices followed [ ] Performance optimized [ ] Security measures in place [ ] Testing strategy implemented [ ] Documentation completed [ ] Monitoring configured [ ] Production deployment ready Follow these comprehensive guidelines for successful react native expo implementation.
Android Kotlin Development
Android Kotlin Development Best Practices Project Structure & Architecture Implement clean architecture with proper separation of concerns. Jetpack Compose UI Development Build modern Android UIs with Jetpack Compose. ViewModel & State Management Implement proper state management with ViewModel and StateFlow. Network & Data Management Implement robust networking with Retrofit and Room database. Dependency Injection with Hilt Configure dependency injection for scalable architecture. Testing Strategies Implement comprehensive testing with unit tests and UI tests. Security & Permissions Implement security best practices and handle permissions properly. Performance Optimization Optimize app performance and memory usage. Navigation & Deep Linking Implement navigation with Navigation Component and handle deep links. App Distribution & Monitoring Prepare your app for distribution and implement monitoring. Checklist [ ] Implement clean architecture with proper separation of concerns [ ] Use Jetpack Compose for modern UI development [ ] Configure proper dependency injection with Hilt [ ] Implement robust networking with Retrofit and caching with Room [ ] Use ViewModels and StateFlow for state management [ ] Write comprehensive unit tests and UI tests [ ] Handle permissions and implement security best practices [ ] Optimize performance with proper image loading and background processing [ ] Set up navigation and deep link handling [ ] Configure build variants and signing for different environments [ ] Implement crash reporting and analytics [ ] Follow Material Design guidelines and accessibility best practices [ ] Handle different screen sizes and orientations [ ] Use WorkManager for background tasks [ ] Implement proper error handling and user feedback
Kotlin Android Development with Jetpack Compose
Kotlin Android Development with Jetpack Compose Project Setup and Architecture Modern Android Project Structure Gradle Configuration (Module Level) Jetpack Compose UI Components Reusable Composables Custom Modifiers and Extensions MVVM Architecture with StateFlow Base ViewModel Room Database Integration Database Setup Repository Pattern and Data Layer Repository Implementation Dependency Injection with Hilt Hilt Setup Navigation with Jetpack Compose Navigation Setup Checklist for Kotlin Android Development [ ] Set up modern Android project structure with proper modularization [ ] Configure Gradle with latest dependencies and build optimization [ ] Implement MVVM architecture with StateFlow and Compose [ ] Create reusable Compose components and custom modifiers [ ] Set up Room database with proper entities and DAOs [ ] Implement repository pattern with offline-first approach [ ] Configure Hilt for dependency injection [ ] Set up navigation with Jetpack Compose Navigation [ ] Add proper error handling and loading states [ ] Implement data mapping between layers [ ] Add comprehensive unit and UI tests [ ] Configure ProGuard/R8 for release builds [ ] Implement proper network error handling and retry logic [ ] Add accessibility support and proper content descriptions
QR Code Generation & Processing
Qr Code Generation This document provides comprehensive guidelines for qr code generation development and best practices. Generation Libraries qrcode.js qrcode.js for JavaScript applications Implement proper qrcode.js for javascript applications Follow best practices for optimal results qrcode qrcode Python library for backend Implement proper qrcode python library for backend Follow best practices for optimal results ZXing ZXing for Java applications Implement proper zxing for java applications Follow best practices for optimal results qr-code-generator qr-code-generator for cross-platform Implement proper qr-code-generator for cross-platform Follow best practices for optimal results Native Native mobile SDK integration Implement proper native mobile sdk integration Follow best practices for optimal results Data Encoding Text Text and URL encoding Implement proper text and url encoding Follow best practices for optimal results Contact Contact information (vCard) Implement proper contact information (vcard) Follow best practices for optimal results WiFi WiFi credentials encoding Implement proper wifi credentials encoding Follow best practices for optimal results Email Email and SMS message encoding Implement proper email and sms message encoding Follow best practices for optimal results Geographic Geographic coordinates Implement proper geographic coordinates Follow best practices for optimal results Mobile Integration Camera-based Camera-based QR scanning Implement proper camera-based qr scanning Follow best practices for optimal results Gallery Gallery image processing Implement proper gallery image processing Follow best practices for optimal results React React Native QR implementation Implement proper react native qr implementation Follow best practices for optimal results Flutter Flutter QR code widgets Implement proper flutter qr code widgets Follow best practices for optimal results Native Native iOS and Android integration Implement proper native ios and android integration Follow best practices for optimal results Advanced Features Dynamic Dynamic QR codes with tracking Implement proper dynamic qr codes with tracking Follow best practices for optimal results Multi-format Multi-format data encoding Implement proper multi-format data encoding Follow best practices for optimal results Batch Batch processing optimization Implement proper batch processing optimization Follow best practices for optimal results Error Error handling and validation Implement proper error handling and validation Follow best practices for optimal results Performance Performance optimization Implement proper performance optimization Follow best practices for optimal results Use Cases Payment Payment processing integration Implement proper payment processing integration Follow best practices for optimal results Event Event ticketing systems Implement proper event ticketing systems Follow best practices for optimal results Product Product authentication Implement proper product authentication Follow best practices for optimal results Marketing Marketing campaign tracking Implement proper marketing campaign tracking Follow best practices for optimal results Inventory Inventory management Implement proper inventory management Follow best practices for optimal results Testing & Validation QR QR code readability testing Implement proper qr code readability testing Follow best practices for optimal results Cross-device Cross-device compatibility Implement proper cross-device compatibility Follow best practices for optimal results Error Error correction verification Implement proper error correction verification Follow best practices for optimal results Performance Performance benchmarking Implement proper performance benchmarking Follow best practices for optimal results User User experience testing Implement proper user experience testing Follow best practices for optimal results Integration Patterns REST REST API development Implement proper rest api development Follow best practices for optimal results Webhook Webhook integration Implement proper webhook integration Follow best practices for optimal results Third-party Third-party service integration Implement proper third-party service integration Follow best practices for optimal results Database Database storage strategies Implement proper database storage strategies Follow best practices for optimal results Cloud Cloud service deployment Implement proper cloud service deployment Follow best practices for optimal results Summary Checklist [ ] Core principles implemented [ ] Best practices followed [ ] Performance optimized [ ] Security measures in place [ ] Testing strategy implemented [ ] Documentation completed [ ] Monitoring configured [ ] Production deployment ready Follow these comprehensive guidelines for successful qr code generation implementation.
Swift iOS Development with SwiftUI and UIKit
Swift iOS Development with SwiftUI and UIKit Project Setup and Architecture Modern iOS Project Structure SwiftUI App Structure with MVVM SwiftUI Views and Components Reusable SwiftUI Components Advanced SwiftUI Patterns MVVM Architecture with Combine Observable ViewModel Base Class Service Layer with Combine Core Data Integration Core Data Stack Setup UIKit Integration with SwiftUI UIViewRepresentable for Custom UIKit Components Testing Strategies Unit Testing ViewModels SwiftUI View Testing Performance Optimization Memory Management and Performance Checklist for Swift iOS Development [ ] Set up proper MVVM architecture with SwiftUI [ ] Implement reusable SwiftUI components and modifiers [ ] Create comprehensive ViewModels with Combine [ ] Set up Core Data stack with repository pattern [ ] Integrate UIKit components when needed with UIViewRepresentable [ ] Implement proper error handling and user feedback [ ] Add comprehensive unit and UI tests [ ] Optimize performance with lazy loading and caching [ ] Follow iOS design guidelines and accessibility standards [ ] Implement proper navigation and state management [ ] Add logging and analytics integration [ ] Configure proper networking with error handling [ ] Implement offline capabilities and data persistence [ ] Add proper app lifecycle management
Browse Cursor Rules - Cursor IDE Community Prompts & Configurations