0.2.41 • Published 2 years ago

hilytics v0.2.41

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Getting Started with Hilytics! (for react-native)

We as a company Hilix aim for an incredible and super simple user experience, including developer experience. Therefore, to start using our client for tracking down most of the basic (and profound) needs of your app out of the box, just include our container instead of the NavigationContainer from react-native

To achieve this, after you created an API Key in our website, just replace your <NavigationContainer>...</NavigationContainer> component for:

render() {

  // ... all of your awesome code

  return (
    <Hilytics apiKey={YOUR_API_KEY}>
      {/* more code */}
    </Hilytics>
  ) 
}

In addition, you can currently add two observable properties for the container, which will change value every time it changes on your app. This two are the userEmail and the isPaid property. This is because they are way too application specific for us to infer, so you'd need to provide them yourselves, as follows:

render() {
  // This as an example, or any persistence layer that you have...
  const [userEmail, setUserEmail] = useState('')
  const [isPaid, setIsPaid] = useState(false)
  
  handleOnAuthOkClick = (e) => setUserEmail(e.target.value)
  handleOnUserSubscribed = () => setIsPaid(true)
  
  // ... all of your awesome code

  return (
    <Hilytics apiKey={YOUR_API_KEY} userEmail={userEmail} isPaid={isPaid}>
      {/* more code */}
    </Hilytics>
  ) 
}

And that should be done! Enjoy the best experience for tracking users to your app. Made with <3 by Hilix team.

0.2.41

2 years ago

0.2.40

2 years ago

0.2.39

2 years ago

0.2.38

2 years ago

0.2.37

2 years ago

0.2.36

2 years ago

0.2.35

2 years ago

0.2.26

2 years ago

0.2.30

2 years ago

0.2.34

2 years ago

0.2.33

2 years ago

0.2.32

2 years ago

0.2.31

2 years ago

0.2.29

2 years ago

0.2.28

2 years ago

0.2.25

2 years ago

0.2.24

2 years ago

0.2.23

2 years ago

0.2.22

2 years ago

0.2.21

2 years ago

0.2.20

2 years ago

0.2.19

2 years ago

0.2.18

2 years ago

0.2.17

2 years ago

0.2.16

2 years ago

0.2.15

2 years ago

0.2.14

2 years ago

0.2.13

2 years ago

0.2.12

2 years ago

0.2.11

2 years ago

0.2.10

2 years ago

0.2.9

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.8

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago