Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 3.33 KB

File metadata and controls

58 lines (41 loc) · 3.33 KB

E-Commerce

This document introduces how to quickly run through E-Commerce sample project.

Demo effect:

Prerequisites

  • Xcode 14 or higher
  • A mobile device that runs iPhone 13.0 or higher

Project Setup

  1. Follow The Account Document to get the App ID and App Certificate (if token is enabled).
  2. Follow Signaling Beginner's guide to enable signaling in Agora Console.You should enable the following:
  • Using storage
  • User attribute callback
  • Channel attribute callback
  • Distributed lock
  1. Open the iOS project and fill in properties got above to the root KeyCenter.swift file.

    # RTM RTC SDK key Config
    static let AppId: String = <#YOUR APPID#>
    static let Certificate: String? = <#YOUR CERTIFICATE#>
    
  2. Now you can run the project with Xcode to experience the application.

Source Code Sitemap

Path(iOS/AgoraEntScenarios/Scenes/Commerce) Description
Common/API/VideoLoaderAPI Agora Video Loader Scenario API.
Scenes/Commerce/Service/ E-Commerce service protocol and implement.
Scenes/Commerce/Controller/CommerceRoomListVC.swift E-Commerce room list view.
Scenes/Commerce/Controller/CommerceLivePagesViewController.swift E-Commerce room detail scroll page view.
Scenes/Commerce/Controller/CommerceLiveViewController.swift E-Commerce room detail view.
Scenes/Commerce/Models/CommerceAgoraKitManager.swift RTC Engine initializing.
Scenes/Commerce/View/ E-Commerce streaming UI widgets.

Feedback

If you have any problems or suggestions regarding the sample projects, feel free to file an issue.

Related Resources

  • Check our FAQ to see if your issue has been recorded.
  • Dive into Agora SDK Samples to see more tutorials.
  • Take a look at Agora Use Case for more complicated real use cases.
  • Repositories managed by developer communities can be found at Agora Community.
  • If you encounter problems during integration, feel free to ask questions on Stack Overflow.

License

The sample projects are under the MIT license.