-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Feature description
When a user downloads an OTA update (a jsbundle), we do not fully restart the app (as it would be way slower).
We instead call the native side for a js bundle reload.
The issue we are facing is that the datadog initialize method, because already initialized when the app started, will skip the call to initialize
after bundle js swap.
To clarify the process, this is happening:
- App starts
- jsbundle#111 is loaded
- datadog initialize is called with versionSuffix=111
- then, an OTA update is received
- jsbundle#112 is loaded (without a native app restart)
- datadog initialize is called with versionSuffix=112
that last call gets omitted... and the sdk interface does not offer any method to re initialize.
I was about to make a patch for the js side of the library, but it looks like it is a bit more involved, as the swift/kotlin implementations are also prepared for a single time initialization.
Is there a workaround for this?
Thanks
Proposed solution
No response
Other relevant information
No response
leggomuhgreggosbarrio
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request