ShoppingateShoppingateDevelopers
shoppinggate.app ↗
Documentation
  • What is a Mini App
  • Why Mini Apps
  • API integration
  • SDK
  • Webview
  • Mini App architecture
  • Getting started
  • Choosing your path
  • Introduction
    • Introduction
    • Sign up & login
    • Dashboard & analytics
    • Mini-Programs
    • Submit & publish a version
    • App Binding
    • Privacy Settings
    • Allowed URL
    • Users & roles
    • Introduction
    • Become a Mini-App vendor
    • API keys
    • My Mini-Apps
    • Orders
    • Webhook
    • Deep-link config
    • Introduction
    • Install & log in
    • Create a project
    • The workspace
    • Preview & upload
  • Introduction
  • Configuration
  • Lifecycle
  • Routing & query
  • Host functions
  • orderPayment
  • Permissions
  • User info
  • Introduction
  • Configuration
  • SDK
  • Lifecycle
  • Routing & query
  • Host functions
  • orderPayment
  • Permissions
  • User info
  • Web app and shell calls
  • Look and feel
  • Overview
    • Verify user
    • Create order
    • Get order
    • Update order status
    • Charge an order
    • Send a notification
  • Subscriptions
    • Create a subscription
    • List subscriptions
    • Get a subscription
    • Update a subscription
    • Reschedule next charge
    • Change plan (upgrade)
    • Cancel a subscription
  • Webhooks
Native mini-app

Introduction

A native Mini App is built specifically for the Shoppingate app — and runs inside it as if it were part of it.

What it is

Its screens are drawn by the Shoppingate app itself, so your Mini App looks, scrolls and moves like the rest of the app. It reaches Shoppingate's features — the signed-in user, payment, orders, the device — directly, with nothing in between.

Why a Mini App

Two systems usually connect in one of three ways. Each one has a cost:

API integration
The two systems exchange data, and one side builds all the screens for the other's service. Every new feature needs work and coordination on both sides, and you don't control how your service looks to its users.
SDK
Your code is built into the other company's app. Every change waits for their app release and the app-store review, and the two codebases are tied together.
Regular webview
Your website opens inside the other app. A good host can wrap it with shared payment and user info — but the wrapper is only a container. Your app still lives and changes outside the host's control, with no review, no release management, no tools, and no place in the app where users find it.

A Mini App keeps the strengths of each way and drops their costs. You ship on your own schedule, like a website. You reach the signed-in user, payment and the device, like an SDK. And unlike a wrapper, you get a whole platform around your app: review and release control, security rules, tools, business tools and a place where users find you.

Well-built webview wrapper
Mini App
Releases
Whatever is on your server goes live, unchecked
Every version is reviewed, can go out gradually, and can be rolled back
Security and privacy
Up to each host
Platform rules for everyone: per-feature user permission, approved domains only, and a privacy policy shown to users
Tools
Your own
An IDE with a simulator, preview on a real phone, and one-click upload
Business tools
None
Orders, webhooks, API keys, your team and roles, and analytics, in one place
Being found
A link someone has to open
Users can search for your Mini App inside Shoppingate
Speed
A web page, loaded from the network every time
Downloaded on the first open, then cached on the phone — so it opens fast every time after. Its screens are drawn by the Shoppingate app itself

What your Mini App gets

The fastest, smoothest experience
Built for the Shoppingate app, with screens drawn natively — not a web page.
No Shoppingate app release needed
You publish and update your Mini App yourself, after review.
Opens inside the Shoppingate app
Users don't download anything or leave the app.
Already signed in
Your Mini App knows the Shoppingate user, with no separate login.
Payment through Shoppingate
Wallet, card, Apple Pay and Tamara — with no fees, and no checkout to build.
Device features
Camera, location, photos and more. The user is asked for permission only when they need the feature — not when your Mini App opens.
Found by users
Users can search for your Mini App inside Shoppingate.
The exact screen, every time
Deep links take the user straight to the right screen in your Mini App.

In this section

  1. 1ConfigurationYour Mini App's pages, window and tab bar.
  2. 2LifecycleWhat runs when your Mini App and its pages open, show and close.
  3. 3Routing & queryOpening a page directly, and passing data to it.
  4. 4Host functionsOrders, payment, refunds and support tickets from Shoppingate.
  5. 5orderPaymentCreate an order and take payment in one call.
  6. 6PermissionsAsking the user for the camera, location and more.
  7. 7User infoReading the signed-in user, and keeping it current.

Not sure which kind of Mini App fits you? See Choosing your path.