React native app just warm start
See original GitHub issuePlatform:
- Android -> 29, 30, 31
- React-Native -> 0.66.3
"@sentry/react-native": "^3.2.6", "@sentry/tracing": "^6.15.0", "@sentry/wizard": "^1.2.15",
@Override public synchronized void onActivityCreated( final @NonNull Activity activity, final @Nullable Bundle savedInstanceState) { setColdStart(savedInstanceState); addBreadcrumb(activity, “created”); startTracing(activity); firstActivityCreated = true; }
LOG Sentry Logger [Log]: [Measurements] Adding measurements to transaction { “app_start_warm”: { “value”: 1232.434 } }
savedInstanceState alway null and my app just warm start
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Programmatically Restart a React Native App - Stack Overflow
If you want to restart just the JS part, then you can use React Native Restart Package. This will work on both Android...
Read more >How we improved our React Native cold start for Android
A step-by-step guide to improving React Native cold start for the Mattermost Android app.
Read more >Introducing Hot Reloading - React Native
The idea behind hot reloading is to keep the app running and to inject new versions of the files that you edited at...
Read more >Already used React Native - Expo Documentation
If you are familiar with React Native, this guide will help you understand the key differences between Expo and React Native.
Read more >How to create React Native App for Android, iOS and Web ...
Step 1: Init a React Native Application: · Step 2: Run this new app in Android (optional) · Step 3: Web Setup.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dangdo1 I’ve dug into it and found out the root cause, App start was always reported as Warm start but the numbers were correct anyway. PR is in place https://github.com/getsentry/sentry-react-native/pull/1985
@dangdo1 its indeed an issue, not sure if on the RN SDK or Android SDK yet, will debug, thanks for the repro.