Event.url in InAppBrowser


I am working on oauth2 using InAppBrowser.
when browser.loadstart event fired in emulator I am getting value of
event.url is somecallbackurl/#code
but If I am testing same thing in Android 9 device then
event.url is somecallbackurl
In urlbar of InAppbrowser url is somecallbackurl/#code but I dont know why only somecallbackurl in Android phone.
Can somebody tell me what can be cause.

Note : Working perfect on Android 7 Issue in Android Pie.