IF YOU ARE USING XIAOMI PHONES,THERE IS A WAY TO SHARE WIFI PASSWORDS VIA QR CODES. OPEN SHARE WIFI AND SCREENSHOT THE QR CODE,THENNSEARCH ONLINE FOR "QR CODE VIEWER ONLINE"
Otherwise the hard way is to root your phone so that you'll have access to system/root folder and rummage around in there...butnit requires root,so...