WEBVTT

00:00.080 --> 00:00.960
Welcome back.

00:01.240 --> 00:09.080
Now let's create our project in Android Studio to get the package name and the Sha one certificate from

00:09.080 --> 00:18.440
our application, click New Project, select Empty Compose Activity next and name the app maps app package

00:18.440 --> 00:21.320
name I o master coding dot maps API.

00:21.360 --> 00:28.720
By the way, I'm preparing this website to make it my my own website and put my courses and lectures,

00:28.720 --> 00:32.680
tutorials, ebooks presentations on this website.

00:32.720 --> 00:35.640
Also the Save location API 24.

00:35.800 --> 00:40.080
Kotlin DSL 20 DSL okay, click finish.

00:40.280 --> 00:41.680
Wait for Android Studio.

00:41.880 --> 00:44.520
Copy the package name, paste it here.

00:44.640 --> 00:48.520
Then we need to get the Sha one certificate.

00:48.560 --> 00:52.120
The A one secure hash algorithm.

00:52.120 --> 01:00.400
One fingerprint is a unique cryptographic identifier for your Android apps signing key.

01:00.640 --> 01:04.040
It ensures security and identification.

01:04.040 --> 01:11.990
Security verifies your app's authenticity when using Google APIs, maps, Firebase, and etc..

01:12.270 --> 01:13.470
Identification.

01:13.590 --> 01:19.590
Google cloud uses it to restrict API keys to your app.

01:19.630 --> 01:28.670
Why do you need a in Android for Google Maps API required to authenticate your apps API key?

01:28.790 --> 01:29.910
How to get it.

01:29.950 --> 01:41.310
We can go to Android Studio, click on Gradle and here we have this icon Execute Gradle task.

01:41.630 --> 01:46.790
And here we need to set the signing report.

01:46.790 --> 01:50.630
Select Signing Report and click enter.

01:50.910 --> 01:54.590
You will get here inside the console.

01:54.750 --> 01:59.790
Scroll up and you will get the SH1 code.

01:59.790 --> 02:06.670
Copy it and go back to here Paste and Restrict key.

02:06.750 --> 02:07.510
Here we go.

02:07.670 --> 02:15.770
We have the key and enabling API so you can Select the enable APIs.

02:15.810 --> 02:22.930
Click on enable APIs button if it is not enabled and complete profile.

02:22.930 --> 02:27.570
Also, you can edit Profile Preview APIs and explore more.

02:27.770 --> 02:34.570
Also, you can add more more SDKs, more APIs, but for now we are good.

02:34.570 --> 02:38.890
Click on preview APIs and you'll get this screen.

02:38.890 --> 02:42.050
Here we have web, Android iOS.

02:42.090 --> 02:43.810
We are interested in Android.

02:43.970 --> 02:47.930
Select the Product Maps SDK or places SDK.

02:48.290 --> 02:51.330
We are interested in the maps SDK.

02:51.570 --> 02:56.010
You can see set up guide and others.

02:56.010 --> 02:58.210
But we are good.

02:58.450 --> 03:00.610
We have created our project.

03:00.610 --> 03:07.170
We get the API key and we restrict this API key to our application.

03:07.170 --> 03:19.170
So there is no need to make security or just add this one security key and your package to restricted

03:19.170 --> 03:21.810
on Google Maps Console.
