Skip to content

Commit

Permalink
feat: remote oca (#1427)
Browse files Browse the repository at this point in the history
Signed-off-by: wadeking98 <[email protected]>
  • Loading branch information
wadeking98 authored Sep 6, 2023
1 parent 352e9dc commit 960d262
Show file tree
Hide file tree
Showing 13 changed files with 30 additions and 352 deletions.
Binary file removed app/src/assets/branding/bc-logo.jpg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed app/src/assets/branding/best-bc-logo.png
Binary file not shown.
345 changes: 0 additions & 345 deletions app/src/assets/branding/credential-branding.ts

This file was deleted.

Binary file not shown.
Binary file removed app/src/assets/branding/invitation-logo.png
Binary file not shown.
Binary file not shown.
Binary file removed app/src/assets/branding/lsbc-background-image.jpg
Binary file not shown.
Binary file removed app/src/assets/branding/lsbc-logo.jpg
Binary file not shown.
Binary file removed app/src/assets/branding/person-background-image.png
Binary file not shown.
6 changes: 3 additions & 3 deletions app/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { BrandingOverlayType, DefaultOCABundleResolver } from '@hyperledger/aries-oca/build/legacy'
import { BrandingOverlayType, RemoteOCABundleResolver } from '@hyperledger/aries-oca/build/legacy'
import { translationResources, ConfigurationContext, Record, indyLedgers, defaultConfiguration } from 'aries-bifold'
import merge from 'lodash.merge'
import { ReducerAction } from 'react'
import Config from 'react-native-config'

import bundles from './assets/branding/credential-branding'
import AddCredentialButton from './components/AddCredentialButton'
import AddCredentialSlider from './components/AddCredentialSlider'
import EmptyList from './components/EmptyList'
Expand Down Expand Up @@ -37,7 +37,7 @@ const configuration: ConfigurationContext = {
credentialListOptions: AddCredentialSlider,
credentialEmptyList: EmptyList,
developer: Developer,
OCABundleResolver: new DefaultOCABundleResolver(bundles, {
OCABundleResolver: new RemoteOCABundleResolver(Config.OCA_URL ?? '', {
brandingOverlayType: BrandingOverlayType.Branding10,
}),
record: Record,
Expand Down
Loading

0 comments on commit 960d262

Please sign in to comment.