Files
super-app/network/NetworkUtils.ts

12 lines
329 B
TypeScript
Raw Normal View History

import { getStringPreference } from "../App/common/utilities/SharedPreferenceUtils";
const getSessionToken = async () => {
return await getStringPreference("SESSION_TOKEN", "string");
};
const getDeviceId = async () => {
return await getStringPreference("DEVICE_ID", "string");
};
export { getSessionToken, getDeviceId };