Answers for "firebase analytics react native"

0

firebase analytics react native

import react, { useEffect } from 'react';
import { View, Button } from 'react-native';
import analytics from '@react-native-firebase/analytics';

function App() {
  return (
    <View>
      <Button
        title="Add To Basket"
        onPress={async () =>
          await analytics().logEvent('basket', {
            id: 3745092,
            item: 'mens grey t-shirt',
            description: ['round neck', 'long sleeved'],
            size: 'L',
          })
        }
      />
    </View>
  );
}
Posted by: Guest on October-04-2021

Code answers related to "firebase analytics react native"

Code answers related to "Javascript"

Browse Popular Code Answers by Language