Documentation

Tooly AI v1.0.0

A Flutter AI toolkit for Android and iOS with a complete Firebase-only backend: Firebase Authentication, Cloud Firestore and Cloud Functions. No separate server is required.

Tooly AI contains 21 tools: AI chat, translator, code/email/script/social-post/hashtag/CV generators, image generation, AI math solver, grammar fixer, image/PDF/audio/video/website analysis, PDF compression, PDF maker, document-to-PDF conversion, password generator and private notes. Features are paid for with an in-app coin balance.

Architecture in one sentence: the app never contains an AI key or credits coins itself. Every AI request, coin change, purchase verification and account deletion is performed by Cloud Functions (functions/), protected by Firestore security rules (firestore.rules).

LayerTechnologyWhere
Mobile appFlutter, BLoC, GetItlib/
AuthenticationFirebase Auth (Google, Email/Password)lib/services/firebase_service.dart
DatabaseCloud Firestore + security rulesfirestore.rules
Backend logicCloud Functions for Firebase (Node.js 22)functions/index.js
AI modelsGoogle Gemini, OpenAI, xAI Grok (called only from Cloud Functions)functions/config.js
PurchasesGoogle Play Billing / StoreKit, verified server-sidelib/services/purchases_service.dart

Requirements

Versions below match pubspec.yaml, android/app/build.gradle and functions/package.json.

ToolVersionNotes
Flutter SDK>=3.38.1 (tested with 3.47)flutter: '>=3.38.1' in pubspec.yaml
Dart SDK>=3.11.0 <4.0.0Bundled with Flutter
Java17Android Gradle
AndroidcompileSdk 36, targetSdk 36, minSdk 24Declared explicitly in android/app/build.gradle
iOSDeployment target 15.0, Xcode 15+CocoaPods required (macOS only)
Node.js22Only to deploy Cloud Functions
Firebase CLIlatest (npm i -g firebase-tools)Deploy rules & functions
Firebase planBlaze (pay-as-you-go)Required by Cloud Functions (free quota included)

Dependency usage

Every package in pubspec.yaml is used by the app. Key ones: firebase_core / firebase_auth / cloud_firestore / cloud_functions / firebase_app_check (backend), google_sign_in, in_app_purchase + in_app_purchase_android, google_mobile_ads, pdf + pdfx (PDF Maker, Compress PDF), archive (DOCX text extraction), file_picker, image_picker, share_plus, flutter_bloc, get_it. The app is mobile only (Android & iOS): desktop and web folders are not included. pointycastle is not a dependency of this project (it is absent from pubspec.yaml and pubspec.lock), and no license-validation, purchase-code check or revenue-routing logic exists in the app or the Cloud Functions. Purchases are verified only against the Google Play / App Store APIs using your own credentials.

Setup Checklist

Follow these steps in order. Each step links to its detailed section. A first complete setup takes about 1-2 hours.

#StepWhere
1Install Flutter, Java 17, Android Studio / Xcode, Node.js 22 and the Firebase CLI (npm i -g firebase-tools)Requirements
2Rename the package / bundle ID, app name and icon (do this before registering apps in Firebase)Package Name, App Name, App Icon
3Create the Firebase project (Blaze plan), enable Google + Email/Password sign-in, create FirestoreFirebase Setup
4Register the Android and iOS apps, add SHA-1/SHA-256, download google-services.json and GoogleService-Info.plist, set the Google Sign-In URL schemeFirebase Setup
5Deploy Firestore rules and indexesFirestore Rules
6Get AI keys, store them as secrets, create functions/.env.<project-id> (with your package / bundle IDs), run npm install in functions/, deploy Cloud FunctionsCloud Functions
7Run the app: flutter pub get, flutter run (iOS: pod install first)Quick Start
8Sign in with Google (or continue as guest) and test every tool, image generation, account deletion and reportingDemo Account
9AdMob: replace test IDs; In-App Purchases: create the 5 products, connect Play / App Store verificationAdMob, In-App Purchases
10Enable App Check, set billing budgets and alertsApp Check, Costs
11Release signing, privacy policy, store forms, uploadRelease Signing, Submission

Quick Start

1

Create and configure your Firebase project first - see Firebase Setup.

2

Copy your own Firebase config files into the project (they are git-ignored; templates are provided):

  • android/app/google-services.json (template: google-services.json.example)
  • ios/Runner/GoogleService-Info.plist (template: GoogleService-Info.plist.example)
3

Install dependencies and run:

Terminal
flutter pub get
flutter run
4

iOS only (on a Mac) - generate the CocoaPods lock file and pods, then open the workspace:

Terminal
cd ios
pod install --repo-update
cd ..
open ios/Runner.xcworkspace

In Xcode select your own Team under Signing & Capabilities (the project ships with no team ID) and enable the In-App Purchase and App Attest capabilities.

The Android build fails with "File google-services.json is missing" until you add your own file. This is intentional: the project ships without any personal Firebase configuration.

Demo Account

No demo email or password is required. Testers can try the app in two ways from the Welcome screen:

  • Continue as a guest - on-device tools (PDF Maker, Compress PDF, Document to PDF, Password Generator).
  • Sign in with Google - any Google account; unlocks all AI tools, image generation, coins, notes, reporting and account deletion.

On first Google sign-in the backend creates the wallet with 20 free coins. To give a test user more coins, edit users/<uid>.coins in the Firestore console (only the Firebase console / Admin SDK can change coins). AI tools require a signed-in user, so use Google sign-in to test them.

Screenshots

Main screens of the app (files in Documentation/screenshots/). The screenshots were captured from the real app running as a guest. Screens that need a signed-in user or a Google Play / App Store product list (coin store, AI results) cannot be shown without your own Firebase and store setup; the Coin Economy section describes them step by step.

Onboarding
Onboarding
Sign-in (Google, e-mail, guest)
Sign-in (Google, e-mail, guest)
Home
Home
All tools (21)
All tools (21)
AI Chat (Ask Anything)
AI Chat (Ask Anything)
Translator
Translator
Image generator
Image generator
E-mail writer
E-mail writer
Social media posts & hashtags
Social media posts & hashtags
Script writer
Script writer
Code Generator
Code Generator
AI Grammar Fixer
AI Grammar Fixer
Password generator
Password generator
AI Math Solver
AI Math Solver
PDF Summarizer
PDF Summarizer
PDF to Text
PDF to Text
Website Summarizer
Website Summarizer
Personal advice
Personal advice
Personal notes
Personal notes
Menu: coin balance, Refer & Earn, free coins
Menu: coin balance, Refer & Earn, free coins
Language switch (15 languages)
Language switch (15 languages)

Firebase Setup

