ionic-team / portals-ecommerce-demo

E-commerce Demo App using Ionic Portals

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

portals-ecommerce-demo

E-commerce Demo App using Ionic Portals

This is an example application built in iOS and Android. Both are using the same web resources for their Portals.

Portals Registration Key

To try our Ionic Portals demo, both iOS and Android applications require you to input a Portals registration key. You may get a key by going to ionic.io/register-portals. Follow the instructions below to add your key to each platform demo application.

iOS

Install the dependencies and open the project

cd ./ios/Portals\ Ecommerce/
pod install
xed Portals\ Ecommerce.xcworkspace

It is important that you open the xcworkspace and not the xcodeproj file.

Portals registration key

Get you registration key from ionic.io/register-portals, then uncomment the following line in AppDelegate.swift and replace YOUR_KEY_HERE with your key.

// Register Portals
PortalManager.register("YOUR_KEY_HERE");

Android

Portals registration key

Get you registration key from ionic.io/register-portals, then uncomment the following line in EcommerceApp.java and replace YOUR_KEY_HERE with your key.

// Register Portals
PortalManager.register("YOUR_KEY_HERE");

Build and run the Android app

Web

Building

Before you build the iOS or Android source you will need to build the web resources in the web and featured-component directories:

cd ./web
npm install
npm run build

cd ../featured-component
npm install
npm run build

About

E-commerce Demo App using Ionic Portals

License:Other


Languages

Language:Java 35.3%Language:Swift 31.8%Language:TypeScript 22.8%Language:CSS 6.7%Language:SCSS 1.1%Language:HTML 0.9%Language:Ruby 0.7%Language:Objective-C 0.7%