App Linking FAQs - Huawei Developers

Q: What is HUAWEI App Linking? What does it do?
Description: App Linking creates a link to be shared. When a user taps the shared link, a specific app is launched, and then they are linked to specific in-app content.
Advantage: Links of App Linking can be used on multiple platforms, including Android and iOS devices, and PC browsers.
Function: Once you integrate App Linking into your app, you can send a link to your users for them to share with their friends, or use one for promotion.
Q: What are the differences between HUAWEI App Linking and other competitive products?
A deep link is a basic capability of Android. It identifies apps based on a URL scheme. That is, when a user taps a link or program to access a web URL, the Android system identifies and displays all apps that support the URL scheme. After the user selects one from the list, that app can be launched.
App Links (Android):
Android supports App Links since 6.0. App Links are a special type of deep links. With the function, a user can directly open an app through a web address without needing to choose one from a pop-up.
Universal Links (iOS):
Universal Links are App Links of the iOS version, and have been available since iOS 9. They allow apps to be launched through HTTP links.
Though they both have been developed for years, they have two disadvantages:
1. Poor cross-platform compatibility: It takes a lot of workload to adapt them to different platforms.
2. Poor user experience when a requested app is not installed: When a user taps a link to launch an app they haven’t installed on their device, they need to install it first by themselves before accessing the in-app content.
HUAWEI App Linking can solve the problems. It not only has all the advantages of the solutions above, but also does better. App Linking supports both Android and iOS devices. It allows you to set link behavior as well. You can link a user to HUAWEI AppGallery for app install, and they can still be linked to the target content after installing the app and launching it for the first time.
Q: Does App Linking support non-Huawei devices?
Currently, the App Linking SDK 1.4.1.300 no longer depends on HMS Core (APK), and can be used on all Android devices.
The iOS SDK has also been released. For details, please visit:
https://developer.huawei.com/consum...c-applinking-sdkdownload-ios-0000001058715537
Q: If a user has not installed HUAWEI AppGallery on their device, can they be redirected to the local app store?
You can set the link behavior to Open a local app store, as shown in the following figure.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
For non-Huawei Android devices:
App Linking uses the MARKET protocol to launch all app stores installed on the device for the user to choose from. After the user selects an app store, App Linking sends your app package name to it. Then the app store will search for and display your app.
For iOS devices:
The user will be linked to your app details page on App Store.
Q: Are there any restrictions on data statistics of App Linking?
l For a link of App Linking created in AppGallery Connect, you can directly view the numbers of clicks, first-opens, and re-opens. (This function is not supported if the link is created on the device side using the App Linking SDK.)
l App Linking can work with HUAWEI Analytics to collect relevant events. All tracing parameters you configure can be viewed in HUAWEI Analytics.
For more details, please check:
https://developer.huawei.com/consum...ry-connect-Guides/agc-applinking-introduction

Related

[AppsUP] Frequently Asked Questions About Huawei Ads Kit

AppsUP contest has already been launched for one month. A number of participants in the forum ask some questions about Ads Kit. Today I want to share the frequently asked questions of Ads Kit with you. Hope they can be helpful for you.
Q: How to integrate Huawei Ads in my game? How could it compliant to EU consent?
A: Here is the link: https://developers.google.com/admob/android/eu-consent
Q: How to get ads ids for my apps those are available on Huawei Developer Console?
A: regarding getting Ads ID, please first make sure your developer account is a Company Account, because Ads on individual account is not available just yet.
If your account is a company account, you can login to your console
https://developer.huawei.com/consumer/en/console#/serviceCards/
Then look for the Monetize Service section and click on Publisher Service. There you can select My Apps, click Add app, and then you can register your app for Ads Service. Afterwards an Ads ID will be generated for you and will be showed on the panel.
Q: I used cordova for development app and plugins that provided from huawei like analytics and I succeeded, but for ads-kit can’t find guide for integration plugin - only I can find download plugin 4.0.4 and demo example. But what I get Console without any fired event that registered like "failed" and also did not get any Oaid.
A: Some kits are incompatible with non-huawei devices, even if you install the HMS core APK. You can check the compatibility for each kit here.
Q: I find all the sample use the test ads id but how to make the release one?
A: Individual account is not supported yet, but this function will be available at end of August, confirmed by related department.
Q: Why do native ad videos fail to be played and remain in loading state?
A: On mobile phones whose targetSdkVersion is 28 or later, ad video assets may fail to be downloaded. In this case, you need to configure the app to allow HTTP network requests. For details, please refer to Configuring Network Permissions.
Q: What are the differences between the ads-lite SDK, ads-identifier SDK, and ads-install referrer SDK provided by HUAWEI Ads Kit?
A: The Difference:
1. ads-lite: Integrates ad formats such as banner, native, rewarded, interstitial and splash ads.
2. ads-identifier: Obtains the OAID and the value of Disable Ads Personalization.
3. ads-installreferrer: used to obtain an install referrer.
To know more please refer to Integrating the HUAWEI Ads SDK.
Q: How is an ad report generated? Is developer data reported in two copies (one copy for Huawei and the other copy for the third-party platform)?
A: An ad report is generated after the server cleans various ad SDK-reported ad events for the anti-cheating purpose. The ad SDK in the app reports data to the ad platform and third-party advertising platform.
Q: I am individual developer. What platform I can use to monetize my apps?
A: You can apply for the Merchant Service if you want to use the In-App Purchases service, distribute paid apps or themes, or carry out joint operations (for apps, games, and themes) with Huawei. Please follow the instructions here:
https://developer.huawei.com/consumer/en/doc/start/10112#h1-1588057611069
Q: I want to distribute my Games in China. When I select china it asks me to upload some Copyrighted approved content? How can I bring these documents to china government because I am not from China but I want to distribute my games in China as well on App Gallery.
A: a. Publish a game in China, the law has requirements for both companies and games.
For companies: should have ICP, Network culture business license and Internet publishing license
For games: should have Software copyright, Game operation record and ISBN
b. Oversea game companies cannot apply for the certificates, so only have two ways to launch game in China:
Register company in China with 100% domestic capital Agent cooperation, and find a Chinese publisher release in China
Q: Why do banner ads fail to be obtained after my app has integrated the HUAWEI Ads SDK? The displayed error code is 1.
A: If the value of errorCode is 1, check whether AdId and BannerAdSize are correctly set in BannerView. The following table describes the error codes.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If you also have other questions about this kit. Leave your reply below.

Convert Your HTML5 App into a Quick App with One Click to Boost Traffic Growth

More information llike this, you can visit HUAWEI Developer Forum​
The Internet has become a daily necessity for all industries. Traditional enterprises are also seeking new opportunities with mobile Internet-based operations in this promising land that offers a range of new opportunities for growth.
It is well recognized that mobile services are borne by apps. However, it is not a good choice for enterprises to develop their own native apps as doing so is time-consuming and brings many difficulties. This is when quick apps come into the picture. With the advanced basic architecture and underlying services provided by the Quick App Alliance, HUAWEI Quick App can help you slash development costs.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What are quick apps?
Quick apps are a new type of installation-free app, developed according to industry standards formulated by the Quick App Alliance, which consists of most of the mainstream mobile phone manufacturers in China. A quick app can be distributed to all mobile phones that support these standards, without needing to be adapted
Features
Reduces development costs
20% of the coding required for native apps
Easy to develop via JavaScript or CSS
Opens new doors
Cross-platform redirection that accounts for all usage scenarios, on a diverse range of devices
Attracts users
Responsive service/content access, for an enhanced user experience
Multi-dimensional analytics, helping you acquire and retain users, for improved user engagement
How to open quick apps
HUAWEI Quick App: 75 Million+ MAU
After being made available since March 20, 2018, HUAWEI Quick App has quickly seized a considerable market share with its revolutionary "installation-free and tap-to-use" experience.
By the end of March, 2020, more than 3900 quick apps from top developers have been released on HUAWEI AppGallery to global users, with a total of over 75 million global MAU.
HUAWEI Quick App Supports One-Click Web App Packaging and Release
HUAWEI Quick App supports one-click packaging of HTML5 web apps, which is a new and easy-to-use feature and can help to open up a broad market.
Quick apps rely on the cross-platform engine of Quick App Center to provide users with a stable and smooth experience.
When to Use One-Click Packaging?
You can package a web app into your own quick app as long as it is based on HTML5 and provides the same experience as that of the native app.
Advantages of One-Click Packaging
1. One-click packaging helps you reduce development costs.
2. Users can obtain and directly use your quick app on HUAWEI AppGallery once you have packaged and released it.
3. One-click packaging can be completed within one minute, without requiring any technical skills or a digital signature.
4. The packaging process is entirely online, saving you a lot of time and labor.
How Do I Use One-Click Packaging?
Follow our instructions to master the one-click packaging feature.
1. Register a HUAWEI ID with HUAWEI Developers and sign in to AppGallery Connect.
2. Click My projects, create your project, add a quick app, then provide app information, such as an app icon.
3. Go to Version information > Software version page and click Generate RPK based on HTML5 page URL. The generated RPK package is then displayed in the area.
4. Click Download, save the RPK package to your PC, then start testing the generated package.
5. If the test is successful, complete the version and app information and click Submit.
In the near future, most mobile apps will be deployed on the cloud. By then, users will be able to directly open and use the apps by simply tapping them in HUAWEI Quick App Center, which is more efficient and convenient.

