English | 中文
HMS Core Offers an innovative solution that assists e-commerce apps with quick customer acquisition and improved conversion rates, for sustainable business growth.
This project contains the shopping demo app based on HMS Core Kits. It shows how to use the HMS Core solution in shopping app. It provides the demo of the whole shopping process except payment.
Firstly choose the area you are in, then you can download the Demo App from scanning the corresponding QR code.
Asia, Africa, and Latin America
Features of this application with HMS Core solution
Product list page
Product detail page
Favorite product collection/shopping cart
Picture/video/3D product showcase
Barcode scanning-based search
Photo scanning-based search//Voice Search
QR code scanning payment/QR code generation
One-tap login in/out
Notifications for order/payment update
User location/location filling
System integrity check
Comments, which can be translated in app
Bank card recognition
Membership rewards points
Offline store guidance
Discount price marketing
Product link share
Clone the repository:
git clone https://gitee.com/hms-core/hms-ecommerce-demo.git
You can also download the zip file containing the code in this page
Copy jks file and agconnect-services.json to app folder. About how to get these files, you can refer to Configuring App Information in AppGallery Connect
Update jks file information and application ID in app/build.gradle file.
Build the application from the command line:
cd hms-ecommerce-demo gradle clean gradle build
You can use the following barcode picture to test barcode buy function:
Location kit is used to get your current location to get the district information.
Identity kit is used to get configured address to make it fast for delivery address.
Analytics Kit will collect the basic usage information to App developer to analyze the App usage statistics.
Scene Kit can show the 3D model of the product.
Map and location kit can help to display offline store information generate navigation paths.
Search kit prodives developers with the open capability of smart assistant, which can automatically respond to users' questions through robotic conversations.
CaaS Kit capabilities allow users to share screens during shopping. When the user is browsing product page, he can click the share button to start sharing shoppping experience with friends.
Crash kit can collect and record statistics on application crash information.
Favorite products: Users can collect favorite products together and display them on the one favorites
Product discount price: The original price and discount price are displayed for all commodity prices. The discount price is highlighted.
New product: The new product is displayed on a separate page. The remaining time of the discount activity is displayed in the discount countdown. The users can subscribe to the products and trigger a push message.
Membership rewards points : When a user purchases a product, rewards points are added to the account based on the price of the product purchased by the user.
Product sharing: Users can share the product they like to social app, including but not limited to Alipay, WeChat, and Facebook.
The Shopping Demo is a Demo app which simulate a shopping process. There are limited products in the App. Some functions are unavailable or virtual service.
If you want to evaluate more about HMS Core, HMSCore on Reddit is for you to keep up with latest news about HMS Core, and to exchange insights with other developers.
If you have questions about how to use HMS samples, try the following options:
HMS Shopping Demo is licensed under the Apache 2.0 license.
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容，可点击提交进行申诉，我们将尽快为您处理。
：Code submit frequency
：React/respond to issue & PR etc.
：Well-balanced team members and collaboration
：Recent popularity of project
：Star counts, download counts etc.