Integrating Huawei’s AppGallery Connect Auth Service for iOS

Enabling Auth Service

Integrating the Service SDK

  1. Add the AppGallery Connect configuration file of the app to your Xcode project.
  2. Sign in to AppGallery Connect and click My projects.
  3. Click your project card and select an app for SDK integration from the app drop-down list at the top of the page.
  4. Go to Project settings > General information and download agconnect-services.plist under App information.
  5. Copy the agconnect-services.plist file to your app’s module directory.

Create a PodFile

Edit the PodFile

Designing the UI

Enabling Required Authentication Modes

  1. Sign in to AppGallery Connect and click My projects.
  2. Click your project card and select an app from the app drop-down list at the top of the page.
  3. Go to Build > Auth Service. On the Authentication mode tab page, enable Mobile number and Email address in the Operation column.

Developing Functions

Mobile Number

Email

Summary

Reference

--

--

--

Lead Developer Advocate for Huawei AppGallery | He/Him | All views are my own and do not represent the views of Huawei

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Troubleshooting AppGallery Connect APM for iOS

Integrating AppGallery Connect Crash Service in a Xamarin app for iOS

Integrating AppGallery Connect APM on iOS

App Privacy and Changes in the new version of iOS

How I coded an iOS App in 20 minutes

Widgets in iOS 14 — features and restrictions

Integrate ‘Sign in With Apple’ With Firebase Authentication

Integrate ‘Sign in with Apple’ with Firebase Authentication

Password validation in Swift 5

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
Zachary Powell

Zachary Powell

Lead Developer Advocate for Huawei AppGallery | He/Him | All views are my own and do not represent the views of Huawei

More from Medium

iOS: GraphQL apollo client with multi api URL’s

iOS CI/CD Experiments: GitLab (Runner) + Fastlane + SwiftLint

Continuously Building and Hosting our Swift DocC Documentation using Github Actions and Netlify

Firebase iOS Push Notifications Tutorial