add share play

This commit is contained in:
Kyle Fang
2021-11-09 13:55:45 +08:00
parent b07eb38af9
commit 2aa5aea4c9
5 changed files with 28 additions and 11 deletions

View File

@@ -235,6 +235,8 @@ PODS:
- React-jsinspector (0.64.2)
- react-native-safe-area-context (3.3.2):
- React-Core
- react-native-shareplay (0.6.1):
- React-Core
- React-perflogger (0.64.2)
- React-RCTActionSheet (0.64.2):
- React-Core/RCTActionSheetHeaders (= 0.64.2)
@@ -368,6 +370,7 @@ DEPENDENCIES:
- React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
- react-native-shareplay (from `../node_modules/react-native-shareplay`)
- React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`)
- React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`)
- React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`)
@@ -450,6 +453,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/jsinspector"
react-native-safe-area-context:
:path: "../node_modules/react-native-safe-area-context"
react-native-shareplay:
:path: "../node_modules/react-native-shareplay"
React-perflogger:
:path: "../node_modules/react-native/ReactCommon/reactperflogger"
React-RCTActionSheet:
@@ -515,6 +520,7 @@ SPEC CHECKSUMS:
React-jsiexecutor: 80c46bd381fd06e418e0d4f53672dc1d1945c4c3
React-jsinspector: cc614ec18a9ca96fd275100c16d74d62ee11f0ae
react-native-safe-area-context: 584dc04881deb49474363f3be89e4ca0e854c057
react-native-shareplay: 3d9e356f8c0543da2ea14e9cf57b7b87dc6961d8
React-perflogger: 25373e382fed75ce768a443822f07098a15ab737
React-RCTActionSheet: af7796ba49ffe4ca92e7277a5d992d37203f7da5
React-RCTAnimation: 6a2e76ab50c6f25b428d81b76a5a45351c4d77aa

View File

@@ -19,7 +19,7 @@
/* Begin PBXFileReference section */
008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = "<group>"; };
13B07F961A680F5B00A75B9A /* shareplayexample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = shareplayexample.app; sourceTree = BUILT_PRODUCTS_DIR; };
13B07F961A680F5B00A75B9A /* shareplay-example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "shareplay-example.app"; sourceTree = BUILT_PRODUCTS_DIR; };
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = shareplayexample/AppDelegate.h; sourceTree = "<group>"; };
13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = shareplayexample/AppDelegate.m; sourceTree = "<group>"; };
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = shareplayexample/Images.xcassets; sourceTree = "<group>"; };
@@ -99,7 +99,7 @@
83CBBA001A601CBA00E9B192 /* Products */ = {
isa = PBXGroup;
children = (
13B07F961A680F5B00A75B9A /* shareplayexample.app */,
13B07F961A680F5B00A75B9A /* shareplay-example.app */,
);
name = Products;
sourceTree = "<group>";
@@ -159,7 +159,7 @@
);
name = shareplayexample;
productName = shareplayexample;
productReference = 13B07F961A680F5B00A75B9A /* shareplayexample.app */;
productReference = 13B07F961A680F5B00A75B9A /* shareplay-example.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
@@ -171,6 +171,7 @@
LastUpgradeCheck = 1130;
TargetAttributes = {
13B07F861A680F5B00A75B9A = {
DevelopmentTeam = 7CRYNR44B3;
LastSwiftMigration = 1250;
};
};
@@ -309,6 +310,7 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = "shareplayexample/shareplay-example.entitlements";
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 7CRYNR44B3;
ENABLE_BITCODE = NO;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
@@ -340,6 +342,7 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = "shareplayexample/shareplay-example.entitlements";
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 7CRYNR44B3;
INFOPLIST_FILE = shareplayexample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";

View File

@@ -1,8 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>aps-environment</key>
<string>development</string>
</dict>
</plist>
<dict>
<key>aps-environment</key>
<string>development</string>
<key>com.apple.developer.group-session</key>
<true/>
</dict>
</plist>

View File

@@ -10,17 +10,18 @@
},
"dependencies": {
"expo": "~43.0.0",
"expo-splash-screen": "~0.13.3",
"expo-status-bar": "~1.1.0",
"expo-updates": "~0.10.5",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-native": "0.64.2",
"react-native-web": "0.17.1",
"expo-splash-screen": "~0.13.3",
"react-native-gesture-handler": "~1.10.2",
"react-native-reanimated": "~2.2.0",
"react-native-safe-area-context": "3.3.2",
"react-native-screens": "~3.8.0"
"react-native-screens": "~3.8.0",
"react-native-shareplay": "^0.6.1",
"react-native-web": "0.17.1"
},
"devDependencies": {
"@babel/core": "^7.12.9",

View File

@@ -4671,6 +4671,11 @@ react-native-screens@~3.8.0:
dependencies:
warn-once "^0.1.0"
react-native-shareplay@^0.6.1:
version "0.6.1"
resolved "https://registry.yarnpkg.com/react-native-shareplay/-/react-native-shareplay-0.6.1.tgz#16e5b3767d98d815274bc69bd4de24ac38444131"
integrity sha512-Q56mrQ0hS54Thymw70amxt2c0G9tqkJ6eYZd9fCT9sMb1hRpBF0w/oEKtZtZ3FymKeqLBcmua0EoK2xstmbB5Q==
react-native-web@0.17.1:
version "0.17.1"
resolved "https://registry.yarnpkg.com/react-native-web/-/react-native-web-0.17.1.tgz#90d473c89dd99b88bc9830b2a9fcdd2fc5f04902"