loans

iOS dependencies

Package.swift points to the remote SDK binary. scripts/fetch-ios-sdks.sh downloads it, checks the checksum, and repoints Package.swift at the vendored Frameworks/ copy. The podspec runs the script on pod install, and publish.yml runs it before pub publish. The pub.dev package ships the vendored SDK, so builds need no access to GitHub. Swift Package Manager does not run the script. From a git checkout it downloads the remote binary itself. To use a vendored copy instead, run scripts/fetch-ios-sdks.sh loans.

Installing a prerelease/ or preview/ branch of this repo as a git dependency pins an internal SDK build. Downloading it needs a ~/.netrc entry with a GitHub token that can read smallcase's internal iOS SDK repos:

machine api.github.com login x password <token>

iOS permissions

The plugin cannot add host-app privacy declarations. Apps using Loans KYC must add these usage descriptions to ios/Runner/Info.plist, with copy appropriate for their KYC experience:

<key>NSCameraUsageDescription</key>
<string>Camera access is required to capture your selfie during KYC.</string>
<key>NSMicrophoneUsageDescription</key>
<string>Microphone access is required for audio during video KYC.</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Location access is required to verify your location during KYC.</string>

A new Flutter plugin project.

Getting Started

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.