Documentations

PortLab

Introduction:

It is full application developed by Flutter. It's made a lot easier for all users. Anyone can run apps by following the project instructions. This app is the most advanced app on Codecanyon.

Requirements:

To customised this project you should have Flutter and Dart installed and configured effectively on your gadget Install Flutter Set up your editor Install the Flutter and Dart Plugins.

Get Started:
a. Unzip the flies folder and open it. There have source code name as source-code, then use your preferred IDE (Android Studio / Visual Code / IntelliJ) to open the project.

b. Go to /assets/images/icon.png and replace it with your logo or app icon
Note: This logo used in the splash screen only, not in the app icon

For Android Configuration
Get Dependencies:

  1. Run the command:
    flutter pub get

Change Package Name:

  1. If you want to change the package name following the next steps
  2. Open /android/app/build.gradle and change the package name
    • defaultConfig {
    • applicationId "" // this is the package name
    • minSdkVersion 16
    • targetSdkVersion 30
    • versionCode flutterVersionCode.toInteger()
    • versionName flutterVersionName
    • testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    • multiDexEnabled true
    • }
  3. Open /android/app/src/main/AndroidManifest.xml , /android/app/src/profil/AndroidManifest.xml, /android/app/src/debug/AndroidManifest.xml and specify your:
  4. Open /android/app/src/main/kotlin/MainActivity.kt and change the package name

iOS Configuration

Opt-in to the preview of the embedded view by adding a boolean property to the app's Info.plist file with the key io.flutter.embedded_views_preview and the value YES.

  1. Click the Get dependencies or Packages get to install the libraries from pubspecs.yaml file.
  2. Open the simulator to run iOS or Android (as the step above)
  3. Then press the run button to start the project (you can still open multi simulator at the same time)

Build & Run:
Run the Application:

  1. In the target selector, select an Android device for running the app. If none are listed as available, select Tools> Android > AVD Manager and create one there. For details, see Managing AVDs. Click the run icon in the toolbar, or invoke the menu item Run > Run. Locate the main Android Studio toolbar:
  2. If you don't use Android Studio or IntelliJ you can use the command line to run your application using the following command: 

    flutter run

Install and Release App:
Run the Application:

  1. After you make all your changes and customizations save all your project, Open the console, navigate to your project folder and execute the following command to build your app:
    flutter build apk --release
  2. If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.

Build and Install App:

  1. To generate an app bundle, run:
    flutter build appbundle --target-platform android-arm,android-arm64,android-x64
    Learn more on https://developer.android.com/guide/app-bundle

  2. To split the APKs per ABI, run:

    flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
    Learn more on https://developer.android.com/studio/build/configure-apk-splits#confi

  3. If you want to upload your application on Google Play you must sign it before uploading, generate a signing key by running the following command:

    keytool -genkey -v -keystore android/app/key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias key

  4. Reference the keystore from the app: Create a file named appdir/android/key.properties that contains a reference to your keystore:

    storePassword=password from previous step
    keyPassword=password from previous step
    keyAlias=key
    storeFile=location of the key store file, e.g. /Users/user name/key.jks

  5. Go to android/app/build.gradle

    def keystorePropertiesFile = rootProject.file("key.properties")
    def keystoreProperties = new Properties()
    keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
    • signingConfigs {
    • release {
    • keyAlias keystoreProperties['keyAlias']
    • keyPassword keystoreProperties['keyPassword']
    • storeFile file(keystoreProperties['storeFile'])
    • storePassword keystoreProperties['storePassword']
    • }
    • }
    • buildTypes {
    • release {
    • signingConfig signingConfigs.release
    • }
    • }

Support:

Once again, thank you so much for purchasing this app. As I said at the beginning, I'd be glad to help you if you have any questions relating to this app. Just let us know, We will assist you. Contact us at support center: support@appdevs.net