Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 97 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,103 @@ jobs:
env:
NPM_CONFIG_REGISTRY: https://registry.npmjs.org/

validate-linkkit-xcframework:
runs-on: macos-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 22

- name: Validate LinkKit XCFramework slices and signatures
run: npm run check:linkkit

expo-56-ios-prebuild:
runs-on: macos-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 22
cache: "npm"

- name: Install Node modules
run: npm ci
env:
NPM_CONFIG_REGISTRY: https://registry.npmjs.org/

- name: Build package
run: npm run build
env:
NPM_CONFIG_REGISTRY: https://registry.npmjs.org/

- name: Pack local SDK
run: |
PACKAGE_TARBALL="$(node scripts/pack-compat-tarball.js "$RUNNER_TEMP")"
echo "PACKAGE_TARBALL=$PACKAGE_TARBALL" >> "$GITHUB_ENV"
env:
NPM_CONFIG_REGISTRY: https://registry.npmjs.org/

- name: Create Expo SDK 56 app with packed SDK
run: |
mkdir "$RUNNER_TEMP/expo-56-ios-app"
cd "$RUNNER_TEMP/expo-56-ios-app"
npm init -y
npm pkg set \
name=expo-56-ios-app \
private=true \
main=node_modules/expo/AppEntry.js
cat > app.json <<'JSON'
{
"expo": {
"name": "Expo 56 iOS App",
"slug": "expo-56-ios-app",
"ios": {
"bundleIdentifier": "com.plaid.expo56iosapp"
}
}
}
JSON
cat > App.js <<'JS'
import { Text } from "react-native";

export default function App() {
return <Text>Expo 56 iOS App</Text>;
}
JS
npm install "$PACKAGE_TARBALL" \
expo@56.0.12 \
react@19.2.3 \
react-native@0.85.3 \
--package-lock=false
npm ls react-native-plaid-link-sdk expo react react-native
env:
NPM_CONFIG_REGISTRY: https://registry.npmjs.org/

- name: Cache CocoaPods
uses: actions/cache@v4
with:
path: |
~/Library/Caches/CocoaPods
${{ runner.temp }}/expo-56-ios-app/ios/Pods
key: ${{ runner.os }}-expo-56-pods-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-expo-56-pods-

- name: Generate iOS project with Expo SDK 56
working-directory: ${{ runner.temp }}/expo-56-ios-app
run: npx expo prebuild --platform ios --clean
env:
NPM_CONFIG_REGISTRY: https://registry.npmjs.org/

build-ios-example:
runs-on: macos-latest

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ not supported.
| ----------------- | ------------ | ---- | ----------------------------------------------------------------------------------- |
| Minimum supported | 0.76 | 52 | Peer install and package export smoke test |
| Current example | 0.83 | 55 | Peer install and package export smoke test, Android unit tests, iOS simulator build |
| Latest Expo | 0.85 | 56 | Packed SDK install and iOS prebuild smoke test |

