Skip to content

Commit 196f0e6

Browse files
Merge pull request #92 from stytchauth/jordan/npm-publish-issues
Final (?) post-release fixes
2 parents 3b31f1a + 3662e60 commit 196f0e6

8 files changed

Lines changed: 39 additions & 5 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ jobs:
253253
publish-rn:
254254
name: Publish React Native
255255
runs-on: macos-latest
256-
needs: build-shared
256+
needs: [publish-kmp, publish-ios]
257257
env:
258258
DRY_RUN: ${{ github.event_name == 'workflow_dispatch' && inputs.dry_run == true }}
259259

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,32 @@ npm install @stytch/react-native-b2b
136136
yarn add @stytch/react-native-b2b
137137
```
138138

139+
**Native code setup**
140+
141+
If you are using bare React Native, ensure you run `pod install` from your iOS directory. If you are using Expo, you must add the two following configurations to your app config:
142+
```json
143+
{
144+
"expo": {
145+
"plugins": [
146+
["./node_modules/@stytch/react-native-consumer/src/app.plugin.cjs", {}],
147+
[
148+
"expo-build-properties",
149+
{
150+
"android": {
151+
"packagingOptions": {
152+
"exclude": ["META-INF/versions/9/OSGI-INF/MANIFEST.MF"],
153+
},
154+
"ios": {
155+
"useFrameworks": "static",
156+
}
157+
},
158+
},
159+
]
160+
]
161+
}
162+
}
163+
```
164+
139165
</details>
140166

141167
---

source/StytchSwiftUtils/StytchSwiftUtils.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@
681681
repositoryURL = "https://github.com/stytchauth/stytch-ios-dfp.git";
682682
requirement = {
683683
kind = upToNextMajorVersion;
684-
minimumVersion = 1.0.5;
684+
minimumVersion = 1.0.6;
685685
};
686686
};
687687
/* End XCRemoteSwiftPackageReference section */

source/ios/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ let package = Package(
1313
],
1414
dependencies: [
1515
.package(url: "https://github.com/GoogleCloudPlatform/recaptcha-enterprise-mobile-sdk", from: "18.8.1"),
16-
.package(url: "https://github.com/stytchauth/stytch-ios-dfp.git", .exact("1.0.5")),
16+
.package(url: "https://github.com/stytchauth/stytch-ios-dfp.git", .exact("1.0.6")),
1717
],
1818
targets: [
1919
.binaryTarget(

source/ios/Package.swift.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ let package = Package(
1313
],
1414
dependencies: [
1515
.package(url: "https://github.com/GoogleCloudPlatform/recaptcha-enterprise-mobile-sdk", from: "18.8.1"),
16-
.package(url: "https://github.com/stytchauth/stytch-ios-dfp.git", .exact("1.0.5")),
16+
.package(url: "https://github.com/stytchauth/stytch-ios-dfp.git", .exact("1.0.6")),
1717
],
1818
targets: [
1919
.binaryTarget(

source/react-native/b2b/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
],
2727
"license": "MIT",
2828
"homepage": "https://stytch.com/docs/sdks/react-native-sdk",
29+
"repository": {
30+
"type": "git",
31+
"url": "https://github.com/stytchauth/stytch-mobile"
32+
},
2933
"author": {
3034
"name": "Stytch",
3135
"url": "https://github.com/stytchauth"

source/react-native/consumer/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
],
2727
"license": "MIT",
2828
"homepage": "https://stytch.com/docs/sdks/react-native-sdk",
29+
"repository": {
30+
"type": "git",
31+
"url": "https://github.com/stytchauth/stytch-mobile"
32+
},
2933
"author": {
3034
"name": "Stytch",
3135
"url": "https://github.com/stytchauth"

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.1
1+
1.0.2

0 commit comments

Comments
 (0)