npm install --save-dev react-native-highlight-updates
Import the package inside your entry point file, before the rest of your code is being loaded:
require('react-native-highlight-updates');
If you are using Expo, the entry point for the project is:
./node_modules/react-native-scripts/build/bin/crna-entry.js
Just add the require statement to the begining of this file.