Smart Online Shopping iOS App with Augmented Reality (AR) and simple Social Media features using SwiftUI and Google Firebase Cloud Services

Last update: Jul 28, 2022

Table of contents

App Demo

AR online shopping iOS demo

AR.online.shopping.iOS.demo.mp4

How to Run

First make sure to install XCode version 13 or later and have iPhone X or later versions.

Clone the repository:

git clone https://github.com/AshkanGoharfar/AR-online-shopping-iOS.git

Go to the project directory.

cd AR-online-shopping-iOS

Next, run the following command to create podfile.

pod init

Open the podfile by the following command to add the dependencies.

open podfile

Copy and paste the follwing text to the podfile

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'AR-online-shopping-iOS' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for AR-online-shopping-iOS

  target 'AR-online-shopping-iOSTests' do
    inherit! :search_paths
    # Pods for testing
  end

  target 'AR-online-shopping-iOSUITests' do
    # Pods for testing
  end

  pod 'Firebase/Core'
  pod 'Firebase/Auth'
  pod 'Firebase/Firestore'
  pod 'Firebase/Storage'
  pod 'SDWebImageSwiftUI'

end

Run the following command to install the dependencies to the podfile.

pod install

Finally, open the AR-online-shopping-iOS.xcworkspace file using the Xcode. Connect your iphone to your MacBook and run the code :)

Context

How Augmented Reality in Ecommerce Can Deliver a More Enticing Shopping Experience?

One of the biggest challenges of online shopping is that it doesn’t lend itself well to a full sensory product experience. In a brick-and-mortar environment, you can try on clothes, touch fabrics, or see for yourself just how big a couch looks in a room.

While those things aren’t technically possible in ecommerce, augmented reality (AR) applications offer a way to give customers deeper and more complete information about your products — right from their own home.

Content

This code was implemented and fully tested on an iPhone XR with iOS 15.4 version and Xcode 13.

How it's written

The front-end was implemented using SwiftUI, ARKit, MessageUI, and FocusEntity. The User Authentication and Cloud Stroge was developed using Google Firebase.

Inspiration

We would be more than happy for any future collaboration towards adding new features and improving screens.

GitHub

https://github.com/AshkanGoharfar/AR-online-shopping-iOS
You might also like...

Poly is an unofficial Google Poly SDK, written in Swift

🦕 Unofficial Google Poly SDK in Swift – search, discover, and download 3D models and scenes

Aug 2, 2022

AR Ruler - A simple iOS app made using ARKit and SceneKit

AR Ruler - A simple iOS app made using ARKit and SceneKit

A simple iOS app made using ARKit and SceneKit.Which can try to simplify little things in your life such as measuring stuff.

Jul 22, 2022

IOS example app to generate point clouds in ARKit using scenedepth

IOS example app to generate point clouds in ARKit using scenedepth

Visualizing a Point Cloud Using Scene Depth Place points in the real-world using the scene's depth data to visualize the shape of the physical environ

Jul 25, 2022

PlacenoteSDK Sample app in native iOS using ARKit, written primarily in Swift

Placenote SDK for iOS Placenote SDK lets you easily build cloud-based Augmented Reality (AR) apps that pin digital content to locations in the real wo

May 13, 2022

A minimal iOS AR app that displays a wave animation using RealityKit2 Geometry Modifier

A minimal iOS AR app that displays a wave animation using RealityKit2 Geometry Modifier

AR Simple Sea A minimal iOS AR app that displays a wave animation using RealityKit2 Geometry Modifier. Xcode 13.3 Target: iOS / iPadOS 15.0+ SwiftUI,

Jul 14, 2022

Funny app with the fitting of sunglasses Used SwiftUI and RealityKit

Funny app with the fitting of sunglasses Used SwiftUI and RealityKit

Reality-Glasses-2021 on SwiftUI Funny app with the fitting of sunglasses. Used SwiftUI and RealityKit Interface and Features: Simple Intuitive Design

Nov 13, 2021

A library that allows you to generate and update environment maps in real-time using the camera feed and ARKit's tracking capabilities.

 A library that allows you to generate and update environment maps in real-time using the camera feed and ARKit's tracking capabilities.

ARKitEnvironmentMapper Example To run the example project, clone the repo, and run pod install from the Example directory first. Installation ARKitEnv

Jun 28, 2022

A library that allows you to generate and update environment maps in real-time using the camera feed and ARKit's tracking capabilities.

 A library that allows you to generate and update environment maps in real-time using the camera feed and ARKit's tracking capabilities.

ARKitEnvironmentMapper Example To run the example project, clone the repo, and run pod install from the Example directory first. Installation ARKitEnv

Jun 28, 2022

Cut and paste your surroundings using AR

An AR+ML prototype that allows cutting elements from your surroundings and pasting them in an image editing software.

Aug 12, 2022
ARDicee - Simple augmented reality app using SceneKit and ARKit
ARDicee - Simple augmented reality app using SceneKit and ARKit

ARDicee Simple augmented reality app using SceneKit and ARKit Requirements Xcode

Feb 4, 2022
ARID - Augmented Reality app using Apple’s ARKit framework which can recognise faces of famous scientists
ARID - Augmented Reality app using Apple’s ARKit framework which can recognise faces of famous scientists

ARID Augmented Reality app using Apple’s ARKit framework which can recognise fac

Jan 12, 2022
Develop simple and fun Augmented Reality (AR) iOS apps
Develop simple and fun Augmented Reality (AR) iOS apps

AR-Dice Simple and fun to use iOS app made to make Augmented reality (AR) be in

Feb 23, 2022
It is a music and podcast creation system that enables users to create multiple tracks using AR(Augmented Reality).
 It is a music and podcast creation system that enables users to create multiple tracks using AR(Augmented Reality).

AR-Studio It is a music creation system enables users to create multiple tracks using AR(Augmented Reality). Introduction AR Studio turns your iPad, a

Aug 31, 2021
Augmented Reality image tracking with SwiftUI, RealityKit and ARKit 4.

ARImageTracking This is an Augmented Reality Xcode project that uses Apple's newest RealityKit framework and ARKit 4 features, to dynamically track a

Aug 3, 2022
Furniture E-Commerce Augmented Reality(AR) app in iOS powered by ARKit
Furniture E-Commerce Augmented Reality(AR) app in iOS powered by ARKit

HomeMax-iOS Furniture E-Commerce Augmented Reality(AR) app in iOS powered by ARKit and SceneKit. Inspired by IKEA place app. Description Experience on

Dec 31, 2021
Browse the streets of Los Angeles on an Augmented Reality historical walking tour.

Ruscha AR 0.3 Browse the streets of Los Angeles on an Augmented Reality historical walking tour. Explore Hollywood through the photos of Ed Ruscha. Th

Jul 9, 2022
An augmented reality (AR) ghost hunting simulation for iPhone

ARanormal An augmented reality (AR) ghost hunting simulation for iPhone About ARanormal was the first game by Jesdo Software, released for iPhone in O

Nov 2, 2021
Placing Virtual Objects in Augmented Reality

Placing Virtual Objects in Augmented Reality Learn best practices for visual feedback, gesture interactions, and realistic rendering in AR experiences

Aug 7, 2022
Unofficial Google ARCore Swift Package for iOS

Google didn't want to make a swift package for ARCore… so let's do it instead.

Jul 15, 2022