Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust.onCreate on coroutineScope.launch(ioDispatcher) #621

Open
ravikant42 opened this issue Nov 5, 2024 · 1 comment
Open

Adjust.onCreate on coroutineScope.launch(ioDispatcher) #621

ravikant42 opened this issue Nov 5, 2024 · 1 comment

Comments

@ravikant42
Copy link

I have the scenario in which I wish to call the onCreate on the background thread. onResume will be called on main thread.
Actually we are reading the tracker value from different source which may take some time and want to call the Adjust.onCreate only after that.
Will this cause any issue?

@uerceg
Copy link
Contributor

uerceg commented Nov 5, 2024

Hey @ravikant42,

This shouldn't be any issue at all. Even if invoked from the main thread, SDK is processing any call made to it in the background thread, so it shouldn't really matter which thread you are making the call from.

Of course, if for your particular case you do notice something not working as expected, please let us know, but you shouldn't face any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants