English | 中文
Cloud Functions enables serverless computing. It provides the Function as a Service (FaaS) capabilities to simplify app development and O&M so your ideas can be realized more easily and your service capabilities can be built more quickly.
- Cloud Functions provides an efficient and reliable framework for developing and running functions. It frees you from complex traditional development and O&M of apps. Server configuration and management, code deployment, load balancing, autoscaling, and high reliability assurance are now streamlined. You only need to focus on service logic and function code to build reliable and scalable serverless apps.
- As the core of serverless computing, Cloud Functions works with other cloud services like building blocks to implement your service logic.
Xcode 11.0 or later iOS 9 or later
- Check whether you have a HUAWEI ID. If not, register one and pass identity verification.
- Use your account to sign in to AppGallery Connect, create an app, and set Platform to iOS.
- Create a cloud function 3.1 Sign in to AppGallery Connect, click My projects, and click the project for which you want to enable Cloud Functions. 3.2 Go to Build > Cloud Functions and click Enable now. 3.3 Click New Function on the Functions page. 3.4 Define the function on the page that is displayed. 3.5 Click Save.
- Download the agconnect-services.plist file from AppGallery Connect, and add it to your project.
If you have any questions about the sample code, try the following:
- Visit Stack Overflow, submit your questions, and tag them with
appgallery
. Huawei experts will answer your questions. - Go to AppGallery in the HUAWEI Developer Forum and communicate with other developers.
If you encounter any issues when using the sample code, submit your issues or submit a pull request.
The sample code is licensed under the Apache License, version 2.0.