Distributing your game on Huawei App Gallery with Unity Distribution Portal (UDP)

More information like this, you can visit HUAWEI Developer Forum​
Introduction.
In this article I would like to delve into a topic that has been somewhat recurrent in the questions in the communities, which is the UDP distribution to Huawei App Gallery. So through this this text we will understand how to distribute our game in Unity UDP.
Let's start with a little theory. d( ̄◇ ̄)b
What is UDP?
This service allows us to distribute our game to multiple Android stores through the same concentrator (hub) Using the same build.
Which stores are supported in UDP?
Samsung Galaxy Store
One Store
Mi GetApps
Huawei App Gallery
QooApp Game Store
Share it Game Store
Tpay Mobile Stores
AppTutti
VivePort
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Which versions of Unity are supported?
Supports from 5.6.1 and later, but it is recommended to use 2018.4+
What is the price of UDP?
It is free for developers and you can download it from the package manager in your project.
Procedure on UDP Platform
Let's see how we install it.
Once we have the distribution Portal installed, we should have the following menu in the Window tab.
Now we have to create an ID in case we don't have one already created.
Once the Unity ID has been created it will be necessary to go to the Unity Distribution portal page, in this portal we can create our game for distribution.
https://distribute.dashboard.unity.com
Inside the portal we have to create a new game on the console
Now we must capture the data of our game
After we complete the filling of data, we have to create a Release Version of our Game. We can create a revision TAG and some notes
Now its time to select the store where we want to release our game so
We are going to select Huawei App Gallery so I want to share with you the process to of releasing on this store.
Procedure on App Gallery Console
Sign up to HUAWEI AppGallery
The First requisite is to have a Huawei developer verified account. Im quite sure that you have one because you are surfing through this Forum. So lets skip this step.
Sign in into AGC to create yout Game App
Create your game on AppGallery
Fill the forms on the registration of App. Dont forget to select Game
Important!! o(・_・)9
Be sure to match your game genre to the one you choose on UDP
Like most of the Kits of HMS we have to set the package name manually so take the name that you assign on your Unity Project
link your game to UDP
Now Go! back to UDP Distribution Portal and Click Link game to UDP and authorize the link by authenticating with your HUAWEI account.
Your game should now be linked between AppGallery and UDP. If an error pops up, be sure to correct it with the error details provided.
Complete your game registration
Once your game is linked to UDP successfully, you will reach the Game Registration form. The greyed-out fields were retrieved from AppGallery during the linking process. The remaining fields need to be input manually before you can complete the registration of your game.
Where can i find the following information?
This information can be found in your AGC Console
Final Step Submitting your game to HUAWEI AppGallery
Go the the Publish section
Any warnings or errors will be flagged ahead of submitting your game to AppGallery. Errors must be addressed before you can submit.
You can set a launch date for your game, but only before submitting it.
When you’re satisfied, click “Publish” at the top right of the screen.
You will be sent to the Status section showing your game’s submission progress.
Once your submission is successful, you still have one last step to perform on the AppGallery console.
Conclusion
I hope this small guide helps you to understand and complete your UDP Publication

Huawei App Linking : Increase views for your in-app content

