Provides access to Amplitude mobile analytics which basically lets you log various events to the Cloud. This module wraps Amplitude's iOS and Android SDKs. For a great example of usage, see the Expo app source code.
Please note: Session tracking may not work correctly when running Experiences in the main Expo app. It will work correctly if you create a standalone app. For example, the version logged when running experiences in the Expo app will be the Expo app version. Whereas in standalone apps, the version set in app.json is used. For more information see this issue on GitHub.
Log an event to Amplitude with custom properties. For more information about what kind of events to track, see here.
eventName (string) -- The event name.
properties (object) -- A map of custom properties.
Add the current user to a group. For more information, see here for iOS and see here for Android.
groupType (string) -- The group name, e.g. "sports".
groupNames (object) -- An array of group names, e.g. ["tennis", "soccer"]. Note: the iOS and Android Amplitude SDKs allow you to use a string or an array of strings. We only support an array of strings. Just use an array with one element if you only want one group name.