Referral Enhancement for Flutter App

Замовник: AI | Опубліковано: 02.11.2025

In MY Flutter APP Referral Code Improvements Goals: Make referral system seamless and app-sharing more user-friendly. Tasks: Referral Code Formatting: When sharing referral code via WhatsApp, Telegram, or other social channels: The referral code text should appear underlined, clickable, and copyable. Example shared message: "Use my referral code REACH1234 to sign up and earn rewards! Download App" Tap-to-copy option next to the referral code inside the app. Referral Link Handling (Deep Link Flow): When a new user clicks the referral link: If the app is not installed, open the Google Play Store directly to the app page. After installation and first open: Automatically redirect to the registration screen. The referral code should be auto-filled in the referral field.(Firebase is used for sending SMS messages for OTP verification and referral code sharing.) Referral Flow Implementation Notes This Flutter app uses Firebase (no third-party SMS services). Since deep linking is complex in this setup, the referral system will work by having new users click a referral link, which takes them to the Play Store to download the app. After installation, when the app is first opened, the user should be redirected directly to the Sign-Up screen instead of the guest home screen. The app currently allows guest users — it requests location access and goes straight to the home screen. This flow should be bypassed for new users coming from a referral link. The app supports three login types: Manual Login OTP Login Social Login (Google / Facebook) All of these can be enabled or disabled via the Admin Panel. When a new user installs the app via a referral link, the system must automatically redirect them to the Sign-Up screen and pre-fill or copy the referral code into the input field. OTP AUTO CAPTURE while Customer login : “Customer Login via OTP – The app should automatically read the OTP from the received SMS, with the customer’s consent, similar to how modern apps handle OTP-based logins.”