Add CSS Themes and Download vc using AID/RID

This commit is contained in:
Sri Kanth Kola
2022-08-07 16:40:07 +05:30
parent 967ce79867
commit 70559604af
61 changed files with 1907 additions and 715 deletions

View File

@@ -1,9 +1,6 @@
import { VC } from '../types/vc';
import Constants from 'expo-constants';
export const HOST =
Constants.manifest.extra.backendServiceUrl ||
'https://resident-app.newlogic.dev';
export const HOST = 'https://api-internal.dev3.mosip.net/resident/v1/';
export const MY_VCS_STORE_KEY = 'myVCs';
@@ -12,6 +9,12 @@ export const RECEIVED_VCS_STORE_KEY = 'receivedVCs';
export const VC_ITEM_STORE_KEY = (vc: Partial<VC>) =>
`vc:${vc.idType}:${vc.id}:${vc.requestId}`;
export let individualId = '';
export const GET_INDIVIDUAL_ID = (ind_Id: string) => {
individualId = ind_Id;
};
export const ACTIVITY_LOG_STORE_KEY = 'activityLog';
export const SETTINGS_STORE_KEY = 'settings';