@brightlayer-ui/react-native-template-routing-typescript 3.0.1-alpha.0 → 4.0.0

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.
@@ -1,74 +0,0 @@
1
- # OSX
2
- #
3
- .DS_Store
4
-
5
- # Xcode
6
- #
7
- build/
8
- *.pbxuser
9
- !default.pbxuser
10
- *.mode1v3
11
- !default.mode1v3
12
- *.mode2v3
13
- !default.mode2v3
14
- *.perspectivev3
15
- !default.perspectivev3
16
- xcuserdata
17
- *.xccheckout
18
- *.moved-aside
19
- DerivedData
20
- *.hmap
21
- *.ipa
22
- *.xcuserstate
23
- **/.xcode.env.local
24
-
25
- # Android/IntelliJ
26
- #
27
- build/
28
- .idea
29
- .gradle
30
- local.properties
31
- *.iml
32
- *.hprof
33
- .cxx/
34
- *.keystore
35
- !debug.keystore
36
-
37
- # node.js
38
- #
39
- node_modules/
40
- npm-debug.log
41
- yarn-error.log
42
-
43
- # fastlane
44
- #
45
- # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
46
- # screenshots whenever they are needed.
47
- # For more information about the recommended setup visit:
48
- # https://docs.fastlane.tools/best-practices/source-control/
49
-
50
- **/fastlane/report.xml
51
- **/fastlane/Preview.html
52
- **/fastlane/screenshots
53
- **/fastlane/test_output
54
-
55
- # Bundle artifact
56
- *.jsbundle
57
-
58
- # Ruby / CocoaPods
59
- **/Pods/
60
- /vendor/bundle/
61
-
62
- # Temporary files created by Metro to check the health of the file watcher
63
- .metro-health-check*
64
-
65
- # testing
66
- /coverage
67
-
68
- # Yarn
69
- .yarn/*
70
- !.yarn/patches
71
- !.yarn/plugins
72
- !.yarn/releases
73
- !.yarn/sdks
74
- !.yarn/versions
@@ -1,6 +0,0 @@
1
- #import <RCTAppDelegate.h>
2
- #import <UIKit/UIKit.h>
3
-
4
- @interface AppDelegate : RCTAppDelegate
5
-
6
- @end
@@ -1,31 +0,0 @@
1
- #import "AppDelegate.h"
2
-
3
- #import <React/RCTBundleURLProvider.h>
4
-
5
- @implementation AppDelegate
6
-
7
- - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
8
- {
9
- self.moduleName = @"blankTemplate";
10
- // You can add your custom initial props in the dictionary below.
11
- // They will be passed down to the ViewController used by React Native.
12
- self.initialProps = @{};
13
-
14
- return [super application:application didFinishLaunchingWithOptions:launchOptions];
15
- }
16
-
17
- - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
18
- {
19
- return [self bundleURL];
20
- }
21
-
22
- - (NSURL *)bundleURL
23
- {
24
- #if DEBUG
25
- return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
26
- #else
27
- return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
28
- #endif
29
- }
30
-
31
- @end
@@ -1,10 +0,0 @@
1
- #import <UIKit/UIKit.h>
2
-
3
- #import "AppDelegate.h"
4
-
5
- int main(int argc, char *argv[])
6
- {
7
- @autoreleasepool {
8
- return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
9
- }
10
- }
@@ -1,24 +0,0 @@
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>
@@ -1,66 +0,0 @@
1
- #import <UIKit/UIKit.h>
2
- #import <XCTest/XCTest.h>
3
-
4
- #import <React/RCTLog.h>
5
- #import <React/RCTRootView.h>
6
-
7
- #define TIMEOUT_SECONDS 600
8
- #define TEXT_TO_LOOK_FOR @"Welcome to React"
9
-
10
- @interface blankTemplateTests : XCTestCase
11
-
12
- @end
13
-
14
- @implementation blankTemplateTests
15
-
16
- - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL (^)(UIView *view))test
17
- {
18
- if (test(view)) {
19
- return YES;
20
- }
21
- for (UIView *subview in [view subviews]) {
22
- if ([self findSubviewInView:subview matching:test]) {
23
- return YES;
24
- }
25
- }
26
- return NO;
27
- }
28
-
29
- - (void)testRendersWelcomeScreen
30
- {
31
- UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController];
32
- NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];
33
- BOOL foundElement = NO;
34
-
35
- __block NSString *redboxError = nil;
36
- #ifdef DEBUG
37
- RCTSetLogFunction(
38
- ^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
39
- if (level >= RCTLogLevelError) {
40
- redboxError = message;
41
- }
42
- });
43
- #endif
44
-
45
- while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
46
- [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
47
- [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
48
-
49
- foundElement = [self findSubviewInView:vc.view
50
- matching:^BOOL(UIView *view) {
51
- if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
52
- return YES;
53
- }
54
- return NO;
55
- }];
56
- }
57
-
58
- #ifdef DEBUG
59
- RCTSetLogFunction(RCTDefaultLogFunction);
60
- #endif
61
-
62
- XCTAssertNil(redboxError, @"RedBox error: %@", redboxError);
63
- XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
64
- }
65
-
66
- @end