React-native Android Access Gold map

Source: Internet
Author: User
Tags sha1

1. New Project

2. Apply for the Gold Key

1. Sign up for the gold developer

2. Gold Personal Center Application key

3. Fill in the information

Now you need to write SHA1 and PackageName.

SHA1 requires a project to be packaged to get to, package the project

Go to java->bin directory keytool-list-v-keystore E:\RN\ShareUmbrella\android\app\xx.keystore---Back to my directory

You can see the SHA1

PackageName into the project Android\app\src\main can see androidmanifest.xml inside the package= "package name" inside the package name is Packagsname

Enter the information at this point to get the key

3. Because I'm not very good at Java, so I found the plug-in online

Https://github.com/qiuxiang/react-native-amap3d;

Https://github.com/react-native-component/react-native-smart-amap-location

I used the first one.

As long as the key is correct, it can be positioned.

React-native Android Access Gold map

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.