cd android/ && ./gradlew assembleRelease && cd ..wrap with INTUNE
cd android/ && ./gradlew assembleRelease && cd ..wrap with INTUNE
| import 'package:flutter/material.dart'; | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | |
| const MyApp({Key? key}) : super(key: key); | |
| @override |
| import { withNavigationFocus } from 'react-navigation'; | |
| const FocusAwareStatusBar = withNavigationFocus(({ isFocused, ...rest }) => | |
| isFocused ? <StatusBar {...rest} /> : null, | |
| ); | |
| <FocusAwareStatusBar | |
| translucent | |
| backgroundColor="transparent" | |
| barStyle="dark-content" |
Tambahkan kode berikut di dalam <styles> tag pada file styles.xml
<item name="android:forceDarkAllowed">false</item>
sehingga file styles.xml menjadi seperti ini
<resources>