I need an Android application that automatically captures every incoming SMS on the device, forwards the full content (including sender and timestamp) to a single pre-defined mobile number, and simultaneously writes the same data into Firebase Realtime Database. Configuration for the destination phone number and Firebase credentials can sit behind a simple settings screen; apart from that, the app may run quietly in the background, so a minimalist interface is fine. The core workflow I am after is: receive SMS → forward to number X → push to Firebase. Reliability is crucial, even when the device restarts or the network momentarily drops, so please include the usual foreground-service or equivalent approach to keep the listener alive under modern Android restrictions. If you already have ideas for extras—searching stored messages, push notifications on new entries, or keyword-based filters—I’m open to hearing them, but the forwarding and real-time database logging are the must-have items. Please deliver a signed APK for quick testing, complete Android Studio project with well-commented code, and brief setup notes covering any Firebase rules or permissions I need to set.