{"id":24731370,"url":"https://github.com/bettysteger/flutter-firebase-adapty","last_synced_at":"2026-02-10T20:03:50.208Z","repository":{"id":274364668,"uuid":"922674742","full_name":"bettysteger/flutter-firebase-adapty","owner":"bettysteger","description":"Let's you create a Game or App where Push notification are sent, anoymous auth is built-in and the user can buy a subscription.","archived":false,"fork":false,"pushed_at":"2025-01-28T21:22:20.000Z","size":830,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T13:45:03.519Z","etag":null,"topics":["adapty","deeplinks","firebase","firestore","flutter","game","push-notifications"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bettysteger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"bettysteger","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2025-01-26T20:15:40.000Z","updated_at":"2025-03-14T21:48:35.000Z","dependencies_parsed_at":"2025-01-26T21:35:54.580Z","dependency_job_id":null,"html_url":"https://github.com/bettysteger/flutter-firebase-adapty","commit_stats":null,"previous_names":["bettysteger/flutter-firebase-adapty"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bettysteger%2Fflutter-firebase-adapty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bettysteger%2Fflutter-firebase-adapty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bettysteger%2Fflutter-firebase-adapty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bettysteger%2Fflutter-firebase-adapty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bettysteger","download_url":"https://codeload.github.com/bettysteger/flutter-firebase-adapty/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244981293,"owners_count":20542288,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adapty","deeplinks","firebase","firestore","flutter","game","push-notifications"],"created_at":"2025-01-27T16:48:24.426Z","updated_at":"2026-02-10T20:03:45.182Z","avatar_url":"https://github.com/bettysteger.png","language":"Dart","funding_links":["https://github.com/sponsors/bettysteger"],"categories":[],"sub_categories":[],"readme":"# Flutter firebase adapty template\n\nA new Flutter template. Let's you create a Game or App where Push notification are sent, anoymous auth is built-in and the user can buy a subscription.\n\n## Features\n\n- [x] Firebase for Auth / Firestore (Database) and Messaging (Push Notifications)\n- [x] Branch.io for Deep Links (invite friends to a game)\n- [x] Adapty for Subscription and Paywall (iOS / Android)\n- [x] Multi-language support (en, de)\n- [ ] Suggestions? [Write an issue](https://github.com/bettysteger/flutter-firebase-adapty/issues)\n\n## Development\n\n### Use this template\n\n#### **Step 1:** App name \u0026 icon\nGo to github and click on [Use this template](https://github.com/new?template_name=flutter-firebase-adapty\u0026template_owner=bettysteger) (on the top right) to create a new repository with this template. Then clone the repository to your local machine. \n\nInstall all plugins with `flutter pub get`. To rename your appname and packagename you can use the following command:\n\n```bash\nflutter pub global activate rename\nflutter pub global run rename setBundleId --value com.example.appname\nflutter pub global run rename setAppName --value \"App Name\"\n```\n\nAdd your App icon to the `assets/icon` folder and replace the `assets/icon/icon.png` file with your own icon. Then run `flutter pub run flutter_launcher_icons` to generate the app icons.\n\n#### **Step 2:** Firebase  \nCreate a new [Firebase](https://firebase.google.com) project and add an Android and iOS app. \n\nGo to Build \u003e Authentication \u003e Sign-in method and enable Anonymous.\nGo to Build \u003e Firestore \u003e Create Database and start in test mode.\n\nFollow the setup instructions [here](https://firebase.google.com/docs/flutter/setup) and run `flutterfire configure`.\n\n\n#### **Step 3:**  Deeplinks (optional)  \nIf you need Deeplinks, (link to a game) create a new [Branch.io](https://branch.io) project and add the Branch key to the `android/app/src/main/AndroidManifest.xml` and `ios/Runner/Info.plist` files. Additionally add the `branch_universal_link_domains` to the `ios/Runner/Info.plist` file. [More info](https://help.branch.io/developers-hub/docs/flutter-sdk-basic-integration)\n\nAfterwards replace `https://brand-io.app.link` in lib/models/game.dart with your own link.\n\n#### **Step 4:** Adapty (optional)  \nIf you want to earn some money with a subscription, create a new [Adapty](https://adapty.io) project and add the Adapty key to the `android/app/src/main/AndroidManifest.xml` and `ios/Runner/Info.plist` files. [More info](https://adapty.io/docs/sdk-installation-flutter)\n\nAt the moment there is just 1 subscription product in the `lib/screens/paywall.dart` file. You can add more products in the Adapty dashboard and then add them to the `lib/screens/paywall.dart` file. At the moment the paywallId is hardcoded in the `lib/screens/paywall.dart` file. You can find the paywallId in the Adapty dashboard. In this example the paywallId is `settings`.\n\n### Run \n\nEither do a `flutter run` in the console (will open iOS simulator if no device is connected) or Run \u003e Start Debugging in VSCode.\n\nIf some errors occur it often helps to run `flutter clean` (clears the build folder) and then `flutter pub get` to re-install the dependencies.\n\n### Flutter documenation\n\nA few resources to get you started if this is your first Flutter project:\n\n- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)\n- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)\n\nFor help getting started with Flutter, view our\n[online documentation](https://flutter.dev/docs), which offers tutorials,\nsamples, guidance on mobile development, and a full API reference.\n\n### Plugin managment with pub\n\nAdd a plugin: `flutter pub add firebase_core`  \nRemove a plugin: `flutter pub remove firebase_core`  \nFind outdated plugins: `flutter pub outdated`  \n\n(Re-)Install all plugins (e.g. after updating pubspec.yaml): `flutter pub get`\n\n### Generate app icons \u0026 spash screen\n\nSee [flutter_launcher_icons](https://pub.dev/packages/flutter_launcher_icons)\n\n`flutter pub run flutter_launcher_icons:main`\n\nSee [splash_screen_view](https://pub.dev/packages/splash_screen_view)\n\n`flutter pub run splash_screen_view:create`\n\n### Build ios\n\n`flutter build ipa \u0026\u0026 open build/ios/archive/Runner.xcarchive`\n\n### Build android\n\nSigned with `mkdir keys \u0026\u0026 keytool -genkey -v -keystore keys/keystore.jks -keyalg RSA -keysize 2048 -validity 10000 -alias AppName`\n`AppName2025!`\n\n`flutter build appbundle --release --no-tree-shake-icons \u0026\u0026 open build/app/outputs/bundle/release/`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbettysteger%2Fflutter-firebase-adapty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbettysteger%2Fflutter-firebase-adapty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbettysteger%2Fflutter-firebase-adapty/lists"}