From e5b3780de4c148851b4ef667218acd3831524103 Mon Sep 17 00:00:00 2001 From: Mohamad Jamaleddine Date: Tue, 8 Oct 2024 10:42:35 -0600 Subject: [PATCH 1/2] Updates Carthage section of Intro docs --- docs/docs/introduction.md | 8 ++-- .../demo/ios/Example/PrivacyInfo.xcprivacy | 37 +++++++++++++++++++ 2 files changed, 42 insertions(+), 3 deletions(-) create mode 100644 examples/demo/ios/Example/PrivacyInfo.xcprivacy diff --git a/docs/docs/introduction.md b/docs/docs/introduction.md index 0e17929d..9e5abaf5 100644 --- a/docs/docs/introduction.md +++ b/docs/docs/introduction.md @@ -10,7 +10,9 @@ Get started by installing the dependencies in your application ```sh yarn add react-native-app-auth ``` + Or + ```sh npm install react-native-app-auth --save ``` @@ -68,11 +70,11 @@ AppAuth supports three options for dependency management. github "openid/AppAuth-iOS" "master" - Then run `carthage update --platform iOS`. + Then run `carthage update --platform iOS --use-xcframeworks`. - Drag and drop `AppAuth.framework` from `ios/Carthage/Build/iOS` under `Frameworks` in `Xcode`. + Drag and drop `AppAuth.xcframework` from `ios/Carthage/Build` under `Frameworks` in `Xcode`. - Add a copy files build step for `AppAuth.framework`: open Build Phases on Xcode, add a new "Copy Files" phase, choose "Frameworks" as destination, add `AppAuth.framework` and ensure "Code Sign on Copy" is checked. + Add a copy files build step for `AppAuth.xcframework`: open Build Phases on Xcode, add a new "Copy Files" phase, choose "Frameworks" as destination, add `AppAuth.xcframework` and ensure "Code Sign on Copy" is checked. 3. **Static Library** diff --git a/examples/demo/ios/Example/PrivacyInfo.xcprivacy b/examples/demo/ios/Example/PrivacyInfo.xcprivacy new file mode 100644 index 00000000..41b8317f --- /dev/null +++ b/examples/demo/ios/Example/PrivacyInfo.xcprivacy @@ -0,0 +1,37 @@ + + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategorySystemBootTime + NSPrivacyAccessedAPITypeReasons + + 35F9.1 + + + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + + From cd9bcd3c12ad763eeba8095daf2975b2ee3f2bd9 Mon Sep 17 00:00:00 2001 From: Mohamad Jamaleddine Date: Tue, 8 Oct 2024 10:48:35 -0600 Subject: [PATCH 2/2] Delete examples/demo/ios/Example/PrivacyInfo.xcprivacy --- .../demo/ios/Example/PrivacyInfo.xcprivacy | 37 ------------------- 1 file changed, 37 deletions(-) delete mode 100644 examples/demo/ios/Example/PrivacyInfo.xcprivacy diff --git a/examples/demo/ios/Example/PrivacyInfo.xcprivacy b/examples/demo/ios/Example/PrivacyInfo.xcprivacy deleted file mode 100644 index 41b8317f..00000000 --- a/examples/demo/ios/Example/PrivacyInfo.xcprivacy +++ /dev/null @@ -1,37 +0,0 @@ - - - - - NSPrivacyAccessedAPITypes - - - NSPrivacyAccessedAPIType - NSPrivacyAccessedAPICategoryFileTimestamp - NSPrivacyAccessedAPITypeReasons - - C617.1 - - - - NSPrivacyAccessedAPIType - NSPrivacyAccessedAPICategoryUserDefaults - NSPrivacyAccessedAPITypeReasons - - CA92.1 - - - - NSPrivacyAccessedAPIType - NSPrivacyAccessedAPICategorySystemBootTime - NSPrivacyAccessedAPITypeReasons - - 35F9.1 - - - - NSPrivacyCollectedDataTypes - - NSPrivacyTracking - - -