“RNGADBannerView” was not found in the UIManager.

Happen to be getting the Invariant Violation: requireNativeComponent: “RNGADBannerView” was not found in the UIManager error? Did you use the really useful react-native-admob lib at some point, remove it, but are still getting this weird error? Maybe you’re using another lib, removed it, and are getting a similar error? I spent nearly three full days … Read more“RNGADBannerView” was not found in the UIManager.

Vertically and Horizontally Center Text in React Native

I recently spent quite some time trying to vertically and horizontally center text in React Native. I tried all sorts of combinations of align, alignContent, alignSelf, etc but couldn’t get my text horizontally and vertically centered. I mean this is probably because I’m React Native newb but stilllll. I’m actually quite surprised how bare the … Read moreVertically and Horizontally Center Text in React Native

Calculate A Random Integer from 0 to n in Javascript

The solution for those of you who want me to cut the crap and need to calculate a random integer from 0 to n in Javascript. My Setup macOS Node v12.10.0 The Problem I was writing a React-Native game where I had multiple cards that would be presented to the player. To spice up the … Read moreCalculate A Random Integer from 0 to n in Javascript