All backend features use Firebase only. Follow these steps once.

1

Create a project at console.firebase.google.com and upgrade it to the Blaze plan (needed for Cloud Functions; the free quota covers development and small apps).

2

Authentication → Sign-in method: enable Google (select a project support e-mail when asked) and Email/Password.

3

Add the Android app with your package name (default com.vertexstation.toolyai), add your SHA-1 and SHA-256 fingerprints (debug and release, and the Play App Signing key from Play Console → App integrity), download google-services.json to android/app/.

Debug fingerprints (the debug keystore is created by Android Studio / your first Android build):

Terminal
keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android

Release fingerprints: run the same command on your upload keystore (see Release Signing).

4

Add the iOS app with your bundle ID, download GoogleService-Info.plist to ios/Runner/ (add it to the Runner target in Xcode) and copy its REVERSED_CLIENT_ID into the CFBundleURLSchemes entry of ios/Runner/Info.plist (this is the Google Sign-In URL scheme).

5

Firestore Database: create a database in production mode. Choose a location close to your users (it cannot be changed later). The required indexes are deployed from firestore.indexes.json.

6

Log in and select your project in the project root:

Terminal
firebase login
firebase use --add
7

Deploy the security rules and indexes:

Terminal
firebase deploy --only firestore
8

Deploy the Cloud Functions - see Cloud Functions & AI Providers.

Firestore data model

CollectionWritten byContent
users/{uid}Cloud Functions onlyprofile, coins, totals, referralCode, hasPurchasedPlan, daily-bonus / rate-limit counters
users/{uid}/notes/{id}Owner (app)Personal Notes (validated by rules)
transactions/{id}Cloud Functions onlycoin ledger entries (read-only for the owner)
imageCharges/{id}Cloud Functions onlyimage generation charges (prompt URLs, refund state)
purchases/{orderId}Cloud Functions onlyverified store orders (prevents receipt replay)
reports/{id}Owner (create-only)user reports of AI content

App Check (recommended)

Firebase App Check makes sure only your genuine app can call your functions. In Firebase console → App Check register Play Integrity (Android, needs your SHA-256 and the app linked in Play Console) and App Attest / DeviceCheck (iOS - also add the App Attest capability to the Runner target in Xcode). During development run the app once, copy the debug token from the log and add it under Manage debug tokens. When ready, enforce it by setting the function parameter ENFORCE_APP_CHECK=true and redeploying.

Cloud Functions & AI Providers

All server code is in functions/. Provider API keys are stored in Firebase Secret Manager and exist nowhere in the app. Only three providers are supported: Google Gemini, OpenAI and xAI Grok.

1

Install dependencies:

Terminal
cd functions
npm install
cd ..
2

Store your provider keys as secrets. Gemini is the primary provider and is required. For a provider you do not use enter the value disabled:

Terminal
firebase functions:secrets:set GEMINI_API_KEY
firebase functions:secrets:set OPENAI_API_KEY
firebase functions:secrets:set XAI_API_KEY
firebase functions:secrets:set APPLE_KEY_P8

Get keys at Google AI Studio, OpenAI and xAI. APPLE_KEY_P8 is the contents of your App Store Connect In-App Purchase key (.p8), or disabled if you do not ship on iOS yet.

3

Configure non-secret parameters. Create functions/.env.<your-project-id> (git-ignored):

functions/.env.your-project-id
AI_PROVIDER_ORDER=gemini,openai,grok
ANDROID_PACKAGE_NAME=com.vertexstation.toolyai
IOS_BUNDLE_ID=com.vertexstation.toolyai
APPLE_KEY_ID=
APPLE_ISSUER_ID=
ENFORCE_APP_CHECK=false
GEMINI_MODEL=gemini-flash-latest
OPENAI_MODEL=gpt-4o-mini
GROK_MODEL=grok-4.3
4

Set ANDROID_PACKAGE_NAME and IOS_BUNDLE_ID to the IDs you chose in Package Name - purchase verification checks them. Then deploy:

Terminal
firebase deploy --only functions

The first deploy automatically enables the required Google Cloud APIs (Cloud Functions, Cloud Build, Cloud Run, Artifact Registry, Secret Manager) and can take several minutes. If it fails right after enabling an API, wait a minute and run the deploy again. Check that everything is running with firebase functions:list.

Functions reference

FunctionPurpose
initUserCreates the wallet (20 starter coins) and referral code on first sign-in
aiGenerateAuthenticated AI proxy: validates input, filters content, charges coins, calls Gemini / OpenAI / Grok with automatic fallback, refunds on failure
chargeImageGenerationFilters the image prompt, charges coins, builds the image URLs (image.pollinations.ai) and records the charge
refundImageGenerationRefunds an image charge when the image service fails. The server re-checks the image URLs itself, so refunds are only given for real failures (within 30 minutes, once)
verifyPurchaseVerifies a Google Play / App Store receipt and credits coins exactly once
claimDailyBonus, applyReferralCode, claimAdRewardCoin rewards with server-side limits
deleteAccountDeletes the Auth user and all their Firestore data

Customising

  • Coin prices per feature, product-to-coin mapping, models, rate limits and blocked-content patterns: functions/config.js. Keep FEATURE_COSTS in sync with FeatureCost in lib/services/firebase_service.dart (display only) and PRODUCT_COINS with lib/services/purchases_service.dart.
  • Models: GEMINI_MODEL, OPENAI_MODEL, GROK_MODEL (defaults in functions/config.js). AI providers retire model IDs regularly; if requests start failing, check firebase functions:log and set a current model ID.
  • Provider order / disabling providers: AI_PROVIDER_ORDER. Media features (images, PDF, audio, video) always use Gemini.

Google Play receipt verification

In Google Cloud console enable the Google Play Android Developer API for your Firebase project. In Play Console → Users and permissions invite the service account your functions run as. For 2nd gen Cloud Functions this is the Compute Engine default service account PROJECT_NUMBER-compute@developer.gserviceaccount.com (find the exact e-mail in Google Cloud console → IAM, or on a deployed function's details page) with the permissions View financial data and Manage orders and subscriptions. Create five managed (consumable) products with the IDs starter, basic, popular, premium, ultimate.

App Store receipt verification

Create an In-App Purchase key in App Store Connect → Users and Access → Integrations. Store the .p8 contents in APPLE_KEY_P8 and set APPLE_KEY_ID and APPLE_ISSUER_ID. Create the same five consumable products.

Receipt verification is implemented but needs your store credentials to run. Test with a Play Console license tester / App Store sandbox account before launch.

Firestore Rules

The rules file is firestore.rules (deploy with firebase deploy --only firestore:rules). Summary:

  • users/{uid}: the owner can read; nobody can write from the client, so coins, purchase flags and referral data cannot be tampered with.
  • users/{uid}/notes: owner read/write with field and size validation.
  • transactions: owner read-only. purchases and imageCharges: no client access (server only).
  • reports: create-only, must contain the caller's uid, size limited.
  • Everything else is denied.
firestore.rules (excerpt)
match /users/{uid} {
  allow read: if isOwner(uid);
  allow write: if false;   // Cloud Functions (Admin SDK) only
}
match /transactions/{id} {
  allow read: if signedIn() && resource.data.uid == request.auth.uid;
  allow write: if false;
}

Security Model

RiskMitigation
AI keys extracted from the APK/IPAKeys exist only in Firebase Secret Manager and are used by Cloud Functions. The app has no key and no key-entry screen.
Users editing their coin balanceFirestore rules deny all client writes to wallet data; coins change only inside Cloud Functions transactions.
Fake purchases / replayed receiptsverifyPurchase checks the receipt with Google/Apple and stores each order ID once.
Abuse of the AI proxyAuthentication required, optional App Check, per-user rate limit (20/min), prompt and media size limits, content filtering.
Referral / reward farmingServer-side validation: one referral per account, loop detection, ad-reward cooldown and daily cap.
Data left behind after leavingIn-app Delete account removes all user data (see below).

Costs & Responsibility

You (the buyer) are responsible for all usage costs incurred with third-party services: Google Gemini, OpenAI and xAI API usage, Firebase (Blaze plan: Cloud Functions, Firestore, Authentication), Google Play / Apple developer fees and any other provider. Set budgets and alerts in Google Cloud Billing and each AI provider console before launching, and price the coin packs so that revenue covers these costs.

Firebase and AdMob: Cloud Functions require an active Firebase Blaze (billing) account, and Firebase / Google Cloud usage may incur costs in production. AdMob and in-app purchases require your own accounts; you are responsible for all service fees and costs related to AdMob, Google Play and App Store in-app purchase processing (platform commission, payment fees, taxes, developer program fees). A billing account may be required for production use.

The author is not responsible for charges generated by your app, and the item does not include any AI credits or API keys.

App Name

The app name must be updated across three key locations: a central Dart string constant file, the Android manifest, and the iOS configuration plist.

1. Dart Constant

File path: lib/src/utils/constants/m_strings.dart

This is the primary app name string used in appbars, titles, and dialogs across the Dart codebase.

lib/src/utils/constants/m_strings.dart
class MyStrings {
  static const String appName = 'Tooly AI'; // ← Update your app name here
}

2. Android Label

File path: android/app/src/main/AndroidManifest.xml

Update the android:label attribute on the <application> element to change the title under the launcher icon on Android devices.

android/app/src/main/AndroidManifest.xml
<application
    android:label="Tooly AI"
    android:name="${applicationName}"
    android:icon="@mipmap/ic_launcher">

3. iOS Display Name

File path: ios/Runner/Info.plist

Find the CFBundleDisplayName key and replace the string value beneath it.

ios/Runner/Info.plist
<key>CFBundleDisplayName</key>
<string>Tooly AI</string>

App Icon

Generate and replace launcher icons across platforms from a single high-resolution square image.

1

Design a square artwork at 1024 × 1024 px. Avoid transparency — solid backgrounds render best across home screens.

2

Visit appicon.co, upload your image, select both iPhone and Android, then download the ZIP.

3

Android icon resources path: Replace all mipmap-* directories under:

android/app/src/main/res/
4

iOS AppIcon set path: Replace the entire contents of:

ios/Runner/Assets.xcassets/AppIcon.appiconset/
5

In-app asset reference path: Replace the icon image asset at:

assets/images/app_icon.png

This path is referenced in lib/src/utils/constants/m_images.dart as MyImage.appIcon.

Alternatively, configure the flutter_launcher_icons package in pubspec.yaml to automate icon generation.

Package Name

Prior to submitting your app to Google Play or Apple App Store, update the default package identifier to a domain name you control.

Android — build.gradle & Manifest

Gradle configuration file path: android/app/build.gradle

android/app/build.gradle
android {
    namespace = "com.vertexstation.toolyai" // ← Update your package namespace

    defaultConfig {
        applicationId = "com.vertexstation.toolyai" // ← Update your Application ID
    }
}

Android manifest file path: android/app/src/main/AndroidManifest.xml

The manifests no longer contain a package attribute: the package is defined by namespace / applicationId above. Also rename the folder android/app/src/main/kotlin/com/vertexstation/toolyai/ and the package line in MainActivity.kt (the change_app_package_name tool below does all of this for you).

iOS — Xcode Project Configuration

iOS Xcode workspace file path: ios/Runner.xcworkspace

Open ios/Runner.xcworkspace in Xcode, select Runner under Targets, go to Signing & Capabilities, and edit the Bundle Identifier.

To safely rename package declarations across all native folders automatically, use the change_app_package_name package via terminal command: dart run change_app_package_name:main com.yourcompany.yourapp.

Warning: changing the package name / bundle ID after release

Choose your final package name before publishing. On Google Play and the App Store the application ID is permanent: a different ID is a different app. Existing users must install a new app and lose reviews, installs and ratings. Changing it later can also break coin balances, purchases and sign-in.

Coin balances are stored in Firestore under the user's Firebase UID, so they survive only if every step below is done:

  • Same Firebase project: add the new Android / iOS app (new ID) to the existing Firebase project, download the new google-services.json / GoogleService-Info.plist and add the SHA-1 / SHA-256 keys again, otherwise Google Sign-In fails and users cannot reach their account. A new Firebase project = all balances lost.
  • Backend: set ANDROID_PACKAGE_NAME and IOS_BUNDLE_ID for the Cloud Functions (see Cloud Functions), otherwise purchase verification rejects receipts of the new app.
  • In-app products: products and purchase history belong to the old app ID. Recreate the products in the new store listing; unconsumed or past purchases do not transfer. Refund or credit affected users manually (edit users/<uid>.coins in the Firestore console).
  • Guests have no account; their local data cannot be migrated.
  • Register the new app in App Check, AdMob (app link) and any OAuth client you use.
  • Tell old users to sign in with the same Google account in the new app; there is no automatic migration of installs.

App Strings

Tooly AI supports 15 languages out of the box. All localized text strings reside in JSON dictionary files inside assets/language/. The English file serves as the master translation key reference.

Translation assets directory path: assets/language/

Supported locale files: en.json, ar.json, bn.json, de.json, es.json, fr.json, hi.json, id.json, ja.json, pt.json, ru.json, tr.json, ur.json, vi.json, zh.json.

assets/language/en.json
{
  "app_name": "Tooly AI",
  "smart_ai_toolkit": "Smart AI Toolkit",
  "ask_me_anything": "Ask Me Anything",
  "generate_any_image": "Generate Any Image",
  "code_generator": "Code Generator"
}

Core String Constants

File path: lib/src/utils/constants/m_strings.dart

Initial strings that load before the localization cubit initializes are configured in `MyStrings`:

lib/src/utils/constants/m_strings.dart
class MyStrings {
  static const String appName = 'Tooly AI';
}

English (en.json) is the fallback: if a key is missing in another language, the English text is shown. All keys are translated in every language; see Localization Status.

Localization helper files path: lib/core/localization/app_localizations.dart and lib/core/localization/localization_cubit.dart.

Brand Colors

The app palette is controlled by color token definitions in lib/src/utils/constants/m_colors.dart. Updating colorPrimary modifies action buttons, gradient overlays, active navigation icons, and highlighted borders across both light and dark themes.

Primary colors file path: lib/src/utils/constants/m_colors.dart

lib/src/utils/constants/m_colors.dart
class MyColor {
  // ── Primary Brand Palette ─────────────────────────────────
  static const Color colorPrimary         = Color(0xFF1d4ed8); // Main blue
  static const Color colorPrimaryLight    = Color(0xFF3b82f6); // Light blue
  static const Color colorPrimaryDark     = Color(0xFF1e40af); // Dark blue
  static const Color colorPrimaryVeryDark = Color(0xFF1e3a8a);

  // ── Theme Gradient Tokens ─────────────────────────────────
  static const List<Color> primaryGradient = [
    Color(0xFF1d4ed8), Color(0xFF3b82f6), Color(0xFF60a5fa),
  ];
}

Theme configuration file paths:

  • Light Theme: lib/src/config/themes/light_theme.dart
  • Dark Theme: lib/src/config/themes/dark_theme.dart
  • Custom Components & Utility Themes: lib/src/config/themes/custom_theme.dart & lib/src/config/themes/m_theme_util.dart
  • Theme State Cubit: lib/core/theme/theme_cubit.dart

Localization Status

All 15 languages (English, Arabic, Bengali, German, Spanish, French, Hindi, Indonesian, Japanese, Portuguese, Russian, Turkish, Urdu, Vietnamese, Chinese) are translated for every UI string key: each file in assets/language/ has the same 779 keys as en.json. There are no English-only keys left. A few values intentionally stay identical to English in every language (for example app_name = Tooly AI and tl_ocr_markdown = Markdown) or in some languages (brand names and loan words).

Translations were produced with AI assistance and reviewed by the author; have a native speaker proofread them before publishing in a market you care about. Arabic and Urdu are right-to-left and switch the layout direction automatically.

Adding or changing text

  • Add every new key to en.json first, then to each other language file. If a key is missing in a language, the app falls back to the English text instead of crashing.
  • Keep placeholders such as {cost}, {error} and {n} unchanged in all languages.
  • To check completeness after your edits compare the key sets of the JSON files, for example with node -e "const fs=require('fs');const en=Object.keys(require('./assets/language/en.json'));for(const f of fs.readdirSync('assets/language')){const k=Object.keys(require('./assets/language/'+f));console.log(f,en.filter(x=>!k.includes(x)).length+' missing')}" from the project root.
  • To add a new language, create assets/language/xx.json with the same keys and register it in lib/model/response/language_model.dart (see App Strings).

Onboarding

The onboarding slideshow introduces users to the app features. The slide content is fully localized and driven by keys in the language JSON file, while visual animations use Lottie files.

Onboarding UI Page file path: lib/features/splash/presentation/pages/on_boarding_screen.dart

Onboarding Cubit file path: lib/features/splash/presentation/cubit/onboarding_cubit.dart

Onboarding Repository file path: lib/features/splash/data/repositories/splash_repository_impl.dart

Lottie asset directory path: assets/lottie/

assets/language/en.json
{
  "smart_ai_toolkit": "Smart AI Toolkit",
  "smart_ai_toolkit_desc": "Access multiple AI tools in one powerful workspace.",
  "ask_me_anything": "Ask Me Anything",
  "you_would_like": "Chat, summarize, translate, and solve instantly."
}

Add, remove or reorder slides

The slides come from one list, so the page indicator, progress bar and the last-page button adapt automatically to any number of slides. The order of the list is the order of the slides.

List: getOnBoardingList() in lib/features/splash/data/repositories/splash_repository_impl.dart. Each slide is OnBoardingModel(animation, title, description).

Add a slide

1

Add title and description to assets/language/en.json (and the other language files; missing languages fall back to English):

"onboard_4_title": "Scan & Convert",
"onboard_4_desc": "Turn documents into PDFs in seconds."
2

Register the keys in lib/src/utils/constants/m_strings.dart:

static const String onBoard4 = "onboard_4_title";
static const String onBoardDes4 = "onboard_4_desc";
3

Put a Lottie JSON file into assets/lottie/ (the folder is already declared in pubspec.yaml; use animations you are licensed to redistribute) and register it in lib/src/utils/constants/m_images.dart:

static const String scanDoc = 'assets/lottie/scan_doc.json';
4

Add the slide to the list in getOnBoardingList():

OnBoardingModel(MyImage.scanDoc, MyStrings.onBoard4.tr, MyStrings.onBoardDes4.tr),

Remove a slide

Delete its OnBoardingModel(...) line from getOnBoardingList(). You can also delete its strings and Lottie file if nothing else uses them (the chat robot animation is also used on the chat screen).

Reorder slides

Move the OnBoardingModel(...) lines up or down in the list. Use \n inside a title (as in en.json) to control line breaks.

Onboarding is shown on first launch and has a Skip button.

AI Tools & Features

Every tool is implemented and functional. Tools marked AI call the aiGenerate function; the others run fully on-device.

ToolTypeNotes
Ask Anything (chat)AIGemini / OpenAI / Grok through Cloud Functions
Translator, Email Maker, Social Post, Hashtags, Script Writer, Code Generator, Personal Advice (birthday, anniversary, gift, promotion, CV)AIText generation
AI Math Solver, Image Describer, Image to Text, PDF to Text, PDF Summarizer, Audio Summarizer, Video to TextAI (Gemini multimodal)File is uploaded to the function (max ~10 MB) and analysed
Grammar CheckerAICorrects the text you enter
Website SummarizerAIThe page text is downloaded by the app and summarized; pages that cannot be read are rejected (no coins charged)
Image GeneratorThird-partyPrompt is filtered and charged by the backend, image is produced by image.pollinations.ai. If every image fails to load the app requests a refund automatically.
Compress PDFOn-deviceRenders each page to a JPEG (quality/resolution per level) and rebuilds the PDF. Text becomes part of the image and is no longer selectable. If the result would be larger the original is kept.
PDF MakerOn-deviceCreates a real multi-page PDF (Roboto font: Latin, Cyrillic, Greek)
Document to PDFOn-deviceConverts the text of .txt, .md and .docx files into a PDF. Formatting, images and tables are not preserved; .doc and .rtf are not supported.
Password GeneratorOn-deviceCryptographically secure random generator, nothing is sent to a server
Personal NotesFirestoreSaved per user in Firestore (guests keep notes only in memory)

Content Safety & Reporting

Content filtering

  • Every prompt passes the blocked-pattern list in functions/config.js (BLOCKED_PATTERNS - extend it for your audience) and, when an OpenAI key is configured, OpenAI's free moderation endpoint.
  • Gemini requests use safety settings at BLOCK_MEDIUM_AND_ABOVE for harassment, hate, sexual and dangerous content.
  • Generated text is checked again before it is returned. Blocked requests are refunded and the user sees a clear message.
  • Image prompts are filtered before coins are charged and before the image URL is built.

Reporting

Every AI result screen has a flag (Report) button. The user picks a reason and the report (content, feature, reason, user id, time) is written to the Firestore reports collection. Review reports in the Firebase console (or build an admin view) and take action. Reports are deleted together with the user's account.

No filter is perfect. Review reports regularly, tighten BLOCKED_PATTERNS if needed, and keep your store listing age rating consistent with the content the AI can produce.

Account Deletion

Menu → Delete account (visible when signed in) lets users permanently delete their account, as required by Google Play and the App Store. The user confirms, re-authenticates (Google or password) and the deleteAccount function removes the Firebase Auth user, users/{uid} with its notes, all transactions and reports of that user.

Purchase records in purchases are kept only as anonymous order IDs for fraud prevention. For Google Play, also enter your account deletion URL/steps in the Data safety form.

Third-Party Services

The app and backend use the following external services. Review their terms and privacy policies and reflect them in your own privacy policy.

ServiceUsed forData sent
Firebase (Auth, Firestore, Cloud Functions, App Check)BackendAccount data, coins, notes, reports
Google Gemini APIAI text & multimodal results (primary)Prompts, uploaded files (via your Cloud Functions)
OpenAI APIAI text fallback and content moderationPrompts (via Cloud Functions)
xAI Grok APIAI text fallbackPrompts (via Cloud Functions)
image.pollinations.aiGenerates the images of the Image GeneratorThe (filtered) text prompt is part of the image URL requested by the device
Google AdMobBanner, interstitial and rewarded adsAdvertising identifiers
Google Play Billing / Apple StoreKitCoin purchasesPurchase receipts
Google Sign-InAuthenticationGoogle account profile

image.pollinations.ai is a free third-party service that is not controlled by the author. Its availability, output and terms can change. If you need guaranteed quality, replace it with an image API of your choice (see image_details_screen.dart).

About image.pollinations.ai (important)

The Image Generator uses image.pollinations.ai, a free third-party service that the author does not operate, own or control. By using this item you accept the dependency and its risks:

  • Availability: there is no service-level guarantee. It may be slow, rate-limited or offline at any time.
  • Terms and pricing: the provider may change its terms of service, introduce fees, require registration or an API key, or shut down. Review its current terms before launch and reflect them in your own privacy policy and terms.
  • Content policy: generated images are subject to the provider's own policy and underlying models, which the author cannot influence. The app filters prompts first (server-side blocklist and OpenAI moderation) and offers a Report button, but you remain responsible for content your users generate.
  • Privacy: the (filtered) prompt is part of the image URL requested from the service.

If the service becomes unavailable: the image request fails, the user sees an error and the app asks the backend for a refund. The server re-checks the image URLs itself and returns the coins (one refund per charge, within 30 minutes); when the service is back the user can retry. No other tool depends on it.

If it changes its terms, or you prefer another provider: edit buildImageUrls() and the availability check in functions/index.js (for example call an image API of your choice from the Cloud Function and return its image URLs), and if needed the display code in lib/src/presentation/view/pages/image_screen/image_details_screen.dart. To remove the feature, delete the Image Generator tile from the home tool list.

AI Disclosure

In line with marketplace transparency requirements: AI tools were used to assist with the development of this item - including parts of the source code, the documentation text and some in-app text. AI-assisted output was reviewed and tested by the author. The use of AI for graphics (icons, illustrations, screenshots) is declared in the item description on CodeCanyon.

Inside the app, users are shown a one-time notice (lib/src/presentation/view/component/ai_consent.dart) explaining that content is generated by AI providers, can be inaccurate and can be reported.

Coin Economy (User Walkthrough)

Every AI tool costs coins. This is what your end users experience from first launch to buying more coins.

1. Getting coins

SourceCoinsWhere the user sees it
Welcome bonus (first sign-in)20 (SIGNUP_COINS)Balance badge (star icon) in the top bar of the app screens
Daily bonus10 on day 1, +5 per consecutive day, capped at 50 (streak resets after a missed day)Daily bonus prompt after sign-in; toast "Daily Bonus Claimed"
Referral code10 for both users (REFERRAL_COINS)Menu: Refer & Earn (copy own code / enter a friend's code)
Rewarded video ad3 per ad, max 10 per day, 30 s cooldownMenu: watch an ad to earn coins
Coin pack purchase100 / 525 / 1100 / 2800 / 5750 (configurable)Menu: Recharge Coins (coin store)

Guests (not signed in) have no wallet and can only use the on-device tools. Balances live in Firestore and can only be changed by Cloud Functions.

2. The coin store and purchase flow

1

Open the store: Menu, Recharge Coins (or the upgrade card on the Home screen). The screen shows one card per coin pack: coin amount, a badge (Starter, Popular...), a bonus label and the localized price returned by Google Play / App Store.

2

Select a pack (the popular pack is pre-selected) and tap the bottom button Recharge N Coins. The checkout screen summarises pack and price.

3

Pay: the native Google Play / App Store purchase sheet opens. Prices and currency come from the store, never from the app.

4

Verification and credit: the app sends the receipt to the verifyPurchase Cloud Function, which verifies it with Google / Apple and credits the coins once (duplicate receipts are ignored). The balance badge updates and the purchase is consumed only after the server confirmed it.

5

Ad-free: a verified purchase sets hasPurchasedPlan, which removes banner and interstitial ads for that user (rewarded ads stay opt-in).

3. How coins are deducted when a tool is used

  1. The user fills in a tool and taps the generate button, which shows the price (for example Generate Email (3 Coins)). With too few coins a message says how many are needed.
  2. The request goes to a Cloud Function that filters the prompt and then charges the coins in a Firestore transaction before calling the AI provider. Every charge is logged as a transaction.
  3. If the AI provider fails or the answer is blocked, the coins are refunded automatically.
  4. Image generation is charged the same way; if the third-party image service cannot deliver the images, the app requests a one-time refund within 30 minutes (the server verifies the failure itself).
  5. On-device tools (PDF Maker, Compress PDF, Document to PDF, Password Generator) are free.
  6. Rate limit: 20 requests per minute per user.

Default price list (coins per request)

FeatureCoinsFeatureCoins
Chat1Math solver5
Hashtags1Image describer / Image to text5 / 5
Translator, Social post, Personal message2PDF summarizer / PDF to text5 / 5
Email, Grammar checker3Audio summarizer / Website summarizer5 / 5
Code generator, CV maker5Script writer10
Video to text15Image generation20

Edit FEATURE_COSTS in functions/config.js (authoritative) and keep the display mirror FeatureCost in lib/services/firebase_service.dart in sync, then redeploy the functions.

API Cost Guide & Pricing Your Coin Packs

These are rough, order-of-magnitude estimates to help you price coin packs. Provider prices and model names change often; check the current price pages of Google Gemini, OpenAI, xAI and Firebase and set budget alerts before launch. The author does not guarantee these numbers.

Assumptions: a typical text request uses about 1,000 input tokens and 800 output tokens (answers are capped at 4,096 tokens). Example list prices: Gemini Flash-class about $0.30 per 1M input / $2.50 per 1M output tokens; GPT-4o-mini about $0.15 / $0.60.

Request typeApprox. provider cost per requestPer 1,000 requests
Text tool (chat, email, translator...) on Gemini Flash$0.002 - $0.003$2 - $3
Text tool on GPT-4o-mini (fallback)$0.0006 - $0.001$0.6 - $1
Text tool on xAI Groksame order as Gemini Flash - check xAI pricingcheck
Image / PDF / math analysis (multimodal Gemini, 5k - 20k input tokens)$0.005 - $0.02$5 - $20
Audio / video to text or summary (grows with duration)$0.02 - $0.10+$20 - $100+
Image generation (image.pollinations.ai)$0 to you today (free third-party service, not guaranteed)$0
Firebase (Functions, Firestore, Auth)fractions of a cent; the free quota covers early usageusually under $1

Turning this into coin prices

  • Cost per coin = provider cost per request ÷ coins charged. With the default prices: chat about $0.002 per coin, a 5-coin text tool about $0.0005 per coin, video (15 coins, about $0.05) about $0.003 per coin. Plan with about $0.003 per coin as a safe upper bound.
  • Stores keep 15 - 30 % of every sale, so use net revenue = price × 0.7.
  • A comfortable rule: net revenue per coin at least 3 × cost per coin. With $0.003 per coin that is about $0.01 per coin, e.g. 100 coins for $0.99, 525 coins for about $4.99, 1100 coins for about $9.99.
  • Free coins cost you money too. A very active free user can claim 20 (welcome) + up to 50 per day (daily bonus) + 30 per day (10 rewarded ads) + referrals; rewarded-ad revenue offsets part of this. Lower the welcome / daily bonus values in functions/config.js and functions/index.js if your costs are higher than expected.
  • Cheaper models lower all numbers: change GEMINI_MODEL / OPENAI_MODEL / GROK_MODEL (see Cloud Functions) or raise the coin price of heavy tools (video, audio) in FEATURE_COSTS.

Economy & Rewards Settings

All coin amounts live in one file: functions/config.js. The server is authoritative; after editing it, run firebase deploy --only functions. These are the exact constant names and their default values:

functions/config.js (defaults)
const FEATURE_COSTS = {          // coins charged per request
  chat: 1, translate: 2, code: 5, social_post: 2, hashtag: 1, email: 3,
  script: 10, personal_message: 2, cv_maker: 5, math_solver: 5, grammar: 3,
  image_describer: 5, image_to_text: 5, pdf_summarizer: 5, pdf_to_text: 5,
  audio_summarizer: 5, video_to_text: 15, website_summarizer: 5,
  image_generation: 20,
};

const PRODUCT_COINS = {          // store product id -> coins credited
  starter: 100, basic: 525, popular: 1100, premium: 2800, ultimate: 5750,
};

const SIGNUP_COINS = 20;         // welcome bonus
const REFERRAL_COINS = 10;       // given to BOTH users

const DAILY_BONUS_BASE = 10;     // day 1 bonus
const DAILY_BONUS_STEP = 5;      // +5 per consecutive day
const DAILY_BONUS_MAX_EXTRA = 40;// cap: 10 + 40 = 50 coins

const AD_REWARD_COINS = 3;       // coins per completed rewarded ad
const AD_REWARD_COOLDOWN_MS = 30 * 1000;  // min time between rewards
const AD_REWARD_DAILY_CAP = 10;  // max rewarded ads per user per day

const IMAGE_REFUND_WINDOW_MS = 30 * 60 * 1000; // image refund window
const MAX_REQUESTS_PER_MINUTE = 20;            // per-user rate limit

Example: make rewarded ads give 5 coins, max 5 per day, 60 s apart

functions/config.js
const AD_REWARD_COINS = 5;
const AD_REWARD_COOLDOWN_MS = 60 * 1000;
const AD_REWARD_DAILY_CAP = 5;

Display copies you must keep in sync

The app only displays prices; it never decides them. When you change a number above, update the matching display text:

Changed constantAlso edit (display only)
FEATURE_COSTSFeatureCost in lib/services/firebase_service.dart (button labels such as "Generate Code (5 Coins)")
PRODUCT_COINS / product idsPurchasesConfig.packageCoinsMap and productIds in lib/services/purchases_service.dart, and the products in Play Console / App Store Connect
SIGNUP_COINS, REFERRAL_COINS, AD_REWARD_*Texts in assets/language/*.json: faq_a2, menu_ad_rewarded, menu_watch_ads_subtitle, menu_refer_subtitle, auth_referral_description

Prices charged to real customers are set in Google Play Console / App Store Connect, not in the code. See API Cost Guide for how to choose them.

AdMob Integration

Banner, interstitial and rewarded ads use the Google Mobile Ads SDK. The project ships with Google's test IDs, so ads work out of the box and are safe for development.

No author-owned ad IDs are in the source. Every AdMob ID in this project (ad_manager.dart, AndroidManifest.xml, Info.plist) is one of Google's public test IDs (ca-app-pub-3940256099942544...), so the author collects no ad revenue from your app. You must replace the two app IDs and the three ad unit IDs with your own from your AdMob account before release. Test IDs earn nothing, and clicking your own live ads can get your AdMob account banned.

1

Android App ID in android/app/src/main/AndroidManifest.xml:

AndroidManifest.xml
<meta-data
    android:name="com.google.android.gms.ads.APPLICATION_ID"
    android:value="ca-app-pub-XXXXXXXXXXXXXXXX~XXXXXXXXXX"/>
2

iOS App ID in ios/Runner/Info.plist:

Info.plist
<key>GADApplicationIdentifier</key>
<string>ca-app-pub-XXXXXXXXXXXXXXXX~XXXXXXXXXX</string>
3

Ad unit IDs in lib/services/ad_manager.dart (bannerAdUnitId, interstitialAdUnitId, rewardedAdUnitId). Replace the Google test IDs with your own before release.

Rewarded-ad coins are granted by claimAdReward (3 coins, 30 s cooldown, 10 per day). For stronger protection enable AdMob server-side verification on your rewarded ad unit and extend the function.

The NSUserTrackingUsageDescription and a SKAdNetworkItems entry are already in Info.plist. Add the full SKAdNetwork list from the AdMob documentation, implement the Google UMP consent flow where required (EEA/UK) and set your ad content rating.

EU / UK consent (Google UMP) - required for the EEA, UK and Switzerland

If your app is available in the EEA, UK or Switzerland you must collect consent with a Google-certified consent management platform before requesting personalized ads. Apps without it can be rejected or have ad serving limited. The project does not ship a live consent message because the message belongs to your AdMob account.

1

In AdMob open Privacy & messaging, create a GDPR message for your app (and optionally a US state regulations message) and publish it.

2

The google_mobile_ads package already contains the UMP SDK (ConsentInformation, ConsentForm); no extra dependency is needed. In lib/services/ad_manager.dart replace initialize() with:

lib/services/ad_manager.dart
static Future<void> initialize() async {
  if (_initialized) return;
  final completer = Completer<void>();
  ConsentInformation.instance.requestConsentInfoUpdate(
    ConsentRequestParameters(),
    () async {
      // Shows the form only when the user is in a region that requires it.
      await ConsentForm.loadAndShowConsentFormIfRequired((FormError? error) {});
      completer.complete();
    },
    (FormError error) => completer.complete(), // continue without ads if it fails
  );
  await completer.future;
  if (await ConsentInformation.instance.canRequestAds()) {
    await MobileAds.instance.initialize();
    _initialized = true;
    loadInterstitialAd();
  }
}

Add import 'dart:async'; at the top of the file. The banner, interstitial and rewarded requests then only start after consent was obtained.

3

Add a privacy options entry (for example in the Menu) so users can change their choice later: check await ConsentInformation.instance.getPrivacyOptionsRequirementStatus() == PrivacyOptionsRequirementStatus.required and call ConsentForm.showPrivacyOptionsForm((error) {}).

4

Test with ConsentRequestParameters(consentDebugSettings: ConsentDebugSettings(debugGeography: DebugGeography.debugGeographyEea, testIdentifiers: ['YOUR_TEST_DEVICE_ID'])) (remove before release).

5

iOS: keep NSUserTrackingUsageDescription in Info.plist and request App Tracking Transparency where your AdMob message requires it. Declare ad usage in the Play Data safety form and the App Store privacy labels.

Official step-by-step guide: developers.google.com/admob/flutter/privacy.

Where AdMob IDs are defined (all are Google test IDs)

FileWhatValue shipped
lib/services/ad_manager.dartbannerAdUnitId, interstitialAdUnitId, rewardedAdUnitIdGoogle test ad units ca-app-pub-3940256099942544/...
android/app/src/main/AndroidManifest.xmlcom.google.android.gms.ads.APPLICATION_IDGoogle test app ID ca-app-pub-3940256099942544~3347511713
ios/Runner/Info.plistGADApplicationIdentifierGoogle test app ID ca-app-pub-3940256099942544~1458002511

No other file contains an ad ID. There is no ad-related ID of the author anywhere in the package; the Cloud Functions contain no ad network code.

Ad Placements

Your end users will see three ad formats. Banner and interstitial ads are hidden for users who bought a coin pack (hasPurchasedPlan); rewarded ads are always opt-in. The logic lives in lib/services/ad_manager.dart.

FormatWhere it appearsWhen it triggers
BannerHome screen, below the tool grid (banner_ad_widget.dart, labelled "Advertisement")Loaded when the Home screen opens; takes no space if no ad was loaded.
Interstitial (full screen)After a result is produced in: Translator, Email Maker, Social Post, Hashtags, Script Writer, Code Generator, Birthday / Anniversary / Gift / Promotion / CV makers, Password Generator, Math Solver, Grammar Checker, Image Describer, Image to Text, PDF to Text, PDF Summarizer, Audio Summarizer, Compress PDF and PDF MakerPreloaded in the background; shown only after a successful result and at most once every 2 minutes. Not shown on errors, in chat, or to paying users.
Rewarded (opt-in video)Menu screen: watch an ad to earn coinsOnly when the user taps it. After the video completes the server grants 3 coins (max 10 per day, 30 s cooldown). Closing early gives nothing.

To change the frequency edit the cooldown in showInterstitialAd. To remove a placement delete the matching AdManager.showInterstitialAd(...) call, or the BannerAdWidget() in home_screen.dart.

In-App Purchases

Users buy coin packs with Google Play Billing / StoreKit. The app starts the purchase; the receipt is then sent to verifyPurchase, which verifies it with the store and credits the coins in a transaction. Coins are never credited by the app itself, and the Android purchase is consumed only after the server confirmed it.

Product IDCoins credited
starter100
basic525
popular1100
premium2800
ultimate5750

Create these as consumable / managed products in Play Console and App Store Connect. To change amounts edit PRODUCT_COINS in functions/config.js (authoritative) and the display mirror in lib/services/purchases_service.dart, then redeploy the functions. Credentials: see Cloud Functions.

A verified purchase also sets hasPurchasedPlan, which removes ads for that user.

Updating to a New Version

Keep your customised project in Git. For each update, copy the new files into a separate branch, review the differences and merge; do not blindly overwrite the whole folder. Read the Changelog first.

Keep your version (customised by you)Safe to overwrite with the new version
android/app/google-services.json, ios/Runner/GoogleService-Info.plist (this project uses these files; there is no firebase_options.dart)Dart code in lib/ that you did not edit
android/key.properties and your keystore, iOS signing settingsfunctions/index.js (then redeploy; re-apply your edits if you changed it)
functions/config.js (your coin prices, costs, rewards, models, blocked words) and functions/.env.<project-id>firestore.rules and firestore.indexes.json (compare first, then deploy)
assets/language/*.json (your translations: merge new keys from the new en.json instead of replacing)pubspec.yaml dependencies (merge: keep your own added packages), pubspec.lock
lib/services/ad_manager.dart ad unit IDs, AdMob app IDs in AndroidManifest.xml / Info.plistDocumentation/
lib/services/purchases_service.dart (product ids), lib/src/utils/constants/m_strings.dart (app name), m_images.dart, colors/themeUnchanged Cloud Function helpers and platform folders you never touched
android/app/build.gradle (applicationId, versionCode / versionName), AndroidManifest.xml labels, iOS bundle id, launcher icons, splash assets
Onboarding list in splash_repository_impl.dart, any screens you customised

Update steps

  1. Commit your current project. Create a branch update.
  2. Copy the new item files over, restore the "keep" files above from Git (git checkout main -- <file>) and merge new keys into your language files.
  3. Run flutter pub get, flutter analyze, then cd functions && npm ci.
  4. Deploy backend changes first: firebase deploy --only functions,firestore:rules (old app versions keep working with additive changes), then publish the new app build with a higher versionCode.
  5. Never change Firestore field names yourself; stored coin balances and transactions are read by the functions.

Release Signing

Android

1

Create an upload keystore (keep it and its passwords safe, outside the project):

Terminal
keytool -genkey -v -keystore ~/upload-keystore.jks -keyalg RSA -keysize 2048 -validity 10000 -alias upload
2

Create android/key.properties (git-ignored):

android/key.properties
storePassword=YOUR_STORE_PASSWORD
keyPassword=YOUR_KEY_PASSWORD
keyAlias=upload
storeFile=/absolute/path/to/upload-keystore.jks

android/app/build.gradle already reads this file for the release build type.

3

Add the release SHA-1/SHA-256 (and the Play App Signing certificate) to Firebase, then build:

Terminal
flutter build appbundle --release

Output: build/app/outputs/bundle/release/app-release.aab

iOS

1

Open ios/Runner.xcworkspace, select the Runner target → Signing & Capabilities, choose your Team and set your Bundle Identifier. (No team ID is stored in the project.)

2

Archive and upload:

Terminal
flutter build ipa --release

Then upload the IPA with Xcode Organizer or Transporter.

Official guides: Android and iOS.

Submission

Pre-submission checklist

  • Renamed the package / bundle ID, app name and icons; set your support e-mail in MyStrings.supportEmail (lib/src/utils/constants/m_strings.dart).
  • Added google-services.json and GoogleService-Info.plist from your Firebase project and set the Google Sign-In URL scheme.
  • Deployed firestore.rules, indexes and Cloud Functions; stored the secrets; enabled App Check.
  • Replaced the AdMob test IDs; created the five consumable products.
  • Added a privacy policy URL covering the services listed in Third-Party Services and filled the store Data safety / App Privacy forms.
  • Account deletion works (store requirement) and reports are reviewed by you.
  • Release signing is configured; tested on real devices.

Troubleshooting & FAQ

ProblemSolution
Android build: File google-services.json is missingDownload it from your Firebase project into android/app/ (templates are not used by Gradle).
Google sign-in fails (ApiException: 10 / 12500)Add the SHA-1 and SHA-256 of the keystore you are running with to the Android app in Firebase, re-download google-services.json. For Play-distributed builds add the Play App Signing SHA-1 too.
iOS: Google sign-in crashes or nothing happensPut REVERSED_CLIENT_ID from GoogleService-Info.plist into the URL scheme in Info.plist.
iOS: pod errors / Podfile.lock missingOn a Mac run flutter pub get, then cd ios && pod install --repo-update. The lock file is generated for the exact plugins you install.
"Please sign in" / unauthenticated when using a toolAI tools need a signed-in user. Sign in with Google (guests can only use the on-device tools).
NOT_FOUND / function not foundDeploy the functions (firebase deploy --only functions) to the us-central1 region used by the app, with the same Firebase project as your config files.
Changing the Cloud Functions regionThe app calls functions in us-central1 (Firebase default). To use another region change REGION in functions/index.js and use FirebaseFunctions.instanceFor(region: '...') in Backend.callable (lib/services/firebase_service.dart), then redeploy.
"AI service is temporarily unavailable"Check the function logs (firebase functions:log), that GEMINI_API_KEY is valid and has quota, and that the provider is listed in AI_PROVIDER_ORDER.
App Check errors in debugAdd the printed debug token under App Check → Manage debug tokens, or keep ENFORCE_APP_CHECK=false while developing.
"Not enough coins"Use the daily bonus / coin store, or raise users/<uid>.coins in the Firebase console for test users.
Store products not foundProducts must be active, the app must be uploaded to at least an internal test track and the tester account added as license tester.
Purchase succeeds in the store but no coinsSee function logs of verifyPurchase: usually the Play API access / service account permission or Apple key parameters are missing.
Compressed PDF text cannot be selectedExpected: Compress PDF re-renders pages as images. Choose the "High Quality" level for less loss or keep the original when text must remain selectable.
Document to PDF loses formattingOnly the text of .docx / .txt / .md is converted by design.
flutter pub get version conflictUse the Flutter/Dart versions listed in Requirements, then run flutter clean && flutter pub get.

Changelog

Version 1.0.0 - Initial release

  • 21 tools: AI chat, translator, email / social post / hashtag / script / code / CV and personal message generators, AI math solver, grammar fixer, image describer, image to text, PDF to text, PDF summarizer, audio summarizer, video to text, website summarizer, image generator, Compress PDF, PDF Maker, Document to PDF, password generator and personal notes.
  • Firebase-only backend: Authentication (Google, Email/Password), Cloud Firestore with documented security rules, Cloud Functions for all AI requests, coins, rewards, purchase verification and account deletion.
  • AI providers Google Gemini, OpenAI and xAI Grok with automatic fallback; keys stored in Firebase Secret Manager, models configurable.
  • Coin system with Google Play / App Store In-App Purchases (server-side receipt verification), daily bonus, referrals and rewarded ads.
  • Compliance: in-app account deletion, content filtering, report button on AI output, AI and third-party notice, privacy policy screen.
  • AdMob banner, interstitial and rewarded ads; 15 languages; light and dark theme.
  • Android compileSdk/targetSdk 36 (minSdk 24), iOS 15+.

Support

Need help? Contact vertexstation@gmail.com and include your purchase code, a description of the problem and relevant logs (flutter run -v, firebase functions:log).

Support covers questions about the item and bugs in the delivered code. It does not cover third-party service accounts, API quotas/billing, store review decisions or custom development.