Code Monkey home page Code Monkey logo

Comments (3)

uerceg avatar uerceg commented on July 17, 2024

Hi @kaibarnes

We do not have recommended way for React native Navigation, not because there's not one, but rather because we haven't tried to make an app with usage of that component.

General rule of thumb for our SDK, regardless of which components and approach is used in app development is that it's initialisation should occur as soon as possible after your app launches so that data later displayed in the dashboard is as accurate as possible. When writing README, we identified ComponentWillMount as suitable place in RN app which we have made on our own to do the testing. If something like that doesn't exist for you, then simply initialise Adjust SDK as soon as possible inside of your app.

Call to Adjust.componentWillUnmount() is not even needed in case you are creating AdjustConfig object at just one place when initialising SDK and in no other place in your app.

In case you have any other questions, feel free to ping us in here.

Cheers

from react_native_sdk.

kaibarnes avatar kaibarnes commented on July 17, 2024

Thank you for the quick response @uerceg

Not calling Adjust.componentWillUnmount() seems like it will fix my problem then. Thanks a lot

from react_native_sdk.

pke avatar pke commented on July 17, 2024

so Adjust.componentWillUnmount() is not required for proper tracking?
In which scenario would one call it?

from react_native_sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.