From 491b2eb03bce3f477f496626d808a73b2439ff76 Mon Sep 17 00:00:00 2001 From: Hailey Date: Mon, 27 May 2024 22:21:04 -0700 Subject: [PATCH] add app clip --- app.config.js | 7 +++++++ package.json | 1 + yarn.lock | 44 +++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 51 insertions(+), 1 deletion(-) diff --git a/app.config.js b/app.config.js index 4ade9de31a..b79033d276 100644 --- a/app.config.js +++ b/app.config.js @@ -203,6 +203,13 @@ module.exports = function (config) { sounds: PLATFORM === 'ios' ? ['assets/dm.aiff'] : ['assets/dm.mp3'], }, ], + [ + 'react-native-app-clip', + { + name: 'BlueskyAppClip', + groupIdentifier: 'group.app.bsky', + }, + ], './plugins/withAndroidManifestPlugin.js', './plugins/withAndroidManifestFCMIconPlugin.js', './plugins/withAndroidStylesWindowBackgroundPlugin.js', diff --git a/package.json b/package.json index c36dc49bd0..26101a5fe9 100644 --- a/package.json +++ b/package.json @@ -165,6 +165,7 @@ "react-dom": "^18.2.0", "react-keyed-flatten-children": "^3.0.0", "react-native": "0.73.2", + "react-native-app-clip": "bluesky-social/react-native-app-clip", "react-native-date-picker": "^4.4.0", "react-native-drawer-layout": "^4.0.0-alpha.3", "react-native-fs": "^2.20.0", diff --git a/yarn.lock b/yarn.lock index 17a18d4c45..89cdc5a82a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3272,6 +3272,27 @@ xcode "^3.0.1" xml2js "0.4.23" +"@expo/config-plugins@~7.2.5": + version "7.2.5" + resolved "https://registry.yarnpkg.com/@expo/config-plugins/-/config-plugins-7.2.5.tgz#b15f22878975fdc4ddcfa8cdc971937ddc4c0249" + integrity sha512-w+5ccu1IxBHgyQk9CPFKLZOk8yZQEyTjbJwOzESK1eR7QwosbcsLkN1c1WWUZYiCXwORu3UTwJYll4+X2xxJhQ== + dependencies: + "@expo/config-types" "^49.0.0-alpha.1" + "@expo/json-file" "~8.2.37" + "@expo/plist" "^0.0.20" + "@expo/sdk-runtime-versions" "^1.0.0" + "@react-native/normalize-color" "^2.0.0" + chalk "^4.1.2" + debug "^4.3.1" + find-up "~5.0.0" + getenv "^1.0.0" + glob "7.1.6" + resolve-from "^5.0.0" + semver "^7.5.3" + slash "^3.0.0" + xcode "^3.0.1" + xml2js "0.6.0" + "@expo/config-plugins@~7.8.0": version "7.8.0" resolved "https://registry.yarnpkg.com/@expo/config-plugins/-/config-plugins-7.8.0.tgz#70fd87237faf6a5c3bf47277b67f7b22f9b12c05" @@ -3299,6 +3320,11 @@ resolved "https://registry.yarnpkg.com/@expo/config-types/-/config-types-47.0.0.tgz#99eeabe0bba7a776e0f252b78beb0c574692c38d" integrity sha512-r0pWfuhkv7KIcXMUiNACJmJKKwlTBGMw9VZHNdppS8/0Nve8HZMTkNRFQzTHW1uH3pBj8jEXpyw/2vSWDHex9g== +"@expo/config-types@^49.0.0-alpha.1": + version "49.0.0" + resolved "https://registry.yarnpkg.com/@expo/config-types/-/config-types-49.0.0.tgz#15ffef715285c06703f6fb7ec0cda853f645cc09" + integrity sha512-8eyREVi+K2acnMBe/rTIu1dOfyR2+AMnTLHlut+YpMV9OZPdeKV0Bs9BxAewGqBA2slslbQ9N39IS2CuTKpXkA== + "@expo/config-types@^50.0.0", "@expo/config-types@^50.0.0-alpha.1": version "50.0.0" resolved "https://registry.yarnpkg.com/@expo/config-types/-/config-types-50.0.0.tgz#b534d3ec997ec60f8af24f6ad56244c8afc71a0b" @@ -3462,7 +3488,7 @@ json5 "^1.0.1" write-file-atomic "^2.3.0" -"@expo/json-file@^8.2.37": +"@expo/json-file@^8.2.37", "@expo/json-file@~8.2.37": version "8.2.37" resolved "https://registry.yarnpkg.com/@expo/json-file/-/json-file-8.2.37.tgz#9c02d3b42134907c69cc0a027b18671b69344049" integrity sha512-YaH6rVg11JoTS2P6LsW7ybS2CULjf40AbnAHw2F1eDPuheprNjARZMnyHFPkKv7GuxCy+B9GPcbOKgc4cgA80Q== @@ -3566,6 +3592,15 @@ base64-js "^1.2.3" xmlbuilder "^14.0.0" +"@expo/plist@^0.0.20": + version "0.0.20" + resolved "https://registry.yarnpkg.com/@expo/plist/-/plist-0.0.20.tgz#a6b3124438031c02b762bad5a47b70584d3c0072" + integrity sha512-UXQ4LXCfTZ580LDHGJ5q62jSTwJFFJ1GqBu8duQMThiHKWbMJ+gajJh6rsB6EJ3aLUr9wcauxneL5LVRFxwBEA== + dependencies: + "@xmldom/xmldom" "~0.7.7" + base64-js "^1.2.3" + xmlbuilder "^14.0.0" + "@expo/plist@^0.1.0": version "0.1.0" resolved "https://registry.yarnpkg.com/@expo/plist/-/plist-0.1.0.tgz#eabc95f951d14e10c87fd0443ee01d567371f058" @@ -18760,6 +18795,13 @@ react-keyed-flatten-children@^3.0.0: dependencies: react-is "^18.2.0" +react-native-app-clip@bluesky-social/react-native-app-clip: + version "0.2.4" + resolved "https://codeload.github.com/bluesky-social/react-native-app-clip/tar.gz/ad3968586ee4a5f301af9ebb86b467ee71019646" + dependencies: + "@expo/config-plugins" "~7.2.5" + "@expo/plist" "^0.0.20" + react-native-date-picker@^4.4.0: version "4.4.0" resolved "https://registry.yarnpkg.com/react-native-date-picker/-/react-native-date-picker-4.4.0.tgz#fe5b6eb8d85a4a30b2991ada5169a30ce5023ead"