Skip to content

Latest commit

 

History

History

applinking

app linking quickstart

English | 中文

Table of Contents

Introduction

App Linking allows you to create cross-platform links that can work as defined regardless of whether your app has been installed by a user. When a user taps the link on an Android or iOS device, the user will be redirected to the specified in-app content. If a user taps the link in a browser, the user will be redirected to the same content of the web version.

Preparing the Environment

  • A computer with Xcode installed for app development
  • An iOS device or simulator must support iOS 9 or a later version

Getting Started

Before running the quickstart app, you need to:

  1. If you do not have a HUAWEI Developer account, you need to register an account and pass identity verification.
  2. Use your account to sign in to AppGallery Connect, create an app, and set Package type to iOS.
  3. Enable AppLinking. (For details, please refer to the development guide.)
  4. Select Project Settings,download the agconnect-services.plist file from AppGallery Connect and copy the agconnect-services.plist file to the project root directory.
  5. Create a link prefix in AppLinking and copy and replace uriPrefix in ViewController.

Question or issues

If you have questions about how to use AppGallery Connect Demos, try the following options:

  • Stack Overflow is the best place for any programming questions. Be sure to tag your question with appgallery.
  • Huawei Developer Forum AppGallery Module is great for general questions, or seeking recommendations and opinions.

If you run into a bug in our samples, please submit an issue to the Repository. Even better you can submit a Pull Request with a fix.

License

quickstart is licensed under the [Apache License, version 2.0] (http://www.apache.org/licenses/LICENSE-2.0).