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

[question]: OneSignal.initWithContext use too long time #2108

Open
1 task done
gitByEOS opened this issue Jun 5, 2024 · 2 comments
Open
1 task done

[question]: OneSignal.initWithContext use too long time #2108

gitByEOS opened this issue Jun 5, 2024 · 2 comments

Comments

@gitByEOS
Copy link

gitByEOS commented Jun 5, 2024

How can we help?

We have added 10+ sdks on our app, so the launch time is quite long.
sdk initialization use about 600ms, but all other sdk initialization use between 10ms-40ms, only OneSignal.initWithContext use 260ms.
Can you do some optimization, this aggravates the data of our app launch time!

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jkasten2
Copy link
Member

jkasten2 commented Jun 5, 2024

@gitByEOS We made some improvements in 5.1.12 to avoid ANRs / lower the sdk initialization time. We will be optimizing this further in future releases.

@jinliu9508
Copy link
Contributor

Hello @gitByEOS, We've made significant performance improvements in version 5.1.19, which help minimize the initialization time by roughly 50%, generally on most devices. Please give it a try and let us know how it works for you. Keep in mind that we're continuously working on further enhancements to ensure faster response times and a better customer experience.

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

3 participants