The root package unit tests run against the repository's development
dependencies, while the example app validates the current native integration on
Expand Down
17 changes: 0 additions & 17 deletions ios/Frameworks/LinkKit.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,6 @@
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>LinkKit.framework/Versions/A/LinkKit</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>LinkKit.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>LinkKit.framework/LinkKit</string>
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -52599,6 +52599,20 @@
"length": 23,
"value": "\"plaid_link_sheet_root\""
},
{
"filePath": "\/opt\/homebrew\/var\/buildkite-agent\/builds\/i-0926a7a7701540b80-2\/plaid\/client-ci\/link\/apple\/Sources\/Internal\/DefaultDeviceMetadataProvider.swift",
"kind": "StringLiteral",
"offset": 1634,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/opt\/homebrew\/var\/buildkite-agent\/builds\/i-0926a7a7701540b80-2\/plaid\/client-ci\/link\/apple\/Sources\/Internal\/DefaultDeviceMetadataProvider.swift",
"kind": "IntegerLiteral",
"offset": 1726,
"length": 1,
"value": "0"
},
{
"filePath": "\/opt\/homebrew\/var\/buildkite-agent\/builds\/i-0926a7a7701540b80-2\/plaid\/client-ci\/link\/apple\/Sources\/Public\/Models\/Structs\/LinkEvent.swift",
"kind": "StringLiteral",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@ public enum AccountSubtype : Swift.Codable, Swift.Equatable, Swift.CustomStringC
}
public init(from decoder: any Swift.Decoder) throws
public func encode(to encoder: any Swift.Encoder) throws
public var type: Swift.String {
get
}
public static func == (a: LinkKit.AccountSubtype, b: LinkKit.AccountSubtype) -> Swift.Bool
}
extension LinkKit.AccountSubtype {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@ public enum AccountSubtype : Swift.Codable, Swift.Equatable, Swift.CustomStringC
}
public init(from decoder: any Swift.Decoder) throws
public func encode(to encoder: any Swift.Encoder) throws
public var type: Swift.String {
get
}
public static func == (a: LinkKit.AccountSubtype, b: LinkKit.AccountSubtype) -> Swift.Bool
}
extension LinkKit.AccountSubtype {
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
<dict>
<key>files</key>
<dict>
<key>.DS_Store</key>
<data>
GCTeO5rSgLiqm/gTsVEtGMVv8/0=
</data>
<key>Headers/LinkKit-Swift.h</key>
<data>
9jY8sAjFPCyHvNo5AAqiMfhBWHI=
Expand All @@ -18,27 +14,27 @@
</data>
<key>Info.plist</key>
<data>
gfXO+SCOrfRzInfqoSk/ihZIiQA=
CCtLF/Sq9kGzANP7WX3EbJBgeYs=
</data>
<key>Modules/LinkKit.swiftmodule/arm64-apple-ios.abi.json</key>
<data>
dEkmc5jHFAYgiivkaqOihe7HMak=
BlapXKqZ1AOhb9bzugIyYJE64+U=
</data>
<key>Modules/LinkKit.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
<data>
Gu0jHdZnv0pk4PjU4m4AbLi3NwU=
xeUMKDnpAHpJfeA5CXoW9Ll4DNM=
</data>
<key>Modules/LinkKit.swiftmodule/arm64-apple-ios.swiftdoc</key>
<data>
kYXgefnqh5Yv8/pPP+ZCePh9Jo4=
</data>
<key>Modules/LinkKit.swiftmodule/arm64-apple-ios.swiftinterface</key>
<data>
Gu0jHdZnv0pk4PjU4m4AbLi3NwU=
xeUMKDnpAHpJfeA5CXoW9Ll4DNM=
</data>
<key>Modules/LinkKit.swiftmodule/arm64-apple-ios.swiftmodule</key>
<data>
C2ZWhGJ5mNVml4JjH1+FvOg+yoM=
Fn18Kk2T3pfmEctYDq9vjfF0Tkw=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand Down Expand Up @@ -69,14 +65,14 @@
<dict>
<key>hash2</key>
<data>
q4JkLXi0NotJnQSdqLhVzWKYP9aDCH8DOxkTpQzG7QM=
Rhdw57cQxiS7wgaTGJvkA7fs+1V0X1/VCM0PLfj5ZB0=
</data>
</dict>
<key>Modules/LinkKit.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
<dict>
<key>hash2</key>
<data>
yFDNHB9VNkPuJtj/k4pPbh9fmGm2uWCkHp80/RCfEsU=
16M6jMCEDB0b9dQ2K7+b/OajxUbVb2UVvn3Q/i22ySo=
</data>
</dict>
<key>Modules/LinkKit.swiftmodule/arm64-apple-ios.swiftdoc</key>
Expand All @@ -90,14 +86,14 @@
<dict>
<key>hash2</key>
<data>
yFDNHB9VNkPuJtj/k4pPbh9fmGm2uWCkHp80/RCfEsU=
16M6jMCEDB0b9dQ2K7+b/OajxUbVb2UVvn3Q/i22ySo=
</data>
</dict>
<key>Modules/LinkKit.swiftmodule/arm64-apple-ios.swiftmodule</key>
<dict>
<key>hash2</key>
<data>
ccODYdtbuATNHyzw8J43iwrzSM/sdvlJsyLgE3xAa5g=
1PE1LbGRuPPBhIcvlGo7kow10ukFXfRFNblUmafFp/8=
</data>
</dict>
<key>Modules/module.modulemap</key>
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading