AnswerMe - Question & Answer Flutter App

AnswerMe - Question & Answer Flutter App

  • Documentation
  • Versions

›Android Studio

Getting Started

  • Welcome

Flutter SDK

  • Flutter SDK

Android Studio

  • Installation
  • Import Project
  • Configure Device
  • Package Name
  • Firebase Configuration

Visual Studio Code

  • Installation
  • Import Project
  • Configure Device
  • Package Name
  • Firebase Configuration

Admin Panel

  • Installation
  • Database Configuration
  • Mail Server Configuration
  • Firebase Push Notifications

App Configuration

  • App Name
  • App Icon
  • Server Connection
  • Google Sign in
  • Facebook Sign in
  • Apple Sign in
  • Admob
  • App Constants
  • Generate Signed APK / Bundle
  • Build and Release iOS App

Package Name

ANDROID PACKAGE NAME:

Step 1
  1. Open Gradle Scripts → build.gradle (Module: app)

alt-text

  1. Change the application ID with your own id name
  2. Standard naming procedure: com.yourdomainname.yourappname
  3. Change the id, make it as unique as possible, because application id is very important if you want to publish the application in the store.
Important: your applicationId or package name must be the same to the package name you’ve create in your firebase console when generating google-services.json
Step 2
  1. Click once on your package and then press on the settings icon at the top next to "Project".
  2. Unselect Compact Middle Packages
  3. Right click on "com", "example", and "answerme" folders and rename it to your package name. (replace "example" by your domain name and "answerme" by your app name)

alt-text

alt-text

IOS PACKAGE NAME:

In iOS, the package name is found in "Runner.xcodeproj/project.pbxproj":

PRODUCT_BUNDLE_IDENTIFIER = com.example.appname;

But there are 3 lines of PRODUCT_BUNDLE_IDENTIFIER in "project.pbxproj" which you have to edit, locate it by pressing CTRL + F and look for PRODUCT_BUNDLE_IDENTIFIER.

Last Step

In order for the rate option to work in the application you have to update your Google Play and your App Store identifiers. To do that go to "lib/constants.dart" and change the GooglePlayIdentifier value to your package name and the AppStoreIdentifier value to your App store identifier.

← Configure DeviceFirebase Configuration →
AnswerMe - Question & Answer Flutter App
Links
DocumentationVersions
CodeCanyon Portfolio
Email: royhayek27@gmail.com
Copyright © 2021 royhayek.com