@brightlayer-ui/react-native-template-authentication-typescript 3.0.0-alpha.0 → 3.0.0-alpha.2
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/CHANGELOG.md +76 -0
- package/package.json +2 -2
- package/template/.buckconfig +6 -0
- package/template/.node-version +1 -0
- package/template/.prettierignore +2 -0
- package/template/.ruby-version +1 -0
- package/template/.watchmanconfig +1 -1
- package/template/Gemfile +2 -4
- package/template/Gemfile.lock +10 -14
- package/template/__mocks__/svgMock.js +8 -0
- package/template/_gitignore +64 -0
- package/template/android/app/build.gradle +4 -3
- package/template/android/app/src/main/java/com/{workflow → example}/MainActivity.kt +3 -9
- package/template/android/app/src/main/java/com/{workflow → example}/MainApplication.kt +4 -2
- package/template/android/app/src/main/res/drawable/rn_edit_text_material.xml +1 -2
- package/template/android/app/src/main/res/values/strings.xml +1 -1
- package/template/android/build.gradle +3 -3
- package/template/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/template/android/gradlew +7 -7
- package/template/android/gradlew.bat +10 -10
- package/template/android/link-assets-manifest.json +23 -23
- package/template/android/settings.gradle +1 -1
- package/template/app.json +2 -2
- package/template/assets/images/Logo.svg +11 -0
- package/template/babel.config.js +1 -0
- package/template/index.js +0 -2
- package/template/ios/Podfile +24 -5
- package/template/ios/Podfile.lock +517 -570
- package/template/ios/{blankTemplate → example}/AppDelegate.mm +3 -3
- package/template/ios/{blankTemplate → example}/Info.plist +25 -24
- package/template/ios/{blankTemplate → example}/LaunchScreen.storyboard +1 -1
- package/template/ios/{blankTemplate.xcodeproj → example.xcodeproj}/project.pbxproj +123 -136
- package/template/ios/{blankTemplate.xcodeproj/xcshareddata/xcschemes/blankTemplate.xcscheme → example.xcodeproj/xcshareddata/xcschemes/example.xcscheme} +12 -12
- package/template/ios/{blankTemplate.xcworkspace → example.xcworkspace}/contents.xcworkspacedata +1 -1
- package/template/ios/{blankTemplateTests/blankTemplateTests.m → exampleTests/exampleTests.m} +2 -2
- package/template/ios/link-assets-manifest.json +23 -23
- package/template/jest.config.js +9 -0
- package/template/jestSetupFile.js +38 -0
- package/template/metro.config.js +13 -8
- package/template/package.json +43 -35
- package/template/react-native.config.js +3 -0
- package/template/src/components/DebugComponent.tsx +0 -1
- package/template/src/components/{UserMenuExample.tsx → UserMenuComponent.tsx} +1 -1
- package/template/src/navigation/navigation-drawer.tsx +23 -18
- package/template/src/screens/Dashboard.tsx +2 -2
- package/template/src/screens/Homepage.tsx +2 -2
- package/template/src/screens/Locations.tsx +2 -2
- package/template/translations/dictionary/french.ts +3 -3
- package/template/translations/dictionary/portuguese.ts +1 -1
- package/template/translations/dictionary/spanish.ts +1 -1
- package/template/tsconfig.json +3 -3
- package/template/yarn.lock +2672 -1377
- package/template.config.js +1 -1
- package/template/assets/images/Logo.png +0 -0
- package/template/eslint.config.mjs +0 -10
- package/template/ios/blankTemplate/PrivacyInfo.xcprivacy +0 -37
- package/template/src/components/AuthCustomScreen.tsx +0 -50
- package/template/src/components/CustomScreen.tsx +0 -77
- package/template/src/components/ForgotPasswordScreenBaseExample.tsx +0 -42
- package/template/src/components/ResetPasswordScreenBaseExample.tsx +0 -41
- /package/template/ios/{blankTemplate → example}/AppDelegate.h +0 -0
- /package/template/ios/{blankTemplate → example}/Images.xcassets/AppIcon.appiconset/Contents.json +0 -0
- /package/template/ios/{blankTemplate → example}/Images.xcassets/Contents.json +0 -0
- /package/template/ios/{blankTemplate → example}/main.m +0 -0
- /package/template/ios/{blankTemplate.xcworkspace → example.xcworkspace}/xcshareddata/IDEWorkspaceChecks.plist +0 -0
- /package/template/ios/{blankTemplateTests → exampleTests}/Info.plist +0 -0
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
|
8
8
|
{
|
|
9
|
-
self.moduleName = @"
|
|
9
|
+
self.moduleName = @"example";
|
|
10
10
|
// You can add your custom initial props in the dictionary below.
|
|
11
11
|
// They will be passed down to the ViewController used by React Native.
|
|
12
12
|
self.initialProps = @{};
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
|
|
17
17
|
- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
|
|
18
18
|
{
|
|
19
|
-
return [self
|
|
19
|
+
return [self getBundleURL];
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
- (NSURL *)
|
|
22
|
+
- (NSURL *)getBundleURL
|
|
23
23
|
{
|
|
24
24
|
#if DEBUG
|
|
25
25
|
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<key>CFBundleDevelopmentRegion</key>
|
|
6
6
|
<string>en</string>
|
|
7
7
|
<key>CFBundleDisplayName</key>
|
|
8
|
-
<string>
|
|
8
|
+
<string>example</string>
|
|
9
9
|
<key>CFBundleExecutable</key>
|
|
10
10
|
<string>$(EXECUTABLE_NAME)</string>
|
|
11
11
|
<key>CFBundleIdentifier</key>
|
|
@@ -32,28 +32,9 @@
|
|
|
32
32
|
<true/>
|
|
33
33
|
</dict>
|
|
34
34
|
<key>NSLocationWhenInUseUsageDescription</key>
|
|
35
|
-
<string
|
|
36
|
-
<key>UILaunchStoryboardName</key>
|
|
37
|
-
<string>LaunchScreen</string>
|
|
38
|
-
<key>UIRequiredDeviceCapabilities</key>
|
|
39
|
-
<array>
|
|
40
|
-
<string>arm64</string>
|
|
41
|
-
</array>
|
|
42
|
-
<key>UISupportedInterfaceOrientations</key>
|
|
43
|
-
<array>
|
|
44
|
-
<string>UIInterfaceOrientationPortrait</string>
|
|
45
|
-
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
46
|
-
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
47
|
-
</array>
|
|
48
|
-
<key>UIViewControllerBasedStatusBarAppearance</key>
|
|
49
|
-
<false/>
|
|
35
|
+
<string></string>
|
|
50
36
|
<key>UIAppFonts</key>
|
|
51
37
|
<array>
|
|
52
|
-
<string>OpenSans-Bold.ttf</string>
|
|
53
|
-
<string>OpenSans-ExtraBold.ttf</string>
|
|
54
|
-
<string>OpenSans-Light.ttf</string>
|
|
55
|
-
<string>OpenSans-Regular.ttf</string>
|
|
56
|
-
<string>OpenSans-SemiBold.ttf</string>
|
|
57
38
|
<string>AntDesign.ttf</string>
|
|
58
39
|
<string>Entypo.ttf</string>
|
|
59
40
|
<string>EvilIcons.ttf</string>
|
|
@@ -62,14 +43,34 @@
|
|
|
62
43
|
<string>FontAwesome5_Brands.ttf</string>
|
|
63
44
|
<string>FontAwesome5_Regular.ttf</string>
|
|
64
45
|
<string>FontAwesome5_Solid.ttf</string>
|
|
65
|
-
<string>Fontisto.ttf</string>
|
|
66
46
|
<string>Foundation.ttf</string>
|
|
67
47
|
<string>Ionicons.ttf</string>
|
|
68
|
-
<string>MaterialCommunityIcons.ttf</string>
|
|
69
48
|
<string>MaterialIcons.ttf</string>
|
|
70
|
-
<string>
|
|
49
|
+
<string>MaterialCommunityIcons.ttf</string>
|
|
71
50
|
<string>SimpleLineIcons.ttf</string>
|
|
51
|
+
<string>Octicons.ttf</string>
|
|
72
52
|
<string>Zocial.ttf</string>
|
|
53
|
+
<string>Fontisto.ttf</string>
|
|
54
|
+
<string>BLUIIcons.ttf</string>
|
|
55
|
+
<string>OpenSans-Bold.ttf</string>
|
|
56
|
+
<string>OpenSans-ExtraBold.ttf</string>
|
|
57
|
+
<string>OpenSans-Light.ttf</string>
|
|
58
|
+
<string>OpenSans-Regular.ttf</string>
|
|
59
|
+
<string>OpenSans-SemiBold.ttf</string>
|
|
73
60
|
</array>
|
|
61
|
+
<key>UILaunchStoryboardName</key>
|
|
62
|
+
<string>LaunchScreen</string>
|
|
63
|
+
<key>UIRequiredDeviceCapabilities</key>
|
|
64
|
+
<array>
|
|
65
|
+
<string>armv7</string>
|
|
66
|
+
</array>
|
|
67
|
+
<key>UISupportedInterfaceOrientations</key>
|
|
68
|
+
<array>
|
|
69
|
+
<string>UIInterfaceOrientationPortrait</string>
|
|
70
|
+
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
71
|
+
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
72
|
+
</array>
|
|
73
|
+
<key>UIViewControllerBasedStatusBarAppearance</key>
|
|
74
|
+
<false/>
|
|
74
75
|
</dict>
|
|
75
76
|
</plist>
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
|
17
17
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
|
18
18
|
<subviews>
|
|
19
|
-
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="
|
|
19
|
+
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="example" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="GJd-Yh-RWb">
|
|
20
20
|
<rect key="frame" x="0.0" y="202" width="375" height="43"/>
|
|
21
21
|
<fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
|
|
22
22
|
<nil key="highlightedColor"/>
|