iOS Web Payments Starter

R
Renaudil y a 2 jours
0

Description

A starter kit for web payments

npx boilerapp ios-web-payments-starter

文档

Solito iOS Web Payments Example

Example Solito app that uses Stripe checkout on Web with an iOS app.

As of April 30, 2025, you can use web-based checkout on iOS without incurring Apple's commission.

Even though you're redirecting users to Web to complete their purchase, Apple pay is still supported. See the demo video below.

⚡️ Instantly clone & deploy API routes

Deploy with Vercel

🔦 About

This monorepo implemented npx create-solito-app@latest.

📦 Included packages

  • solito for cross-platform navigation
  • Next.js 15 for API routes
  • Expo 53 + React Native for the native app
  • stripe for payments
  • firebase for authentication (you can easily swap it out)
  • React Navigation 7
  • React 19 (see Solito compatibility docs)
  • React Compiler

🗂 Folder layout

  • apps entry points for each app

    • native
    • web
      • api
        • Checkout routes
        • Apple .well-known route
  • packages shared packages across apps

    • app you'll be importing most files from app/
      • features (don't use a screens folder. organize by feature.)
      • provider (all the providers that wrap the app, and some no-ops for Web.)
      • navigation Next.js has a pages/ folder. React Native doesn't. This folder contains navigation-related code for RN. You may use it for any navigation code, such as custom links.

You can add other folders inside of packages/ if you know what you're doing and have a good reason to.

🏁 Start the app

  • Install dependencies: yarn

  • Next.js local dev: yarn web

    • Runs yarn next in apps/web
  • Expo local dev:

    • First, build a dev client onto your device or simulator
      • cd apps/native
      • Then, either npx expo run:ios
    • After building the dev client, from the root of the monorepo...
      • yarn native (This runs npx expo start --dev-client)

🎙 About Solito

See the Solito docs for more information.

About this example

This example was created using the Solito starter. Please refer to that starter's README for more information on development.

Prix

Gratuit

FREE

评论 (0)

常见问题

常见问题解答 (FAQ)

有问题?我们有答案。如果您找不到想要的答案,请随时联系我们。

Boilerapp 是一个专门用于分享 Boilerplates、入门套件(Starter Kits)和项目模版的开发者社区平台。我们的目标很简单:为您节省初始配置(Setup)的时间,让您可以专注于真正重要的代码。无论您是在寻找简单的代码库还是完整的 SaaS 项目,都能在这里找到。

还有其他问题?

我们的团队随时为您提供帮助。联系我们,我们将尽快回复。