react-native-sqlite-storage
react-native-sqlite-storage copied to clipboard
how to see database in iOS simulator on Mac book
I am using react-native run-ios and my pre-populated database worked on the iOS simulator.
But I want to show the real db datas in the simulator through DB browser for SQLite.
how can I check it? or download it?
- Open your Finder, and in the upper menu click on
Go -> Go to Folder...(Or press SHIFT + CMD + G) - Enter
~/Library/Developer/CoreSimulator/Devices/and click Go - In that folder you should search for the name of your database with the
.dbextension. For example if the name of your database istest, you would search fortest.db. - Open the
.dbfile with DB browser
P.S.
Make sure to click on "Devices", because This Mac is pre-selected by default:
