This is an activity project or b4xpages project?
If is an activity project, maybe is better to initialize the SQL in the Starter service.
If is a b4xpages project, use the b4xmainpage.
This is a b4xpages project and I do initialize the database in the b4xmainpage.
Seems to be fine in over 3000 installs but occasional crash on less than a few devices. Probably not something to be too concerned about I guess