Passer au contenu principal

CodiCo

BIENTÔT DISPONIBLE
Régulateur IA – réservations à la voix, retards de vol et rappels WhatsApp.
Rejoindre la liste d’attente
LES OUTILS QUE VOUS UTILISEZ DÉJÀ
Chaque plateforme vous donne vos propres clés d’accès. Ajoutez-les dans CodiCo et les commandes arrivent dans votre liste.
Vidéo : Partie 2 : créer vos applis chauffeur et passager à votre marque
▶
0:00 / 17:31
CC
HD
⛶
APPLIS MOBILES
17:31
· Publié le 24 juin 2025

Partie 2 : créer vos applis chauffeur et passager à votre marque

Préparez le code source et compilez les deux applis aux couleurs de votre société : Flutter, fichiers de configuration, nom et identifiant de l’appli, clés API, test sur émulateur et bundle de publication.

Transcription de la vidéo

0:01After we created our keys, I moved them to a separate folder and renamed them, meaning two keys for Google and two keys for iOS. Next, what we need to do first is install Flutter. I have Mac OS, so I just download Flutter for Mac OS as a directory. That is we download the archive, unzip it and get the Flutter directory and after that there’s nothing else to do. The next step is to download Android Studio. Why Android Studio? It’s needed to conveniently edit code and change logos.

0:58You can also immediately see how the application works, whether it works properly or not. It’s downloaded below here for different platforms. I already have Android Studio downloaded and this is how it initially looks. There’s no emulator here. You need to install it. Basically, create a virtual device. There’s nothing complicated about it. Choose the emulator that’s convenient for you. I used Pixel 8034 Map Eyee. You can also set the ninth one. It’s up to you. It’s personal preference. Here it is already running.

1:45After you unpack Flutter, go to settings. Find Flutter. Here it is. And here you specify the directory where you unpacked Flutter. For me, it’s downloads. For me, it’s downloads Flutter. Here’s the unpacked folder. And here’s Flutter itself. Here’s the directory from which Flutter actually runs. also support from EcoDart. So we specify the top directory meaning the Flutter directory. We set it up. It immediately checks what version it is. Open the terminal to make sure Flutter is working.

2:36It works. Version 332, which is the latest version on the Flutter dev site 332.4. Next, what we need first is here I have the taxi app open the main application. What we need first is to copy this key. Go to the folder Android folder app folder and here is Google services. We paste it here. Delete the old file and rename this one to the same Google services. We do the same with the driver. Copy.

3:34Go to the source folder for drivers. Also go to Android app and paste. Delete the old file. Rename the new file. Yours might already have the original name Google services. You just replace it. Now we have our keys here and here. You can also change Google service info at the same time. Copy it. Go to iOS Runner.

4:21and it’s called Google Service Info. Here’s the old file. Paste it here. Delete the old file. Rename the new file. So, info is our file. And the same for the driver. Copy. Copy. Go to the root iOS folder runner and paste it here. Delete the old file. Rename the new file. At this stage, we’re done with the keys. Our keys are valid.

5:13What do we do next? Next, there’s a build app key script. This script is quite simple and what it does first is change the application name. The application name is stored in this folder called Android label meaning it replaces this text with the one you specify. Let me show you right away. dot dot build apk here it asks for your app’s name let’s say we write demo and here the name will be replaced with your name Here as you can see you can do it manually or through the script.

6:21Next it asks for the identifier. What is an identifier? If we open build gradal we’ll see this identifier. This is your application’s unique identifier. It must be unique and not repeat like an ID. It asks for this identifier specifically the identifier in what sense? In our case, it’s demo. Why demo? Let’s go back to our site demo. This is the identifier. This is the domain. This is the root domain. Root domain domain and identifier returning it means demo. Press enter.

7:06And what it does is replace the identifier in the source scripts with a unique mirror identifier. This is your unique identifier. Meaning here could be your company name, the one you registered. This script replaces this text with new text. Here it shows where it replaced and what it replaced, knob by plane. So it replaces the directory meaning this directory exists. It adds a directory according to your identifier. The next question asks for your URL. It’s quite clear here. We specify our URL. http demo.co.

7:58Now it asks for a key. A key for the map. The application has its own map and needs a key from Google Maps. I won’t explain in this video how to get this key. There’s a special instruction that will help in obtaining this key. Let’s say now in test mode, I’ll enter some simple key. Next, it asks for the Stripe public key for testing. I’ll enter a random number and a secret key also for Stripe. A random key. That’s where the script ends its work.

8:47These keys can be found can be found in this file. Here we have the Google API token. If you don’t have the script used here, you can manually change and insert the key here. Keys for Stripe. Change the base URL. And also don’t forget about this file. In this file, unique keys are also specified. Unique ID, message sender ID, project ID. All this can be found in Google services.

9:34Project number project ID FD6E8 o main storage bucket measuremented but this is for the web it’s not used the main ones are here the only question is the message sender ID. The message sender ID is not here but it is in iOS. If we go to iOS Runner, this Google service info, here’s the GCM sender ID. Here it is 4709 list.

10:23your unique identifier. In theory, you can already run it now. You can already run it. Choose the emulator and try to run our application on the emulator. So, it started downloading dependencies and then we’ll start compiling. I’ll pause for now. Here’s our application launched. Make sure it sends requests specifically to demo CodiCo IO meaning to your service.

11:08In principle, here’s our application ready. We can already Compile it meaning get the APK file or app bundle for Google Play. Market. I don’t recommend launching iOS from here. It’s better to launch it through Xcode because you can publish it directly from there. So what to do next? Next we have for example this logo, what to do with it? How to replace it? We can go to the assets images folder and logo.

11:56Here we actually see the logo, the dark logo. Actually here they can be replaced with your own meaning vector icons that are used also. text welcome where we can edit the text according to your wishes. Let’s move on to the next stage. This is our second application. The second application, taxi driver app.

12:46In it, everything is exactly the same. It also has a script that can automate everything or if there’s no script, do everything manually. Here, the unique identifier is the airport taxi driver app. Let’s run the script. It asks us for the name. Let’s say demo driver. Press check our label demo driver. By the way, here we can see that the application name demo is exactly the demo specified here as the label.

13:37Next, we specify the identifier. In this case, we specify demo. It’s very important we specify demo, but subsequently this script will add driver here. However, in this script, we specify demo. Press enter. And as you can see, it replaces the identifier airport taxi driver app with io code demo driver, meaning it replaces it with this identifier. Next, it asks us for the URL. We’ll insert the same URL demo.co.io.

14:31And it asks us for the key, the key for Google. We already generated it in the previous application. So we insert the exact same key here. I put test zeros. At this stage, everything is ready to launch the taxi driver. So we proceed. I’ll pause. Compilation finished and our application is launching. Here’s our application successfully launched.

15:25Just like that, you can immediately compile into APK or bundle. Let’s try compiling into a bundle. The compilation process is quite long, so I’ll pause for now. Here’s our bundle successfully compiled. It’s located in the build app outputs bundle release folder. That is we can from here up outputs bundle release here it is our file you can click choose open and finder and here it is 53 megabytes this file can already be uploaded directly to Google play market on your page which will have your unique identifier your unique identifier your unique name accordingly as in the previous API you can change here. Put your logo. Put your texts everything exactly the same. Also, I would like to note that after installing Android Studio, Android

16:41Studio itself will ask to download SDK versions. as well as console tools. So in this case console tools can be taken as 34 or 35 but everything will be automatic there. It will just ask that for full functionality. You need to download command tools. They are here. But this can be done immediately after installing Android Studio.

Afficher toute la transcription ↓