He made the base structure and UI of the app. A big thanks to him.
You can find him on Youtube : https://www.youtube.com/c/islandcoder876
You can find him on Github : https://github.com/vykes-mac
Download and install the Flutter SDK here.
Copy and paste the ".env.example" into the root project and rename the new file as ".env".
The two variables to add in this file are :
- DOUCHAT_URI : The url of the Douchat server. It is written with the form : server.example.com
- TENOR_API_KEY : The API key of the Tenor API. It is optional, but you can't search or send gifs without it. You can get one on the Tenor Website
First, download the latest Bundletool.
You can optionally make an alias for bundletool to save time. (alias on linux, Set-Alias on Windows, ...).
Secondly, download Java (min version > 8).
Thirdly, Install the Android platform-tools to get the adb utility : platform-tools
Next, allow USB debugging on your Android device and plug it to your machine.
Get to the root of the project and run :
flutter pub get
flutter build appbundle
cd build/app/outputs/bundle/release
bundletool build-apks --bundle=./release.aab --output=douchat.apks --mode=universal
bundletool install-apks --apks=./douchat.apks --device-id=DEVICE_ID --adb=path/to/adb
The DEVICE_ID is the id of your android device. You can get it by running
adb devices
The path/to/adb is the path where adb is installed. It may depend based on the platform you are working on.
🚧 This part is not complete.
iOS version > 11.0 required.
I have not tested to build on iOS as I don't have any iPhone.
I have tested the application on an iPhone simulator and it works but there is still some functionalities that do not work or partially work, such as downloading videos or accessing photo library.