Getting data from async-storage and pass it to swift in xcode

Hi, I am quite new to the iOS world, and I am working in an already created weather project, where the app is written in react-native, and data about the location is stored in @react-native-community/async-storage, and I need to get that local stored data, and pass it to the widget that I have written in Swift. Is it possible?
Or should I just use google api and get the location independently from the app, and make it a configurable widget with intent and dynamic provided options?
Or can you suggest me other ideas about setting the location of a weather app?