We made a similar solution but with phone calls only. We made our own plugin which was writen in Java using Android Studio and included in Cordova build.
It was an app made for a traffic safety campaign "A day without mobile phones in traffic" here in Croatia.
The sole purpose of the app is to reject calls while you are driving and send an SMS to the caller with a predefined text.
The app also stores the statistics about its usage locally on the phone and communicates with the server when data connection is available.
So it works even if there is no data coverage.
You can check it out on Google Play: https://play.google.com/store/apps/deta ... laUPrometu
It's for android only, we never made a version for IOS.
Who is online
Users browsing this forum: [Ccbot] and 0 guests