I generally like to automatically bake-in the results of a git describe --always --dirty
in any website, app, etc I am developing so that I can easily trace behaviors. Right now, I can't figure out a way to get this in a React Native app.
I am using Android, but am certainly looking for a solution to both Android and iOS.
I found a way using a mix of other existing answers:
Update (3 years later): Here's a minimal diff that shows how to implement in Android.