tadeasf / flutter_chat_viewer

Flutter App which allows comfortable viewing of your data exportable from Meta.

Home Page:https://meta.tadeasfort.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flutter_chat_viewer

A new Flutter project.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

For Android and iOS apps built with Flutter, the launcher icons and splash screen assets are typically stored in different locations than the web directory. Here's where you can find and update these assets:

Launcher Icons: For Android:

Path: android/app/src/main/res/ You'll find multiple directories like mipmap-hdpi, mipmap-mdpi, mipmap-xhdpi, etc. Replace ic_launcher.png in each of these directories with your icon in the appropriate size.

For iOS:

Path: ios/Runner/Assets.xcassets/AppIcon.appiconset/ Replace the existing icon files with your own, maintaining the same file names and sizes.

Splash Screen: For Android:

Path: android/app/src/main/res/drawable/ Create or modify launch_background.xml

For iOS:

Path: ios/Runner/Assets.xcassets/LaunchImage.imageset/ Replace the existing images with your splash screen images

However, manually replacing these assets can be tedious. A easier way to manage icons and splash screens is to use a package like flutter_launcher_icons and flutter_native_splash. Here's how you can use them:

Add these to your pubspec.yaml under dev_dependencies: yamlCopydev_dependencies: flutter_launcher_icons: ^0.13.1 flutter_native_splash: ^2.3.1

Run flutter pub get For launcher icons, create a config section in pubspec.yaml: yamlCopyflutter_icons: android: true ios: true image_path: "assets/icon/icon.png"

For splash screen, add a config section: yamlCopyflutter_native_splash: color: "#42a5f5" image: assets/splash.png

Run these commands: Copyflutter pub run flutter_launcher_icons:main flutter pub run flutter_native_splash:create

build signed apk from appbundle:

bundletool build-apks --bundle=/Users/tadeasfort/Documents/coding_projects/flutter_chat_viewer/build/app/outputs/bundle/release/app-release.aab \
--output=/Users/tadeasfort/Documents/coding_projects/flutter_chat_viewer/build/app/outputs/apk/app-release.apks \
--ks=/Users/tadeasfort/key.jks \
--ks-pass=pass:pass \
--ks-key-alias=key \
--key-pass=pass:pass

verify built apks:

jarsigner -verify -verbose -certs /Users/tadeasfort/Documents/coding_projects/flutter_chat_viewer/build/app/outputs/flutter-apk/app-release.apk

About

Flutter App which allows comfortable viewing of your data exportable from Meta.

https://meta.tadeasfort.com


Languages

Language:Dart 60.9%Language:C++ 17.6%Language:CMake 14.1%Language:HTML 2.2%Language:Ruby 2.0%Language:Swift 1.6%Language:C 1.0%Language:Kotlin 0.6%Language:Objective-C 0.0%