Sign in

Introduction

  1. Demo download from GitHub
  2. SDK changes

I discovered that the last version of the Unity plugin for the Game Service SDK was 4.0.1.300, whereas the latest version is 5.0.4.302.

This version contains the following changes:

  1. Added GetGamePlayer and GetGamePlayer(bool isRequirePlayerId) to obtain a player’s unique ID.
  2. Added SetGameTrialProcess to listen to trial duration ending, which is used for preventing game addiction.
  3. Added AccountAuthParamsHelper to obtain further information about a HUAWEI ID, including OpenID, UnionID, and the email address.
  4. Added the OpenId, UnionId


Currently, AppGallery Connect Auth Service also supports web apps. I have integrated the service by referring to the official documentation. You can also download the sample code for reference. I’ll show you the simple procedure in this post.

Integration Procedure

a) Create a web app in AppGallery Connect.

b) Enable Auth Service.


Users can view a location in the built-in map of a quick app. This function is available only in the Chinese mainland. Your quick app needs to obtain the location permission of the device.

Call chooseLocation to allow users to select or search for a location. After the location is specified, its longitude and latitude will be returned. Then, call openLocation for navigation.

By default, DiDi of the quick app form is displayed in the navigation app. Baidu Maps and AutoNavi Maps are displayed for selection only when they are installed on the user device.

The following sample code uses…


Recently, I found that Remote Configuration of AppGallery Connect now supports the web platform, which I’ve long been waiting for. Previously, it has only been supported on Android, but now it can be applied to web apps. For details about the integration demo, visit GitHub.

Integration Steps

a) Sign in to AppGallery Connect and create a web app.

b) Enable Remote Configuration.

c) Click New parameter and set parameters.

2. Integrate the SDK.

a) Run the following command:

npm install –save @agconnect/remoteconfig

You may have found yourself with not enough phones to debug your app, especially when you’re developing an app with a rich array of functions that need a lot testing. It’s becoming increasingly costly to buy all of the phone models that can meet your test requirements.

Luckily for you, the Cloud Debugging service provided by HUAWEI AppGallery Connect is designed to address this issue. It provides a full range of Huawei phones on which you can remotely debug your app.

Now, let’s check out how to use this service.

1. Accessing Cloud Debugging


Cloud DB is a device-cloud synergy database product that provides data synergy management capabilities between the device and cloud, unified data models, and various data management APIs. In addition to ensuring data availability, reliability, consistency, and security, Cloud DB enables seamless data synchronization between the device and cloud, and supports offline app operations, helping you quickly develop device-cloud and multi-device synergy apps. For more information about Cloud DB, please click here.

Cloud DB can be easily integrated into apps through its SDK and APIs, ensuring security and reliability. …


Introduction

For example, the design of a pop-up includes a list, in which images are displayed on the left and descriptions need to be shown on the right, as shown in Figure 1 below. Another pop-up instructs users to check the app’s privacy statement via a link, as shown in Figure 2.

Figure 1 Pop-up with a list Figure 2…


HUAWEI AppGallery Connect Cloud Storage provides maintenance-free cloud storage functions.

Recently, the Cloud Storage JavaScript SDK for web has been released. I’ve been using it for a while.

1. Configuring Environment and Version Information

Environment:Window-Node -v14.15.0、npm v6.14.8、Intellij + Vue

Test Device:PC-Chrome

SDK version: “@agconnect/cloudstorage”: “1.0.0-beta3”

SDK integration command: npm install — save @agconnect/cloudstorage

2. Enabling and Configuring Cloud Storage in AppGallery Connect

https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-cloudstorage-apply

To enable Cloud Storage, you need to create an app first and add it to a project, or select an app from the project…


HUAWEI AppGallery Connect Cloud Storage provides maintenance-free cloud storage functions.

Recently, the Cloud Storage Node.js SDK for server integration has been released. I’ve been using it for a while. You can also access the sample code on GitHub.

1. Configuring the Environment and Version Information

Environment:Window-Node -v14.15.0,npm v6.14.8,Visual Studio Code

Test Device:PC

cloudstorage-server”: “1.0.0”

AppGallery Connect: https://developer.huawei.com/consumer/en/service/josp/agc/index.html

SDK version: agconnect/cloudstorage-server”: “1.0.0”

SDK integration command: npm install — save @agconnect/cloudstorage-server

2. Enabling and Configuring Cloud Storage in AppGallery Connect

https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-cloudstorage-apply

Create an app first and add it to…


Symptom

because the “serviceCatalog:X6” error was discovered for payments. I have checked my test environment by referring to the guide: connected to Wi-Fi, used Android and EMUI versions complying with the specifications, and used the environment in English.
Handling suggestions: Change the value of serviceCatalog so it is the same as the app category, and do not use the X6 value for your app.

Solution

  • Check whether you have called the GetBuyIntentWithPrice API. If so, check the value of serviceCatalog based on this material.

Note: The GetBuyIntentWithPrice API has been brought offline, so…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store