/agc-client-demos-unity

agc-client-demos-unity

Primary LanguageC#Apache License 2.0Apache-2.0

agc_unity_demo

license

This repository contains the source code for AppGallery Connect Unity demos, which are developed by the AppGallery Connect team.

These demos enable access to using specific APIs. For more demos and how to use them, please refer to the AppGallery Connect documentation.

Introduction

These are the available plugins in this repository.

Demo Version Documentation
authservice version Getting Started
API Reference
cloudfunction version Getting Started
API Reference
clouddb version Getting Started
API Reference
storage version Getting Started
API Reference
crash version Getting Started
API Reference

Third Party Login Provider Implementation

Unity Client SDK can help you authenticate users with third-party accounts when they sign in to your app. For further information you can check Auth Service Introduction.

The Auth Service Demo Project Provides sample codes for Third Party Login for Facebook SDK. For Integration process you can follow the steps in Facebook Unity SDK

After you complete these steps. You can use following Facebook Auth Provider class inside the demo project:

Assets/Resources/Scripts/ThirdPartyProvider.cs

Precautions

Unity IDE 2020 or above should be installed on your environment.

After downloading the code, you can load the project to the Unity IDE as required.

In order to successfully run this demo project you need to add your agconnect-services.json configuration file of your app on AppGallery Connect to the project file on Assets/Resources/agconnect-services.json.

Technical Support

If you have any questions about the sample code, try the following:

  • Visit Stack Overflow, submit your questions, and tag them with appgallery or appgallery connect.
  • Go to AppGallery in the HUAWEI Developer Forum and communicate with other developers.
  • Submit a ticket online to contact Huawei technical support if you encounter a serious or an urgent problem.