You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Init doesnt look like it needs to be async. It would be nice if it wasnt - most 3rd party trackers arent.
Also, the window["OneSignal"] property seems to only be instantiated inside of the handleOnLoad method (which is called after the script is loaded). Shouldnt the property and queue be initialized immediately during init/module import vs when the script asynchronously returns?
Thank you!
The text was updated successfully, but these errors were encountered:
I think you make an excellent point. Before making a decision, we would have to carefully consider the switch. That said, I can't think of a reason this cannot be done at the moment. However, note that we would not be able to remove this until a future major release.
If you could provide us with more info as to why this is important to you and how you are using the package, it may help guide us in our efforts.
How can we help?
Init doesnt look like it needs to be async. It would be nice if it wasnt - most 3rd party trackers arent.
Also, the window["OneSignal"] property seems to only be instantiated inside of the handleOnLoad method (which is called after the script is loaded). Shouldnt the property and queue be initialized immediately during init/module import vs when the script asynchronously returns?
Thank you!
The text was updated successfully, but these errors were encountered: