Not Getting login callback in manager app when we use modern interfce

Avinash 4 years ago

Hi @Anton
we are doing some customization in manager app, manager app uses this url by defalut - https://demo.traccar.org/ with this url we get login call back in manager app here

inner class AppInterface {
    @JavascriptInterface
    fun postMessage(message: String) {
        if (message.contains("login")) {
            broadcastManager.sendBroadcast(Intent(EVENT_LOGIN))
        }
    }
}

but the problem is when we login through modern ui - https://demo.traccar.org/modern/#/login we don't get any login call back.
we have our own server demo.traccar.org this is just for example

Anton Tananaev 4 years ago

It's not implemented in the modern app yet. Feel free to send a pull request if you implement it.