-
Notifications
You must be signed in to change notification settings - Fork 395
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
17bc157
commit 594d8d2
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/node_modules/@privy-io/expo-native-extensions/ios/ExpoNativeExtensionsModule.swift b/node_modules/@privy-io/expo-native-extensions/ios/ExpoNativeExtensionsModule.swift | ||
index f74584a..7d6cd89 100644 | ||
--- a/node_modules/@privy-io/expo-native-extensions/ios/ExpoNativeExtensionsModule.swift | ||
+++ b/node_modules/@privy-io/expo-native-extensions/ios/ExpoNativeExtensionsModule.swift | ||
@@ -20,7 +20,7 @@ public class ExpoNativeExtensionsModule: Module { | ||
return "Hello from privy native extensions! 👋" | ||
} | ||
|
||
- AsyncFunction("writeRecoverySecretToICloud") { (options: WriteICloudRecoverySecretOptions) in | ||
+ AsyncFunction("writeRecoverySecretToICloud") { (options: WriteICloudRecoverySecretOptions) -> WriteICloudRecoverySecretResponse in | ||
// Ensure user is logged into iCloud, or throw an error | ||
let isUserLoggedIntoICloud = await isUserLoggedIntoICloud(containerIdentifier: options.containerId) | ||
if !isUserLoggedIntoICloud { | ||
@@ -49,7 +49,7 @@ public class ExpoNativeExtensionsModule: Module { | ||
} | ||
|
||
// TODO: after finalizing how we want to handle async functions, update this function to match | ||
- AsyncFunction("readRecoverySecretFromICloud") { (options: ReadICloudRecoverySecretOptions) in | ||
+ AsyncFunction("readRecoverySecretFromICloud") { (options: ReadICloudRecoverySecretOptions) -> ReadICloudRecoverySecretResponse in | ||
// Ensure user is logged into iCloud, or throw an error | ||
let isUserLoggedIntoICloud = await isUserLoggedIntoICloud(containerIdentifier: options.containerId) | ||
if !isUserLoggedIntoICloud { |