Introduction
App Linking or deep linking is a technology which enable businesses to provide ease of access for their potential services.
Deep links are links which re-direct users directly to a specific app or application feature instead of a website or store.
They are used to re-direct users straight to in-app locations, saving the users time and energy.
Deep linking does this by specifying a custom URL scheme (iOS Universal Links) or an intent URL (on Android devices) that opens your app if it’s already installed. Deep links can also be set to direct users to specific events or pages.
Huawei App Linking leverage developers/users to create cross platform links which can work as defined and can be distributed via multiple channels to users.
When the user taps the link, it will be re-directed to the specified in-app content.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Huawei App Linking has multiple functions:
1. Support for deferred deep links
2. Link display in card form
3. Data statistics
Huawei App Linking supports the link creation in multiple ways:
1. Creating a link in AppGallery Connect
2. Creating a link by calling APIs on the client
3. Manually constructing a link
Use Case
There could be multiple use cases for this capability, however I will throw some light on a use case which is most commonly adapted by the applications with complex UX and high transmission between different in-app pages.
In this scenario one application shares the link between counter applications to re-direct to in-app content of a third application.
We will have an application which shares the app link at one end to another (It can be a simple chat platform capability). At the receiver end, user can click on the link and directly navigate to the specific in-app content.
Working
Following are the steps to develop this scenario
1. Development of news application which will be deployed locally.
2. Development of share application which will be deployed locally.
3. Integration of Huawei App Linking Api’s to receive the link and re-direct to the in-app content of news app.
4. Enabling the App linking service in AppGallery Connect.
5. Creating deep link through AppGallery Connect.
Development Overview
1. Must have a Huawei Developer Account
2. Must have Android Studio 3.0 or later
3. Must have a Huawei phone with HMS Core 4.0.2.300 or later
4. EMUI 3.0 or later
Software Requirements
1. Java SDK 1.7 or later
2. Android 5.0 or later
Preparation
1. Create an app or project in Android Studio.
2. Create an app and project in the Huawei AppGallery Connect.
3. Provide the SHA Key and App Package name of the project for which you want the App Linking to be done (Example: News application)
4. Download the agconnect-services.json file and paste to the app folder of your android studio.
Integration
Add below to build.gradle (project)file, under buildscript/repositories and allprojects/repositories.
Code:
Maven {url 'http://developer.huawei.com/repo/'}
Add below to build.gradle (app) file, under dependencies to use the App Linking SDK.
Code:
dependencies{
// Import the SDK.
implementation 'com.huawei.agconnect:agconnect-applinking:1.4.1.300'
}
News Application
News application is developed with multiple content and complex UX to show the capability of the Huawei App Linking.
I will highlight some of the important code blocks for this application.
Main Activity
This activity is the entry point for the application which will have the navigation tab to handle the multiple news categories.
Also, it receives the App Link, read it and re-direct it to the corresponding content.
Creating a link in AppGallery Connect to directly open the Science tab for the News Application through a link
1. Login to AppGallery Connect.
2. Choose My Projects > NewsWorld(App Linking).
3. Choose > Growing > App Linking>Enable now
More details, you can visit https://forums.developer.huawei.com/forumPortal/en/topic/0204412564790410224

Canva on HMS vs on GMS

Canva on HMS vs on GMS
With over 100,000,000 downloads, the Canva app is one of the most popular photo and video editing apps. It is designed to be used by anyone who wants to improve their photos or put together a video using their powerful editing tools. Use templates for specific social media platforms like Instagram, Pinterest, or Facebook. This app will be able to crop your photo/video appropriately and export it in the correct resolution. It's an easy way to spice up your social media posts.
Traditionally Canva has only been available on GMS phones, through the Google Play store. Now you can download Canva for HMS phones with the Huawei AppGallery. This brings the app to more users on more platforms. So how do the two versions of this app compare? Let's take a look.
Canva on GMS
Opening the app after a fresh install will bring you to the login screen. Since this app is the GMS version, you have the option to log in with your Google account. You can also log in via email and a few other options.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Once you're in the app, you'll be shown the main page where you can browse templates for different types of social media. It's very easy to get started with new projects and quickly create media that matches your brand or aesthetic.
A premium subscription to the app unlocks a bunch of features. You can pay $12.99 a month, or $119.99 a year for these paid features. There is an option to try Canva Pro for 14 days.
Canva on HMS
To use the HMS version of Canva, you can download it for free from the Huawei AppGallery. Once you launch the app, you'll run into your first glitch which is a result of converting the app from GMS to HMS. A message will appear that says "Canva won't run without Google Play services, which are not supported by your device". This message can be ignored, and you can continue to log in via email. However, the lack of GMS does seem to cause further issues with other features in this app.
Once you are logged in and find yourself on the main screen, you can select a template to start a new project. Unfortunately, this is where the next issue comes up. When trying to create a project from a template, you are shown an error that says "You are offline. We are unable to reach Canva. Please check your network settings and try again."
The last section where you'll run into errors is trying to use the premium subscription service. This requires GMS to manage your payments, so it cannot be accessed.
So even though Canva is available on the Huawei AppGallery, the app doesn't seem ready for HMS users. Hopefully, updates in the future will fix this.
Here we go
We here for you

Categories

Resources