https://regeneratingserumolayfast.blogspot.com/2024/07/phonegap-wait-for-database-transaction.html
Phonegap Wait For Database Transaction To Complete