# Getting ready for a staged app rollout - Thurs/Fri 10th-11th Dec, 2020
These last few days have really been about prepping a production C+ release that I will release, using a [phased release](https://www.appflat.com/blog/2017/06/how-to-use-app-store-phased-releases/) on App Store Connect and [staged rollouts](https://support.google.com/googleplay/android-developer/answer/6346149?hl=en-GB) on the Android Play Store Console.
I came up on a few fun learnings. One was this lovely Android build error:
```
> Could not resolve all dependencies for configuration ‘:debug’.
> Problems reading data from Binary store in /tmp/gradle8793563212642185736.bin (exist: false)
```
This was only solved in the end by [upgrading Gradle](https://lukerogerson.medium.com/how-to-upgrade-android-gradle-for-react-native-devs-eae77aed5423).
The `react-native-htmlview` lib takes a `RootComponent` prop, useful when there is no valid HTML parent element:
```typescript=
export const HtmlToText: React.FC<HtmlToTextProps> = ({ textHtml, RootComponent }) => (
<HTMLView value={textHtml} renderNode={renderNode} RootComponent={RootComponent} />
)
```
This is used to show in-app alerts containing HTML chunks, such as those containing `<strong />` tags for emphasis.
I did this to show a button in the nav header for easy closing of the device keyboard (as some users had reported it was tough to unfocus an input sometimes):
```typescript=
// Add button to header for closing keyboard
useEffect(() => {
Keyboard.addListener('keyboardDidShow', () =>
navigation.setOptions({
headerRight: () => (
<TextButton
onPress={() => Keyboard.dismiss()}
>
{t('keyboard_close_button_text')}
</TextButton>
),
})
)
Keyboard.addListener('keyboardDidHide', () =>
navigation.setOptions({
headerRight: () => <Wrapper mr={HEADER_BUTTON_OFFSET} />,
})
)
return () => {
Keyboard.removeAllListeners('keyboardDidShow')
Keyboard.removeAllListeners('keyboardDidHide')
}
}, [navigation, t])
```
###### tags: `programmingjournal` `2020` `C+` `stagedrollout` `phasedrelease` `appstorconnect` `playstoreconsole` `keyboard` `webview` `gradle`