I am able to get the WiFi SSID correct however isWiFiConnected returns true only if device is reachable to internet else it returns false.
Let me tell you little bit more...
My home WiFi SSID is "Mumbai Indians", this network is connected to internet.
There is one more SSID, generated using ESP8266 as AP whose name is "Smart_Home".
My observation as below.
Mobile WiFi connected to SSID: Mumbai Indians, APP result as below
isWiFiConnected: true
WiFiSSID: Mumbai Indians
Mobile WiFi connected to SSID: Smart_Home, APP result as below
isWiFiConnected: false
WiFiSSID: Smart_Home
Please let me know the reason for this.