Comments (3)
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.
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.
so Adjust.componentWillUnmount()
is not required for proper tracking?
In which scenario would one call it?
from react_native_sdk.
Related Issues (20)
- Does setDeferredDeeplinkCallbackListener listens to default deeplinks? HOT 8
- referral handling on FE ? HOT 1
- setDeferredDeeplinkCallbackListener issue HOT 12
- Upgrading RN adjust sdk from 4.29.6 to 4.33.0 throws 500 error on Adjust.trackEvent() on iOS in Production. HOT 2
- deferred deeplinks do not work in case of reinstall. HOT 1
- Remove iAd framework attribution and use Apple Ads Attribution API HOT 6
- Cycle in dependencies between targets 'Adjust' and 'NotificationService' HOT 2
- When do we get invalid signature for an install? HOT 1
- Does deferred deep link won't work when your app isn't on the AppStore yet?
- No Documentation on App Secret HOT 1
- Google Play Console giving error 'Your advertising ID declaration in Play Console says that your app uses advertising ID. A manifest file in one of your active artifacts doesn't include the com.google.android.gms.permission.AD_ID permission.'
- Compilation failed HOT 1
- Compilation failed HOT 2
- how to remove redirect if apps are open ( my bad )
- setFbAppId support HOT 1
- Handle deeplinks with Expo router v3 HOT 1
- library 'Adjust' not found HOT 2
- [Question] SkAdNetwork direct install
- ATT Automatically Denied (requestTrackingAuthorizationWithCompletionHandler) - 17.4.1 HOT 4
- React Native 0.74 (Bridgeless) Support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react_native_sdk.