Skip to content

Commit

Permalink
added support for remote proof bundles
Browse files Browse the repository at this point in the history
Signed-off-by: wadeking98 <[email protected]>
  • Loading branch information
wadeking98 committed Nov 8, 2023
1 parent cab32f3 commit b2bd4cb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 344 deletions.
11 changes: 9 additions & 2 deletions app/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
import { BrandingOverlayType, RemoteOCABundleResolver } from '@hyperledger/aries-oca/build/legacy'
import { translationResources, ConfigurationContext, Record, indyLedgers, defaultConfiguration } from 'aries-bifold'
import {
translationResources,
ConfigurationContext,
Record,
indyLedgers,
defaultConfiguration,
useProofRequestTemplates,
} from 'aries-bifold'
import merge from 'lodash.merge'
import { ReducerAction } from 'react'
import { Config } from 'react-native-config'
Expand All @@ -12,7 +19,6 @@ import { useNotifications } from './hooks/notifications'
import en from './localization/en'
import fr from './localization/fr'
import ptBr from './localization/pt-br'
import { useProofRequestTemplates } from './request-templates'
import Developer from './screens/Developer'
import { pages } from './screens/OnboardingPages'
import PersonCredential from './screens/PersonCredential'
Expand Down Expand Up @@ -43,6 +49,7 @@ const configuration: ConfigurationContext = {
OCABundleResolver: new RemoteOCABundleResolver(Config.OCA_URL ?? '', {
brandingOverlayType: BrandingOverlayType.Branding10,
}),
proofTemplateBaseUrl: Config.PROOF_TEMPLATE_URL,
record: Record,
indyLedgers: selectedLedgers,
settings: [],
Expand Down
342 changes: 0 additions & 342 deletions app/src/request-templates.ts

This file was deleted.

0 comments on commit b2bd4cb

Please sign in to comment.