From c97fcd271985d2a2d032d5f8e1f3289056dbc613 Mon Sep 17 00:00:00 2001 From: Mathieu Acthernoene Date: Wed, 30 Oct 2024 18:50:18 +0100 Subject: [PATCH] Add reproduction --- App.tsx | 169 ++++++------------ .../java/com/bottomtabsissue/MainActivity.kt | 14 ++ android/app/src/main/res/values/styles.xml | 2 +- icon.png | Bin 0 -> 10215 bytes package-lock.json | 84 ++++++++- package.json | 5 +- 6 files changed, 156 insertions(+), 118 deletions(-) create mode 100644 icon.png diff --git a/App.tsx b/App.tsx index 125fe1b..2eb016c 100644 --- a/App.tsx +++ b/App.tsx @@ -1,118 +1,59 @@ -/** - * Sample React Native App - * https://github.com/facebook/react-native - * - * @format - */ +import React, {useState} from 'react'; +import {Text, View} from 'react-native'; +import TabView, {SceneMap} from 'react-native-bottom-tabs'; + +const ScreenA = () => ( + + Screen A + +); + +const ScreenB = () => ( + + Screen B + +); + +const ScreenC = () => ( + + Screen C + +); + +export default function App(): React.JSX.Element { + const [index, setIndex] = useState(0); + + const [routes] = useState([ + { + key: 'article', + title: 'Article', + focusedIcon: require('./icon.png'), + badge: '!', + }, + { + key: 'albums', + title: 'Albums', + focusedIcon: require('./icon.png'), + badge: '5', + }, + { + key: 'contacts', + title: 'Contacts', + focusedIcon: require('./icon.png'), + }, + ]); + + const renderScene = SceneMap({ + article: ScreenA, + albums: ScreenB, + contacts: ScreenC, + }); -import React from 'react'; -import type {PropsWithChildren} from 'react'; -import { - SafeAreaView, - ScrollView, - StatusBar, - StyleSheet, - Text, - useColorScheme, - View, -} from 'react-native'; - -import { - Colors, - DebugInstructions, - Header, - LearnMoreLinks, - ReloadInstructions, -} from 'react-native/Libraries/NewAppScreen'; - -type SectionProps = PropsWithChildren<{ - title: string; -}>; - -function Section({children, title}: SectionProps): React.JSX.Element { - const isDarkMode = useColorScheme() === 'dark'; return ( - - - {title} - - - {children} - - + ); } - -function App(): React.JSX.Element { - const isDarkMode = useColorScheme() === 'dark'; - - const backgroundStyle = { - backgroundColor: isDarkMode ? Colors.darker : Colors.lighter, - }; - - return ( - - - -
- -
- Edit App.tsx to change this - screen and then come back to see your edits. -
-
- -
-
- -
-
- Read the docs to discover what to do next: -
- -
- - - ); -} - -const styles = StyleSheet.create({ - sectionContainer: { - marginTop: 32, - paddingHorizontal: 24, - }, - sectionTitle: { - fontSize: 24, - fontWeight: '600', - }, - sectionDescription: { - marginTop: 8, - fontSize: 18, - fontWeight: '400', - }, - highlight: { - fontWeight: '700', - }, -}); - -export default App; diff --git a/android/app/src/main/java/com/bottomtabsissue/MainActivity.kt b/android/app/src/main/java/com/bottomtabsissue/MainActivity.kt index 813fb6d..33f364f 100644 --- a/android/app/src/main/java/com/bottomtabsissue/MainActivity.kt +++ b/android/app/src/main/java/com/bottomtabsissue/MainActivity.kt @@ -1,5 +1,8 @@ package com.bottomtabsissue +import android.graphics.Color +import android.os.Bundle +import androidx.core.view.WindowCompat import com.facebook.react.ReactActivity import com.facebook.react.ReactActivityDelegate import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.fabricEnabled @@ -19,4 +22,15 @@ class MainActivity : ReactActivity() { */ override fun createReactActivityDelegate(): ReactActivityDelegate = DefaultReactActivityDelegate(this, mainComponentName, fabricEnabled) + + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + + // This breaks react-native-bottom-tabs 👇 + WindowCompat.setDecorFitsSystemWindows(window, false) + + // These lines are not responsible, it's just to see better + window.statusBarColor = Color.TRANSPARENT + window.navigationBarColor = Color.TRANSPARENT + } } diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml index 7ba83a2..617a309 100644 --- a/android/app/src/main/res/values/styles.xml +++ b/android/app/src/main/res/values/styles.xml @@ -1,7 +1,7 @@ - diff --git a/icon.png b/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..13da8fd3cd2fe33abcc7abc45ba50459206cadae GIT binary patch literal 10215 zcmeHt`9IWK82_1%kr^t3EG0|}BI4ePvVN#+3E8twi&BI(B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6ma#nd)Id~S;qMAaJF`7qSxGapHn zSy5uVXUek*?&!W)A_hmp`^<@?4tTygK<7HbI|+-j8SMLFg}C;UFGhPQ^3WXe$IRCS z6`_!bc*}<9CG*0cKmTrILAij#(01KmJfbVM(Ti{Fo@0*FrS^#sbF?6I1db5!0Wubq zi!`?aSYr>U6qj`Mgh4*J14rmlAw|q!&wQ!406(U!#Q)YFyVQPS9O-GJrK~T2*RKU7 z1$?P8lhnUkvAOuL(6G&=bIwMP?`ZoT zzP%?EqAR>iN{G|4`wh%Hv3Sp)T?~aTPW+5NM+1Au>>1~if|=81RRe1aNmukI|N;v0XD8v*_O1P3?84g zO3uZr8!m&0b~CSf8BCNRkv*ZsP>;d&2*$UUIwx&ds>oTTHQ?0^mIckQ{e3lcf0h&P z9MUH`hAf9f=B}&XKB&V7z4Sh3q>hTa$8*1#RlN+NCu5((X(dK~IY7{qoy8xlp%O)b zSpgekA>7q5-_zYr{F~oOSiquMHm%(H$vG8>>2_W=)jzW z#r)QnHi8RZ-&_6S93~qWf3ih_CIh!!OK>xV=ePr~l2UT};sksYxwvaxW9_W8IS zUzaRgvK+}<)VIA`>;m^>X}h|_a@OLP4)-1Sp#XQb84y-MuM^$&UXs95pOC`~^wzFa zIyM|`+^PSg$#MD=A_UDLq_f8opRlUzGNU$besJ>~mv4m?=4SIZSNofh?cnvZ|J_@} zchY6y#S>E(cD!$ro;i>F%5$xMepvKxs{QkOqkgzq=M5cx`}r+WBFt*vsXP<<34gJW zF!#?`SO5I%hyu@#c2e`orEihw=&uA%Y6(FZozVCFP4$=12.5.0" + } + }, "node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", @@ -4485,6 +4499,16 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, + "node_modules/color-string": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz", + "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==", + "license": "MIT", + "dependencies": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, "node_modules/colorette": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.4.0.tgz", @@ -9929,6 +9953,31 @@ } } }, + "node_modules/react-native-bottom-tabs": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/react-native-bottom-tabs/-/react-native-bottom-tabs-0.2.0.tgz", + "integrity": "sha512-/0R6OUjgzyLlGsvux4CT1fXI8VJANlfyWOTL/xRWEDjSO0NTrNmcoUmJWaNBHnO6MTLp/SILrx7aUJG8Yzdb5A==", + "license": "MIT", + "workspaces": [ + "example", + "docs" + ], + "dependencies": { + "color": "^4.2.3", + "sf-symbols-typescript": "^2.0.0", + "use-latest-callback": "^0.2.1" + }, + "peerDependencies": { + "@react-navigation/native": ">=6", + "react": "*", + "react-native": "*" + }, + "peerDependenciesMeta": { + "@react-navigation/native": { + "optional": true + } + } + }, "node_modules/react-native/node_modules/ansi-styles": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", @@ -10492,6 +10541,15 @@ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" }, + "node_modules/sf-symbols-typescript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/sf-symbols-typescript/-/sf-symbols-typescript-2.0.0.tgz", + "integrity": "sha512-Fc8Uhhl2plqXMw7GQ8q83t/zj1xhNCJvteDNJUDULaH/4a/Eqw5aW1UYEznyEIgkokw7QYXuQ9hOw8jhBLXL0A==", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, "node_modules/shallow-clone": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", @@ -10553,6 +10611,21 @@ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" }, + "node_modules/simple-swizzle": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", + "integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==", + "license": "MIT", + "dependencies": { + "is-arrayish": "^0.3.1" + } + }, + "node_modules/simple-swizzle/node_modules/is-arrayish": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", + "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==", + "license": "MIT" + }, "node_modules/sisteransi": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", @@ -11373,6 +11446,15 @@ "punycode": "^2.1.0" } }, + "node_modules/use-latest-callback": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/use-latest-callback/-/use-latest-callback-0.2.1.tgz", + "integrity": "sha512-QWlq8Is8BGWBf883QOEQP5HWYX/kMI+JTbJ5rdtvJLmXTIh9XoHIO3PQcmQl8BU44VKxow1kbQUHa6mQSMALDQ==", + "license": "MIT", + "peerDependencies": { + "react": ">=16.8" + } + }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", diff --git a/package.json b/package.json index 75a02a8..986e202 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ }, "dependencies": { "react": "18.3.1", - "react-native": "0.76.1" + "react-native": "0.76.1", + "react-native-bottom-tabs": "^0.2.0" }, "devDependencies": { "@babel/core": "^7.25.2", @@ -36,4 +37,4 @@ "engines": { "node": ">=18" } -} \ No newline at end of file +}