@mux/mux-data-react-native-video 0.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc +9 -0
- package/CHANGELOG.md +124 -0
- package/DemoApp/.buckconfig +6 -0
- package/DemoApp/.eslintrc.js +4 -0
- package/DemoApp/.flowconfig +75 -0
- package/DemoApp/.gitattributes +1 -0
- package/DemoApp/.prettierrc.js +6 -0
- package/DemoApp/.watchmanconfig +1 -0
- package/DemoApp/App.js +121 -0
- package/DemoApp/README.md +17 -0
- package/DemoApp/__tests__/App-test.js +14 -0
- package/DemoApp/android/app/BUCK +55 -0
- package/DemoApp/android/app/build.gradle +201 -0
- package/DemoApp/android/app/build_defs.bzl +19 -0
- package/DemoApp/android/app/debug.keystore +0 -0
- package/DemoApp/android/app/proguard-rules.pro +10 -0
- package/DemoApp/android/app/src/debug/AndroidManifest.xml +8 -0
- package/DemoApp/android/app/src/main/AndroidManifest.xml +26 -0
- package/DemoApp/android/app/src/main/java/com/demoapp/MainActivity.java +15 -0
- package/DemoApp/android/app/src/main/java/com/demoapp/MainApplication.java +74 -0
- package/DemoApp/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/DemoApp/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/DemoApp/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/DemoApp/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/DemoApp/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/DemoApp/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/DemoApp/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/DemoApp/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/DemoApp/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/DemoApp/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/DemoApp/android/app/src/main/res/values/strings.xml +3 -0
- package/DemoApp/android/app/src/main/res/values/styles.xml +9 -0
- package/DemoApp/android/build.gradle +38 -0
- package/DemoApp/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/DemoApp/android/gradle/wrapper/gradle-wrapper.properties +5 -0
- package/DemoApp/android/gradle.properties +21 -0
- package/DemoApp/android/gradlew +188 -0
- package/DemoApp/android/gradlew.bat +100 -0
- package/DemoApp/android/settings.gradle +3 -0
- package/DemoApp/app.json +4 -0
- package/DemoApp/babel.config.js +3 -0
- package/DemoApp/index.js +9 -0
- package/DemoApp/ios/DemoApp/AppDelegate.h +15 -0
- package/DemoApp/ios/DemoApp/AppDelegate.m +42 -0
- package/DemoApp/ios/DemoApp/Base.lproj/LaunchScreen.xib +42 -0
- package/DemoApp/ios/DemoApp/Images.xcassets/AppIcon.appiconset/Contents.json +38 -0
- package/DemoApp/ios/DemoApp/Images.xcassets/Contents.json +6 -0
- package/DemoApp/ios/DemoApp/Info.plist +57 -0
- package/DemoApp/ios/DemoApp/main.m +16 -0
- package/DemoApp/ios/DemoApp-tvOS/Info.plist +53 -0
- package/DemoApp/ios/DemoApp-tvOSTests/Info.plist +24 -0
- package/DemoApp/ios/DemoApp.xcodeproj/project.pbxproj +942 -0
- package/DemoApp/ios/DemoApp.xcodeproj/xcshareddata/xcschemes/DemoApp-tvOS.xcscheme +129 -0
- package/DemoApp/ios/DemoApp.xcodeproj/xcshareddata/xcschemes/DemoApp.xcscheme +129 -0
- package/DemoApp/ios/DemoApp.xcworkspace/contents.xcworkspacedata +10 -0
- package/DemoApp/ios/DemoAppTests/DemoAppTests.m +72 -0
- package/DemoApp/ios/DemoAppTests/Info.plist +24 -0
- package/DemoApp/ios/Podfile +59 -0
- package/DemoApp/ios/Podfile.lock +429 -0
- package/DemoApp/metro.config.js +17 -0
- package/DemoApp/package.json +32 -0
- package/DemoApp/yarn.lock +7143 -0
- package/README.md +96 -0
- package/README_INTERNAL.md +11 -0
- package/mux-react-native-video-sdk.podspec +19 -0
- package/package.json +27 -0
- package/src/index.js +258 -0
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<Scheme
|
|
3
|
+
LastUpgradeVersion = "0940"
|
|
4
|
+
version = "1.3">
|
|
5
|
+
<BuildAction
|
|
6
|
+
parallelizeBuildables = "NO"
|
|
7
|
+
buildImplicitDependencies = "YES">
|
|
8
|
+
<BuildActionEntries>
|
|
9
|
+
<BuildActionEntry
|
|
10
|
+
buildForTesting = "YES"
|
|
11
|
+
buildForRunning = "YES"
|
|
12
|
+
buildForProfiling = "YES"
|
|
13
|
+
buildForArchiving = "YES"
|
|
14
|
+
buildForAnalyzing = "YES">
|
|
15
|
+
<BuildableReference
|
|
16
|
+
BuildableIdentifier = "primary"
|
|
17
|
+
BlueprintIdentifier = "2D2A28121D9B038B00D4039D"
|
|
18
|
+
BuildableName = "libReact.a"
|
|
19
|
+
BlueprintName = "React-tvOS"
|
|
20
|
+
ReferencedContainer = "container:../node_modules/react-native/React/React.xcodeproj">
|
|
21
|
+
</BuildableReference>
|
|
22
|
+
</BuildActionEntry>
|
|
23
|
+
<BuildActionEntry
|
|
24
|
+
buildForTesting = "YES"
|
|
25
|
+
buildForRunning = "YES"
|
|
26
|
+
buildForProfiling = "YES"
|
|
27
|
+
buildForArchiving = "YES"
|
|
28
|
+
buildForAnalyzing = "YES">
|
|
29
|
+
<BuildableReference
|
|
30
|
+
BuildableIdentifier = "primary"
|
|
31
|
+
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
|
|
32
|
+
BuildableName = "DemoApp-tvOS.app"
|
|
33
|
+
BlueprintName = "DemoApp-tvOS"
|
|
34
|
+
ReferencedContainer = "container:DemoApp.xcodeproj">
|
|
35
|
+
</BuildableReference>
|
|
36
|
+
</BuildActionEntry>
|
|
37
|
+
<BuildActionEntry
|
|
38
|
+
buildForTesting = "YES"
|
|
39
|
+
buildForRunning = "YES"
|
|
40
|
+
buildForProfiling = "NO"
|
|
41
|
+
buildForArchiving = "NO"
|
|
42
|
+
buildForAnalyzing = "YES">
|
|
43
|
+
<BuildableReference
|
|
44
|
+
BuildableIdentifier = "primary"
|
|
45
|
+
BlueprintIdentifier = "2D02E48F1E0B4A5D006451C7"
|
|
46
|
+
BuildableName = "DemoApp-tvOSTests.xctest"
|
|
47
|
+
BlueprintName = "DemoApp-tvOSTests"
|
|
48
|
+
ReferencedContainer = "container:DemoApp.xcodeproj">
|
|
49
|
+
</BuildableReference>
|
|
50
|
+
</BuildActionEntry>
|
|
51
|
+
</BuildActionEntries>
|
|
52
|
+
</BuildAction>
|
|
53
|
+
<TestAction
|
|
54
|
+
buildConfiguration = "Debug"
|
|
55
|
+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
56
|
+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
57
|
+
shouldUseLaunchSchemeArgsEnv = "YES">
|
|
58
|
+
<Testables>
|
|
59
|
+
<TestableReference
|
|
60
|
+
skipped = "NO">
|
|
61
|
+
<BuildableReference
|
|
62
|
+
BuildableIdentifier = "primary"
|
|
63
|
+
BlueprintIdentifier = "2D02E48F1E0B4A5D006451C7"
|
|
64
|
+
BuildableName = "DemoApp-tvOSTests.xctest"
|
|
65
|
+
BlueprintName = "DemoApp-tvOSTests"
|
|
66
|
+
ReferencedContainer = "container:DemoApp.xcodeproj">
|
|
67
|
+
</BuildableReference>
|
|
68
|
+
</TestableReference>
|
|
69
|
+
</Testables>
|
|
70
|
+
<MacroExpansion>
|
|
71
|
+
<BuildableReference
|
|
72
|
+
BuildableIdentifier = "primary"
|
|
73
|
+
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
|
|
74
|
+
BuildableName = "DemoApp-tvOS.app"
|
|
75
|
+
BlueprintName = "DemoApp-tvOS"
|
|
76
|
+
ReferencedContainer = "container:DemoApp.xcodeproj">
|
|
77
|
+
</BuildableReference>
|
|
78
|
+
</MacroExpansion>
|
|
79
|
+
<AdditionalOptions>
|
|
80
|
+
</AdditionalOptions>
|
|
81
|
+
</TestAction>
|
|
82
|
+
<LaunchAction
|
|
83
|
+
buildConfiguration = "Debug"
|
|
84
|
+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
85
|
+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
86
|
+
launchStyle = "0"
|
|
87
|
+
useCustomWorkingDirectory = "NO"
|
|
88
|
+
ignoresPersistentStateOnLaunch = "NO"
|
|
89
|
+
debugDocumentVersioning = "YES"
|
|
90
|
+
debugServiceExtension = "internal"
|
|
91
|
+
allowLocationSimulation = "YES">
|
|
92
|
+
<BuildableProductRunnable
|
|
93
|
+
runnableDebuggingMode = "0">
|
|
94
|
+
<BuildableReference
|
|
95
|
+
BuildableIdentifier = "primary"
|
|
96
|
+
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
|
|
97
|
+
BuildableName = "DemoApp-tvOS.app"
|
|
98
|
+
BlueprintName = "DemoApp-tvOS"
|
|
99
|
+
ReferencedContainer = "container:DemoApp.xcodeproj">
|
|
100
|
+
</BuildableReference>
|
|
101
|
+
</BuildableProductRunnable>
|
|
102
|
+
<AdditionalOptions>
|
|
103
|
+
</AdditionalOptions>
|
|
104
|
+
</LaunchAction>
|
|
105
|
+
<ProfileAction
|
|
106
|
+
buildConfiguration = "Release"
|
|
107
|
+
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
108
|
+
savedToolIdentifier = ""
|
|
109
|
+
useCustomWorkingDirectory = "NO"
|
|
110
|
+
debugDocumentVersioning = "YES">
|
|
111
|
+
<BuildableProductRunnable
|
|
112
|
+
runnableDebuggingMode = "0">
|
|
113
|
+
<BuildableReference
|
|
114
|
+
BuildableIdentifier = "primary"
|
|
115
|
+
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
|
|
116
|
+
BuildableName = "DemoApp-tvOS.app"
|
|
117
|
+
BlueprintName = "DemoApp-tvOS"
|
|
118
|
+
ReferencedContainer = "container:DemoApp.xcodeproj">
|
|
119
|
+
</BuildableReference>
|
|
120
|
+
</BuildableProductRunnable>
|
|
121
|
+
</ProfileAction>
|
|
122
|
+
<AnalyzeAction
|
|
123
|
+
buildConfiguration = "Debug">
|
|
124
|
+
</AnalyzeAction>
|
|
125
|
+
<ArchiveAction
|
|
126
|
+
buildConfiguration = "Release"
|
|
127
|
+
revealArchiveInOrganizer = "YES">
|
|
128
|
+
</ArchiveAction>
|
|
129
|
+
</Scheme>
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<Scheme
|
|
3
|
+
LastUpgradeVersion = "0940"
|
|
4
|
+
version = "1.3">
|
|
5
|
+
<BuildAction
|
|
6
|
+
parallelizeBuildables = "NO"
|
|
7
|
+
buildImplicitDependencies = "YES">
|
|
8
|
+
<BuildActionEntries>
|
|
9
|
+
<BuildActionEntry
|
|
10
|
+
buildForTesting = "YES"
|
|
11
|
+
buildForRunning = "YES"
|
|
12
|
+
buildForProfiling = "YES"
|
|
13
|
+
buildForArchiving = "YES"
|
|
14
|
+
buildForAnalyzing = "YES">
|
|
15
|
+
<BuildableReference
|
|
16
|
+
BuildableIdentifier = "primary"
|
|
17
|
+
BlueprintIdentifier = "83CBBA2D1A601D0E00E9B192"
|
|
18
|
+
BuildableName = "libReact.a"
|
|
19
|
+
BlueprintName = "React"
|
|
20
|
+
ReferencedContainer = "container:../node_modules/react-native/React/React.xcodeproj">
|
|
21
|
+
</BuildableReference>
|
|
22
|
+
</BuildActionEntry>
|
|
23
|
+
<BuildActionEntry
|
|
24
|
+
buildForTesting = "YES"
|
|
25
|
+
buildForRunning = "YES"
|
|
26
|
+
buildForProfiling = "YES"
|
|
27
|
+
buildForArchiving = "YES"
|
|
28
|
+
buildForAnalyzing = "YES">
|
|
29
|
+
<BuildableReference
|
|
30
|
+
BuildableIdentifier = "primary"
|
|
31
|
+
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
32
|
+
BuildableName = "DemoApp.app"
|
|
33
|
+
BlueprintName = "DemoApp"
|
|
34
|
+
ReferencedContainer = "container:DemoApp.xcodeproj">
|
|
35
|
+
</BuildableReference>
|
|
36
|
+
</BuildActionEntry>
|
|
37
|
+
<BuildActionEntry
|
|
38
|
+
buildForTesting = "YES"
|
|
39
|
+
buildForRunning = "YES"
|
|
40
|
+
buildForProfiling = "NO"
|
|
41
|
+
buildForArchiving = "NO"
|
|
42
|
+
buildForAnalyzing = "YES">
|
|
43
|
+
<BuildableReference
|
|
44
|
+
BuildableIdentifier = "primary"
|
|
45
|
+
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
|
|
46
|
+
BuildableName = "DemoAppTests.xctest"
|
|
47
|
+
BlueprintName = "DemoAppTests"
|
|
48
|
+
ReferencedContainer = "container:DemoApp.xcodeproj">
|
|
49
|
+
</BuildableReference>
|
|
50
|
+
</BuildActionEntry>
|
|
51
|
+
</BuildActionEntries>
|
|
52
|
+
</BuildAction>
|
|
53
|
+
<TestAction
|
|
54
|
+
buildConfiguration = "Debug"
|
|
55
|
+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
56
|
+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
57
|
+
shouldUseLaunchSchemeArgsEnv = "YES">
|
|
58
|
+
<Testables>
|
|
59
|
+
<TestableReference
|
|
60
|
+
skipped = "NO">
|
|
61
|
+
<BuildableReference
|
|
62
|
+
BuildableIdentifier = "primary"
|
|
63
|
+
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
|
|
64
|
+
BuildableName = "DemoAppTests.xctest"
|
|
65
|
+
BlueprintName = "DemoAppTests"
|
|
66
|
+
ReferencedContainer = "container:DemoApp.xcodeproj">
|
|
67
|
+
</BuildableReference>
|
|
68
|
+
</TestableReference>
|
|
69
|
+
</Testables>
|
|
70
|
+
<MacroExpansion>
|
|
71
|
+
<BuildableReference
|
|
72
|
+
BuildableIdentifier = "primary"
|
|
73
|
+
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
74
|
+
BuildableName = "DemoApp.app"
|
|
75
|
+
BlueprintName = "DemoApp"
|
|
76
|
+
ReferencedContainer = "container:DemoApp.xcodeproj">
|
|
77
|
+
</BuildableReference>
|
|
78
|
+
</MacroExpansion>
|
|
79
|
+
<AdditionalOptions>
|
|
80
|
+
</AdditionalOptions>
|
|
81
|
+
</TestAction>
|
|
82
|
+
<LaunchAction
|
|
83
|
+
buildConfiguration = "Debug"
|
|
84
|
+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
85
|
+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
86
|
+
launchStyle = "0"
|
|
87
|
+
useCustomWorkingDirectory = "NO"
|
|
88
|
+
ignoresPersistentStateOnLaunch = "NO"
|
|
89
|
+
debugDocumentVersioning = "YES"
|
|
90
|
+
debugServiceExtension = "internal"
|
|
91
|
+
allowLocationSimulation = "YES">
|
|
92
|
+
<BuildableProductRunnable
|
|
93
|
+
runnableDebuggingMode = "0">
|
|
94
|
+
<BuildableReference
|
|
95
|
+
BuildableIdentifier = "primary"
|
|
96
|
+
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
97
|
+
BuildableName = "DemoApp.app"
|
|
98
|
+
BlueprintName = "DemoApp"
|
|
99
|
+
ReferencedContainer = "container:DemoApp.xcodeproj">
|
|
100
|
+
</BuildableReference>
|
|
101
|
+
</BuildableProductRunnable>
|
|
102
|
+
<AdditionalOptions>
|
|
103
|
+
</AdditionalOptions>
|
|
104
|
+
</LaunchAction>
|
|
105
|
+
<ProfileAction
|
|
106
|
+
buildConfiguration = "Release"
|
|
107
|
+
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
108
|
+
savedToolIdentifier = ""
|
|
109
|
+
useCustomWorkingDirectory = "NO"
|
|
110
|
+
debugDocumentVersioning = "YES">
|
|
111
|
+
<BuildableProductRunnable
|
|
112
|
+
runnableDebuggingMode = "0">
|
|
113
|
+
<BuildableReference
|
|
114
|
+
BuildableIdentifier = "primary"
|
|
115
|
+
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
116
|
+
BuildableName = "DemoApp.app"
|
|
117
|
+
BlueprintName = "DemoApp"
|
|
118
|
+
ReferencedContainer = "container:DemoApp.xcodeproj">
|
|
119
|
+
</BuildableReference>
|
|
120
|
+
</BuildableProductRunnable>
|
|
121
|
+
</ProfileAction>
|
|
122
|
+
<AnalyzeAction
|
|
123
|
+
buildConfiguration = "Debug">
|
|
124
|
+
</AnalyzeAction>
|
|
125
|
+
<ArchiveAction
|
|
126
|
+
buildConfiguration = "Release"
|
|
127
|
+
revealArchiveInOrganizer = "YES">
|
|
128
|
+
</ArchiveAction>
|
|
129
|
+
</Scheme>
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#import <UIKit/UIKit.h>
|
|
9
|
+
#import <XCTest/XCTest.h>
|
|
10
|
+
|
|
11
|
+
#import <React/RCTLog.h>
|
|
12
|
+
#import <React/RCTRootView.h>
|
|
13
|
+
|
|
14
|
+
#define TIMEOUT_SECONDS 600
|
|
15
|
+
#define TEXT_TO_LOOK_FOR @"Welcome to React"
|
|
16
|
+
|
|
17
|
+
@interface DemoAppTests : XCTestCase
|
|
18
|
+
|
|
19
|
+
@end
|
|
20
|
+
|
|
21
|
+
@implementation DemoAppTests
|
|
22
|
+
|
|
23
|
+
- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
|
|
24
|
+
{
|
|
25
|
+
if (test(view)) {
|
|
26
|
+
return YES;
|
|
27
|
+
}
|
|
28
|
+
for (UIView *subview in [view subviews]) {
|
|
29
|
+
if ([self findSubviewInView:subview matching:test]) {
|
|
30
|
+
return YES;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return NO;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
- (void)testRendersWelcomeScreen
|
|
37
|
+
{
|
|
38
|
+
UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController];
|
|
39
|
+
NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];
|
|
40
|
+
BOOL foundElement = NO;
|
|
41
|
+
|
|
42
|
+
__block NSString *redboxError = nil;
|
|
43
|
+
#ifdef DEBUG
|
|
44
|
+
RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
|
|
45
|
+
if (level >= RCTLogLevelError) {
|
|
46
|
+
redboxError = message;
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
#endif
|
|
50
|
+
|
|
51
|
+
while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
|
|
52
|
+
[[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
|
|
53
|
+
[[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
|
|
54
|
+
|
|
55
|
+
foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) {
|
|
56
|
+
if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
|
|
57
|
+
return YES;
|
|
58
|
+
}
|
|
59
|
+
return NO;
|
|
60
|
+
}];
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
#ifdef DEBUG
|
|
64
|
+
RCTSetLogFunction(RCTDefaultLogFunction);
|
|
65
|
+
#endif
|
|
66
|
+
|
|
67
|
+
XCTAssertNil(redboxError, @"RedBox error: %@", redboxError);
|
|
68
|
+
XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
@end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>CFBundleDevelopmentRegion</key>
|
|
6
|
+
<string>en</string>
|
|
7
|
+
<key>CFBundleExecutable</key>
|
|
8
|
+
<string>$(EXECUTABLE_NAME)</string>
|
|
9
|
+
<key>CFBundleIdentifier</key>
|
|
10
|
+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
11
|
+
<key>CFBundleInfoDictionaryVersion</key>
|
|
12
|
+
<string>6.0</string>
|
|
13
|
+
<key>CFBundleName</key>
|
|
14
|
+
<string>$(PRODUCT_NAME)</string>
|
|
15
|
+
<key>CFBundlePackageType</key>
|
|
16
|
+
<string>BNDL</string>
|
|
17
|
+
<key>CFBundleShortVersionString</key>
|
|
18
|
+
<string>1.0</string>
|
|
19
|
+
<key>CFBundleSignature</key>
|
|
20
|
+
<string>????</string>
|
|
21
|
+
<key>CFBundleVersion</key>
|
|
22
|
+
<string>1</string>
|
|
23
|
+
</dict>
|
|
24
|
+
</plist>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
platform :ios, '12.0'
|
|
2
|
+
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
|
3
|
+
|
|
4
|
+
target 'DemoApp' do
|
|
5
|
+
# Pods for DemoApp
|
|
6
|
+
pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
|
|
7
|
+
pod 'FBReactNativeSpec', :path => "../node_modules/react-native/React/FBReactNativeSpec"
|
|
8
|
+
pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
|
|
9
|
+
pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"
|
|
10
|
+
pod 'React', :path => '../node_modules/react-native/'
|
|
11
|
+
pod 'React-Core', :path => '../node_modules/react-native/'
|
|
12
|
+
pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
|
|
13
|
+
pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
|
|
14
|
+
pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
|
|
15
|
+
pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
|
|
16
|
+
pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
|
|
17
|
+
pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
|
|
18
|
+
pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
|
|
19
|
+
pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
|
|
20
|
+
pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
|
|
21
|
+
pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
|
|
22
|
+
pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
|
|
23
|
+
pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'
|
|
24
|
+
|
|
25
|
+
pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
|
|
26
|
+
pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
|
|
27
|
+
pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
|
|
28
|
+
pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
|
|
29
|
+
pod 'React-callinvoker', :path => "../node_modules/react-native/ReactCommon/callinvoker"
|
|
30
|
+
pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
|
|
31
|
+
pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
|
|
32
|
+
|
|
33
|
+
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
|
|
34
|
+
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
|
|
35
|
+
pod 'RCT-Folly', :podspec => '../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec'
|
|
36
|
+
|
|
37
|
+
pod 'React-logger', :path => '../node_modules/react-native/ReactCommon/logger'
|
|
38
|
+
pod 'React-perflogger', :path => '../node_modules/react-native/ReactCommon/reactperflogger'
|
|
39
|
+
pod 'React-runtimeexecutor', :path => '../node_modules/react-native/ReactCommon/runtimeexecutor'
|
|
40
|
+
pod 'boost', :podspec => '../node_modules/react-native/third-party-podspecs/boost.podspec'
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
target 'DemoAppTests' do
|
|
44
|
+
inherit! :search_paths
|
|
45
|
+
# Pods for testing
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
use_native_modules!
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
target 'DemoApp-tvOS' do
|
|
52
|
+
# Pods for DemoApp-tvOS
|
|
53
|
+
|
|
54
|
+
target 'DemoApp-tvOSTests' do
|
|
55
|
+
inherit! :search_paths
|
|
56
|
+
# Pods for testing
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
end
|