Currently, the app version is not being logged. The prop version_name is null in the form data of the POST api.amplitude.com requests.
However, we can explicitly set the version name as following.
import { getVersion } from 'react-native-device-info'
import Amplitude from 'amplitude-js'
// ...
Amplitude.getInstance().setVersionName(getVersion())
// ...
Is it possible to add getVersion to the array here https://github.com/amplitude/Amplitude-JavaScript/blob/master/src/amplitude-client.js#L191 ?
ref:
Currently, the app version is not being logged. The prop
version_nameisnullin the form data of thePOST api.amplitude.comrequests.However, we can explicitly set the version name as following.
Is it possible to add
getVersionto the array here https://github.com/amplitude/Amplitude-JavaScript/blob/master/src/amplitude-client.js#L191 ?ref: