Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

VGS Collect and Show iOS SDKs in SwiftUI Integration Demo

NotificationsYou must be signed in to change notification settings

vgs-samples/vgs-collect-show-ios-swiftUI-demo

Repository files navigation

This examples shows how you can integrate VGS Collect/Show iOS SDKs into your SwiftUI application and secure sensitive data with us.

VGS Collect and Show iOS SDK are built upon UIKit, you can integrate VGS Collect and Show viewsusingUIViewRepresentable wrappers into your SwiftUI code.
Check more officialApple tutorials how to adapt UIKit views for SwiftUI.

NOTE: This demo is just an example of how UIKit views from VGS Collect/Show SDKs can be integrated into your SwiftUI application. VGS doesn't have official SwiftUI support yet.

ios-collect-show-swiftui-sample-filledios-collect-show-swiftui-sample-revealed

How to run it?

Requirements

Step 1

Go to yourVGS organization and establishInbound connection. For this demo you can import pre-built route configuration:

  • Find theconfiguration.yaml file inside the app repository and download it.
  • Go to theRoutes section on theDashboard page and select theInbound tab.
  • PressManage button at the right corner and selectImport YAML file.
  • Chooseconfiguration.yaml file that you just downloaded and tap onSave button to save the route.

Step 2

Clone demo application repository.

git clone git@github.com:vgs-samples/vgs-collect-show-ios-swiftUI-demo.git

Step 3

Setup"<VAULT_ID>".

FindDemoAppConfig.swift in app and replacevaultId constant with yourvault id.

Step 4

Before running iOS projectcd to the sample project directory and and run:

podupdate

Useworkspace file and run the demo.

NOTE: CardIO and CardScan support only iOS platform, scanners cannot be used in macOS app even it is built with SwiftUI.

Step 5

Submit and reveal the form then go to the Logs tab on a Dashboard find a request and secure a payload.Instruction for this step you can findhere.

About

VGS Collect and Show iOS SDKs in SwiftUI Integration Demo

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp