OneSignal / OneSignal-Android-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your native Android or Amazon app with OneSignal. https://onesignal.com
Other
592 stars 368 forks source link

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

Open gitByEOS opened 3 weeks ago

gitByEOS commented 3 weeks ago

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

jkasten2 commented 3 weeks ago

@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.