@bifold/core 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (262) hide show
  1. package/lib/commonjs/App.js +1 -2
  2. package/lib/commonjs/App.js.map +1 -1
  3. package/lib/commonjs/assets/oca-bundles.json +4 -4
  4. package/lib/commonjs/components/inputs/PINInput.js +4 -2
  5. package/lib/commonjs/components/inputs/PINInput.js.map +1 -1
  6. package/lib/commonjs/components/misc/CredentialCard11.js +34 -13
  7. package/lib/commonjs/components/misc/CredentialCard11.js.map +1 -1
  8. package/lib/commonjs/components/modals/DeveloperModal.js +2 -8
  9. package/lib/commonjs/components/modals/DeveloperModal.js.map +1 -1
  10. package/lib/commonjs/components/views/Banner.js +162 -0
  11. package/lib/commonjs/components/views/Banner.js.map +1 -0
  12. package/lib/commonjs/components/views/HeaderWithBanner.js +17 -0
  13. package/lib/commonjs/components/views/HeaderWithBanner.js.map +1 -0
  14. package/lib/commonjs/components/views/KeyboardView.js +21 -8
  15. package/lib/commonjs/components/views/KeyboardView.js.map +1 -1
  16. package/lib/commonjs/container-api.js +1 -0
  17. package/lib/commonjs/container-api.js.map +1 -1
  18. package/lib/commonjs/container-impl.js +2 -0
  19. package/lib/commonjs/container-impl.js.map +1 -1
  20. package/lib/commonjs/contexts/network.js +36 -0
  21. package/lib/commonjs/contexts/network.js.map +1 -1
  22. package/lib/commonjs/contexts/reducers/store.js +30 -14
  23. package/lib/commonjs/contexts/reducers/store.js.map +1 -1
  24. package/lib/commonjs/contexts/store.js +3 -3
  25. package/lib/commonjs/contexts/store.js.map +1 -1
  26. package/lib/commonjs/index.js +0 -8
  27. package/lib/commonjs/index.js.map +1 -1
  28. package/lib/commonjs/localization/en/en.json +3 -0
  29. package/lib/commonjs/localization/fr/fr.json +3 -1
  30. package/lib/commonjs/localization/pt-br/pt-br.json +3 -1
  31. package/lib/commonjs/modules/history/ui/HistorySettings.js.map +1 -1
  32. package/lib/commonjs/modules/openid/screens/OpenIDProofChangeCredential.js +1 -1
  33. package/lib/commonjs/modules/openid/screens/OpenIDProofChangeCredential.js.map +1 -1
  34. package/lib/commonjs/navigators/ContactStack.js +0 -16
  35. package/lib/commonjs/navigators/ContactStack.js.map +1 -1
  36. package/lib/commonjs/navigators/DeliveryStack.js +0 -16
  37. package/lib/commonjs/navigators/DeliveryStack.js.map +1 -1
  38. package/lib/commonjs/navigators/MainStack.js.map +1 -1
  39. package/lib/commonjs/navigators/NotificationStack.js +0 -16
  40. package/lib/commonjs/navigators/NotificationStack.js.map +1 -1
  41. package/lib/commonjs/navigators/OnboardingScreens.js.map +1 -1
  42. package/lib/commonjs/navigators/defaultStackOptions.js +2 -0
  43. package/lib/commonjs/navigators/defaultStackOptions.js.map +1 -1
  44. package/lib/commonjs/screens/Chat.js +11 -1
  45. package/lib/commonjs/screens/Chat.js.map +1 -1
  46. package/lib/commonjs/screens/CredentialDetails.js.map +1 -1
  47. package/lib/commonjs/screens/PINChange.js +9 -6
  48. package/lib/commonjs/screens/PINChange.js.map +1 -1
  49. package/lib/commonjs/screens/PINEnter.js +10 -8
  50. package/lib/commonjs/screens/PINEnter.js.map +1 -1
  51. package/lib/commonjs/screens/PINVerify.js +13 -11
  52. package/lib/commonjs/screens/PINVerify.js.map +1 -1
  53. package/lib/commonjs/screens/Terms.js +1 -19
  54. package/lib/commonjs/screens/Terms.js.map +1 -1
  55. package/lib/commonjs/screens/ToggleBiometry.js +2 -1
  56. package/lib/commonjs/screens/ToggleBiometry.js.map +1 -1
  57. package/lib/commonjs/services/logger.js +32 -8
  58. package/lib/commonjs/services/logger.js.map +1 -1
  59. package/lib/commonjs/types/state.js +4 -0
  60. package/lib/module/App.js +1 -2
  61. package/lib/module/App.js.map +1 -1
  62. package/lib/module/assets/oca-bundles.json +4 -4
  63. package/lib/module/components/inputs/PINInput.js +4 -2
  64. package/lib/module/components/inputs/PINInput.js.map +1 -1
  65. package/lib/module/components/misc/CredentialCard11.js +34 -13
  66. package/lib/module/components/misc/CredentialCard11.js.map +1 -1
  67. package/lib/module/components/modals/DeveloperModal.js +2 -8
  68. package/lib/module/components/modals/DeveloperModal.js.map +1 -1
  69. package/lib/module/components/views/Banner.js +152 -0
  70. package/lib/module/components/views/Banner.js.map +1 -0
  71. package/lib/module/components/views/HeaderWithBanner.js +10 -0
  72. package/lib/module/components/views/HeaderWithBanner.js.map +1 -0
  73. package/lib/module/components/views/KeyboardView.js +22 -9
  74. package/lib/module/components/views/KeyboardView.js.map +1 -1
  75. package/lib/module/container-api.js +1 -0
  76. package/lib/module/container-api.js.map +1 -1
  77. package/lib/module/container-impl.js +2 -0
  78. package/lib/module/container-impl.js.map +1 -1
  79. package/lib/module/contexts/network.js +37 -1
  80. package/lib/module/contexts/network.js.map +1 -1
  81. package/lib/module/contexts/reducers/store.js +30 -14
  82. package/lib/module/contexts/reducers/store.js.map +1 -1
  83. package/lib/module/contexts/store.js +3 -3
  84. package/lib/module/contexts/store.js.map +1 -1
  85. package/lib/module/index.js +1 -2
  86. package/lib/module/index.js.map +1 -1
  87. package/lib/module/localization/en/en.json +3 -0
  88. package/lib/module/localization/fr/fr.json +3 -1
  89. package/lib/module/localization/pt-br/pt-br.json +3 -1
  90. package/lib/module/modules/history/ui/HistorySettings.js.map +1 -1
  91. package/lib/module/modules/openid/screens/OpenIDProofChangeCredential.js +1 -1
  92. package/lib/module/modules/openid/screens/OpenIDProofChangeCredential.js.map +1 -1
  93. package/lib/module/navigators/ContactStack.js +0 -16
  94. package/lib/module/navigators/ContactStack.js.map +1 -1
  95. package/lib/module/navigators/DeliveryStack.js +0 -16
  96. package/lib/module/navigators/DeliveryStack.js.map +1 -1
  97. package/lib/module/navigators/MainStack.js.map +1 -1
  98. package/lib/module/navigators/NotificationStack.js +0 -16
  99. package/lib/module/navigators/NotificationStack.js.map +1 -1
  100. package/lib/module/navigators/OnboardingScreens.js.map +1 -1
  101. package/lib/module/navigators/defaultStackOptions.js +2 -0
  102. package/lib/module/navigators/defaultStackOptions.js.map +1 -1
  103. package/lib/module/screens/Chat.js +11 -1
  104. package/lib/module/screens/Chat.js.map +1 -1
  105. package/lib/module/screens/CredentialDetails.js.map +1 -1
  106. package/lib/module/screens/PINChange.js +9 -6
  107. package/lib/module/screens/PINChange.js.map +1 -1
  108. package/lib/module/screens/PINEnter.js +10 -8
  109. package/lib/module/screens/PINEnter.js.map +1 -1
  110. package/lib/module/screens/PINVerify.js +13 -11
  111. package/lib/module/screens/PINVerify.js.map +1 -1
  112. package/lib/module/screens/Terms.js +1 -19
  113. package/lib/module/screens/Terms.js.map +1 -1
  114. package/lib/module/screens/ToggleBiometry.js +2 -1
  115. package/lib/module/screens/ToggleBiometry.js.map +1 -1
  116. package/lib/module/services/logger.js +32 -8
  117. package/lib/module/services/logger.js.map +1 -1
  118. package/lib/module/types/state.js +1 -1
  119. package/lib/typescript/src/App.d.ts.map +1 -1
  120. package/lib/typescript/src/components/chat/ChatActions.d.ts.map +1 -1
  121. package/lib/typescript/src/components/chat/ChatBubble.d.ts.map +1 -1
  122. package/lib/typescript/src/components/chat/MessageInput.d.ts.map +1 -1
  123. package/lib/typescript/src/components/inputs/PINInput.d.ts +1 -0
  124. package/lib/typescript/src/components/inputs/PINInput.d.ts.map +1 -1
  125. package/lib/typescript/src/components/listItems/ContactCredentialListItem.d.ts.map +1 -1
  126. package/lib/typescript/src/components/misc/CredentialCard11.d.ts.map +1 -1
  127. package/lib/typescript/src/components/misc/CredentialCard11ActionFooter.d.ts.map +1 -1
  128. package/lib/typescript/src/components/misc/PINHeader.d.ts.map +1 -1
  129. package/lib/typescript/src/components/modals/DeveloperModal.d.ts.map +1 -1
  130. package/lib/typescript/src/components/tour/TourOverlay.d.ts.map +1 -1
  131. package/lib/typescript/src/components/views/Banner.d.ts +16 -0
  132. package/lib/typescript/src/components/views/Banner.d.ts.map +1 -0
  133. package/lib/typescript/src/components/views/HeaderWithBanner.d.ts +5 -0
  134. package/lib/typescript/src/components/views/HeaderWithBanner.d.ts.map +1 -0
  135. package/lib/typescript/src/components/views/KeyboardView.d.ts +1 -0
  136. package/lib/typescript/src/components/views/KeyboardView.d.ts.map +1 -1
  137. package/lib/typescript/src/container-api.d.ts +3 -0
  138. package/lib/typescript/src/container-api.d.ts.map +1 -1
  139. package/lib/typescript/src/container-impl.d.ts +1 -0
  140. package/lib/typescript/src/container-impl.d.ts.map +1 -1
  141. package/lib/typescript/src/contexts/navigation.d.ts.map +1 -1
  142. package/lib/typescript/src/contexts/network.d.ts.map +1 -1
  143. package/lib/typescript/src/contexts/reducers/store.d.ts +6 -4
  144. package/lib/typescript/src/contexts/reducers/store.d.ts.map +1 -1
  145. package/lib/typescript/src/contexts/store.d.ts.map +1 -1
  146. package/lib/typescript/src/contexts/theme.d.ts.map +1 -1
  147. package/lib/typescript/src/hooks/chat-messages.d.ts.map +1 -1
  148. package/lib/typescript/src/hooks/connections.d.ts.map +1 -1
  149. package/lib/typescript/src/hooks/credential-card-styles.d.ts +2 -2
  150. package/lib/typescript/src/hooks/credential-card-styles.d.ts.map +1 -1
  151. package/lib/typescript/src/hooks/credentials.d.ts.map +1 -1
  152. package/lib/typescript/src/hooks/developer-mode.d.ts.map +1 -1
  153. package/lib/typescript/src/hooks/notifications.d.ts.map +1 -1
  154. package/lib/typescript/src/hooks/oob.d.ts.map +1 -1
  155. package/lib/typescript/src/hooks/proof-request-templates.d.ts.map +1 -1
  156. package/lib/typescript/src/hooks/proofs.d.ts.map +1 -1
  157. package/lib/typescript/src/hooks/screen-capture.d.ts.map +1 -1
  158. package/lib/typescript/src/hooks/useOnboardingState.d.ts.map +1 -1
  159. package/lib/typescript/src/hooks/usePINValidation.d.ts.map +1 -1
  160. package/lib/typescript/src/index.d.ts +1 -2
  161. package/lib/typescript/src/index.d.ts.map +1 -1
  162. package/lib/typescript/src/localization/index.d.ts.map +1 -1
  163. package/lib/typescript/src/modules/history/ui/HistorySettings.d.ts +2 -3
  164. package/lib/typescript/src/modules/history/ui/HistorySettings.d.ts.map +1 -1
  165. package/lib/typescript/src/modules/openid/hooks/openid.d.ts.map +1 -1
  166. package/lib/typescript/src/modules/openid/offerResolve.d.ts.map +1 -1
  167. package/lib/typescript/src/modules/openid/resolverProof.d.ts.map +1 -1
  168. package/lib/typescript/src/modules/openid/utils/utils.d.ts.map +1 -1
  169. package/lib/typescript/src/navigators/ContactStack.d.ts.map +1 -1
  170. package/lib/typescript/src/navigators/DeliveryStack.d.ts.map +1 -1
  171. package/lib/typescript/src/navigators/MainStack.d.ts.map +1 -1
  172. package/lib/typescript/src/navigators/NotificationStack.d.ts.map +1 -1
  173. package/lib/typescript/src/navigators/OnboardingScreens.d.ts +10 -10
  174. package/lib/typescript/src/navigators/OnboardingScreens.d.ts.map +1 -1
  175. package/lib/typescript/src/navigators/defaultStackOptions.d.ts.map +1 -1
  176. package/lib/typescript/src/onboarding.d.ts.map +1 -1
  177. package/lib/typescript/src/screens/Chat.d.ts.map +1 -1
  178. package/lib/typescript/src/screens/ConfigureMediator.d.ts.map +1 -1
  179. package/lib/typescript/src/screens/CredentialDetails.d.ts +2 -2
  180. package/lib/typescript/src/screens/CredentialDetails.d.ts.map +1 -1
  181. package/lib/typescript/src/screens/JSONDetails.d.ts.map +1 -1
  182. package/lib/typescript/src/screens/OnboardingPages.d.ts.map +1 -1
  183. package/lib/typescript/src/screens/PINChange.d.ts +2 -3
  184. package/lib/typescript/src/screens/PINChange.d.ts.map +1 -1
  185. package/lib/typescript/src/screens/PINEnter.d.ts.map +1 -1
  186. package/lib/typescript/src/screens/PINVerify.d.ts.map +1 -1
  187. package/lib/typescript/src/screens/Terms.d.ts.map +1 -1
  188. package/lib/typescript/src/screens/ToggleBiometry.d.ts.map +1 -1
  189. package/lib/typescript/src/services/keychain.d.ts.map +1 -1
  190. package/lib/typescript/src/services/storage.d.ts.map +1 -1
  191. package/lib/typescript/src/types/navigators.d.ts +1 -0
  192. package/lib/typescript/src/types/navigators.d.ts.map +1 -1
  193. package/lib/typescript/src/types/state.d.ts +2 -1
  194. package/lib/typescript/src/types/state.d.ts.map +1 -1
  195. package/lib/typescript/src/utils/PINValidation.d.ts.map +1 -1
  196. package/lib/typescript/src/utils/agent.d.ts.map +1 -1
  197. package/lib/typescript/src/utils/anonCredsProofRequestMapper.d.ts.map +1 -1
  198. package/lib/typescript/src/utils/contacts.d.ts.map +1 -1
  199. package/lib/typescript/src/utils/credential.d.ts.map +1 -1
  200. package/lib/typescript/src/utils/crypto.d.ts.map +1 -1
  201. package/lib/typescript/src/utils/fileCache.d.ts.map +1 -1
  202. package/lib/typescript/src/utils/helpers.d.ts +1 -3
  203. package/lib/typescript/src/utils/helpers.d.ts.map +1 -1
  204. package/lib/typescript/src/utils/luminance.d.ts.map +1 -1
  205. package/lib/typescript/src/utils/mediatorhelpers.d.ts.map +1 -1
  206. package/lib/typescript/src/utils/migration.d.ts.map +1 -1
  207. package/lib/typescript/src/utils/network.d.ts.map +1 -1
  208. package/lib/typescript/src/utils/oca.d.ts.map +1 -1
  209. package/lib/typescript/src/utils/parsers.d.ts.map +1 -1
  210. package/lib/typescript/src/utils/proofBundle.d.ts.map +1 -1
  211. package/lib/typescript/src/utils/testable.d.ts.map +1 -1
  212. package/package.json +147 -148
  213. package/src/App.tsx +0 -2
  214. package/src/assets/oca-bundles.json +4 -4
  215. package/src/components/buttons/Button.tsx +24 -24
  216. package/src/components/inputs/PINInput.tsx +3 -1
  217. package/src/components/misc/CredentialCard11.tsx +40 -16
  218. package/src/components/modals/DeveloperModal.tsx +1 -2
  219. package/src/components/views/Banner.tsx +174 -0
  220. package/src/components/views/HeaderWithBanner.tsx +17 -0
  221. package/src/components/views/KeyboardView.tsx +23 -9
  222. package/src/container-api.ts +2 -0
  223. package/src/container-impl.ts +2 -0
  224. package/src/contexts/network.tsx +39 -1
  225. package/src/contexts/reducers/store.ts +30 -13
  226. package/src/contexts/store.tsx +1 -1
  227. package/src/index.ts +0 -2
  228. package/src/localization/en/en.json +3 -0
  229. package/src/localization/fr/fr.json +3 -1
  230. package/src/localization/pt-br/pt-br.json +3 -1
  231. package/src/modules/history/ui/HistorySettings.tsx +2 -3
  232. package/src/modules/openid/screens/OpenIDProofChangeCredential.tsx +1 -1
  233. package/src/navigators/ContactStack.tsx +0 -15
  234. package/src/navigators/DeliveryStack.tsx +0 -18
  235. package/src/navigators/MainStack.tsx +6 -3
  236. package/src/navigators/NotificationStack.tsx +0 -18
  237. package/src/navigators/OnboardingScreens.ts +10 -10
  238. package/src/navigators/defaultStackOptions.tsx +2 -0
  239. package/src/screens/Chat.tsx +29 -19
  240. package/src/screens/CredentialDetails.tsx +5 -2
  241. package/src/screens/PINChange.tsx +7 -5
  242. package/src/screens/PINEnter.tsx +6 -7
  243. package/src/screens/PINVerify.tsx +34 -32
  244. package/src/screens/Terms.tsx +3 -13
  245. package/src/screens/ToggleBiometry.tsx +1 -0
  246. package/src/services/logger.ts +8 -8
  247. package/src/types/navigators.ts +1 -0
  248. package/src/types/state.ts +3 -1
  249. package/lib/commonjs/components/network/NetInfo.js +0 -43
  250. package/lib/commonjs/components/network/NetInfo.js.map +0 -1
  251. package/lib/commonjs/hooks/onboarding.js +0 -23
  252. package/lib/commonjs/hooks/onboarding.js.map +0 -1
  253. package/lib/module/components/network/NetInfo.js +0 -36
  254. package/lib/module/components/network/NetInfo.js.map +0 -1
  255. package/lib/module/hooks/onboarding.js +0 -16
  256. package/lib/module/hooks/onboarding.js.map +0 -1
  257. package/lib/typescript/src/components/network/NetInfo.d.ts +0 -3
  258. package/lib/typescript/src/components/network/NetInfo.d.ts.map +0 -1
  259. package/lib/typescript/src/hooks/onboarding.d.ts +0 -2
  260. package/lib/typescript/src/hooks/onboarding.d.ts.map +0 -1
  261. package/src/components/network/NetInfo.tsx +0 -36
  262. package/src/hooks/onboarding.ts +0 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bifold/core",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "main": "lib/commonjs/index.js",
5
5
  "module": "lib/module/index.js",
6
6
  "react-native": "src/index.ts",
@@ -31,117 +31,116 @@
31
31
  "typecheck": "tsc --noEmit"
32
32
  },
33
33
  "devDependencies": {
34
- "@babel/core": "^7.20.0",
35
- "@babel/runtime": "^7.20.0",
36
- "@bifold/oca": "2.2.0",
37
- "@bifold/verifier": "2.2.0",
38
- "@commitlint/cli": "^11.0.0",
34
+ "@babel/core": "~7.22.20",
35
+ "@babel/runtime": "~7.23.9",
36
+ "@bifold/oca": "2.3.0",
37
+ "@bifold/verifier": "2.3.0",
38
+ "@commitlint/cli": "~11.0.0",
39
39
  "@credo-ts/anoncreds": "0.5.13",
40
40
  "@credo-ts/askar": "0.5.13",
41
41
  "@credo-ts/core": "0.5.13",
42
42
  "@credo-ts/indy-sdk-to-askar-migration": "0.5.13",
43
43
  "@credo-ts/indy-vdr": "0.5.13",
44
44
  "@credo-ts/openid4vc": "0.5.13",
45
- "@credo-ts/push-notifications": "^0.7.0",
45
+ "@credo-ts/push-notifications": "0.7.0",
46
46
  "@credo-ts/question-answer": "0.5.13",
47
47
  "@credo-ts/react-hooks": "0.6.0",
48
48
  "@credo-ts/react-native": "0.5.13",
49
- "@formatjs/intl-datetimeformat": "4.2.4",
50
- "@formatjs/intl-displaynames": "5.2.4",
51
- "@formatjs/intl-getcanonicallocales": "1.7.3",
52
- "@formatjs/intl-listformat": "6.3.4",
53
- "@formatjs/intl-locale": "2.4.38",
54
- "@formatjs/intl-numberformat": "7.2.4",
55
- "@formatjs/intl-pluralrules": "4.1.4",
56
- "@formatjs/intl-relativetimeformat": "9.3.1",
49
+ "@formatjs/intl-datetimeformat": "~4.2.6",
50
+ "@formatjs/intl-displaynames": "~5.2.6",
51
+ "@formatjs/intl-getcanonicallocales": "~1.7.3",
52
+ "@formatjs/intl-listformat": "~6.3.6",
53
+ "@formatjs/intl-locale": "~2.4.47",
54
+ "@formatjs/intl-numberformat": "~7.2.6",
55
+ "@formatjs/intl-pluralrules": "~4.1.6",
56
+ "@formatjs/intl-relativetimeformat": "~9.3.3",
57
57
  "@hyperledger/anoncreds-react-native": "0.2.4",
58
58
  "@hyperledger/aries-askar-react-native": "0.2.3",
59
59
  "@hyperledger/indy-vdr-react-native": "0.2.2",
60
60
  "@hyperledger/indy-vdr-shared": "0.2.2",
61
- "@react-native-async-storage/async-storage": "^1.22.0",
62
- "@react-native-clipboard/clipboard": "^1.16.2",
63
- "@react-native-community/netinfo": "^11.3.0",
64
- "@react-native-masked-view/masked-view": "^0.3.0",
65
- "@react-native/babel-preset": "^0.73.0",
66
- "@react-native/eslint-config": "^0.73.2",
67
- "@react-native/eslint-plugin": "^0.73.1",
68
- "@react-navigation/bottom-tabs": "6.0.9",
69
- "@react-navigation/core": "6.1.0",
70
- "@react-navigation/devtools": "^6.0.8",
71
- "@react-navigation/native": "^6.0.8",
72
- "@react-navigation/stack": "^6.3.21",
73
- "@testing-library/jest-native": "^5.4.3",
74
- "@testing-library/react-native": "^12.3.0",
75
- "@types/jest": "^29.5.5",
76
- "@types/lodash.flatten": "^4.4.6",
77
- "@types/lodash.startcase": "^4.4.7",
78
- "@types/react": "^18.2.6",
79
- "@types/react-native-vector-icons": "^6.4.6",
80
- "@types/react-test-renderer": "^18.0.1",
81
- "@typescript-eslint/eslint-plugin": "^6.6.0",
82
- "@typescript-eslint/parser": "^6.6.0",
83
- "axios": "^1.4.0",
84
- "babel-jest": "^27.5.1",
85
- "babel-plugin-module-resolver": "^5.0.0",
86
- "base-64": "^1.0.0",
87
- "commitlint": "^17.7.1",
88
- "eslint": "^8.48.0",
89
- "eslint-import-resolver-typescript": "^2.5.0",
90
- "eslint-plugin-import": "^2.28.1",
91
- "eslint-plugin-prettier": "^4.0.0",
61
+ "@react-native-async-storage/async-storage": "~1.22.3",
62
+ "@react-native-clipboard/clipboard": "~1.16.3",
63
+ "@react-native-community/netinfo": "~11.3.3",
64
+ "@react-native-masked-view/masked-view": "~0.3.2",
65
+ "@react-native/babel-preset": "~0.73.21",
66
+ "@react-native/eslint-config": "~0.73.2",
67
+ "@react-native/eslint-plugin": "~0.73.1",
68
+ "@react-navigation/bottom-tabs": "~6.0.9",
69
+ "@react-navigation/core": "~6.1.1",
70
+ "@react-navigation/devtools": "~6.0.27",
71
+ "@react-navigation/native": "~6.0.16",
72
+ "@react-navigation/stack": "~6.3.29",
73
+ "@testing-library/jest-native": "~5.4.3",
74
+ "@testing-library/react-native": "~12.3.3",
75
+ "@types/jest": "~29.5.14",
76
+ "@types/lodash.flatten": "~4.4.9",
77
+ "@types/lodash.startcase": "~4.4.9",
78
+ "@types/react": "~18.2.79",
79
+ "@types/react-native-vector-icons": "~6.4.18",
80
+ "@types/react-test-renderer": "~18.0.7",
81
+ "@typescript-eslint/eslint-plugin": "~7.18.0",
82
+ "@typescript-eslint/parser": "~7.18.0",
83
+ "axios": "~1.4.0",
84
+ "babel-jest": "~27.5.1",
85
+ "babel-plugin-module-resolver": "~5.0.2",
86
+ "base-64": "~1.0.0",
87
+ "commitlint": "~17.7.2",
88
+ "eslint": "~8.57.1",
89
+ "eslint-import-resolver-typescript": "~3.6.3",
90
+ "eslint-plugin-import": "~2.29.1",
91
+ "eslint-plugin-prettier": "~5.2.6",
92
92
  "expo": "*",
93
93
  "expo-secure-store": "*",
94
- "husky": "^7.0.0",
95
- "i18next": "^21.4.0",
96
- "install-peerdeps": "^3.0.3",
97
- "jest": "^29.6.4",
98
- "lodash.flatten": "^4.4.0",
99
- "lodash.startcase": "^4.4.0",
100
- "mockdate": "^3.0.5",
101
- "moment": "^2.29.4",
102
- "node-notifier": "^10.0.1",
103
- "patch-package": "^6.4.4",
104
- "prettier": "^2.8.8",
105
- "query-string": "^7.0.1",
94
+ "husky": "~7.0.4",
95
+ "i18next": "~21.6.16",
96
+ "install-peerdeps": "~3.0.7",
97
+ "jest": "~29.6.4",
98
+ "lodash.flatten": "~4.4.0",
99
+ "lodash.startcase": "~4.4.0",
100
+ "mockdate": "~3.0.5",
101
+ "moment": "~2.29.4",
102
+ "node-notifier": "~10.0.1",
103
+ "prettier": "~2.8.8",
104
+ "query-string": "~7.1.3",
106
105
  "react": "*",
107
- "react-i18next": "11.13.0",
108
- "react-native": "^0.73.6",
109
- "react-native-animated-pagination-dots": "^0.1.72",
110
- "react-native-argon2": "^2.0.1",
111
- "react-native-bouncy-checkbox": "^3.0.5",
112
- "react-native-builder-bob": "^0.21.3",
113
- "react-native-collapsible": "^1.6.1",
114
- "react-native-config": "^1.4.2",
115
- "react-native-confirmation-code-field": "^7.3.0",
116
- "react-native-device-info": "^8.4.9",
117
- "react-native-encrypted-storage": "^4.0.2",
118
- "react-native-fs": "^2.18.0",
119
- "react-native-gesture-handler": "^2.14.0",
120
- "react-native-get-random-values": "^1.7.0",
121
- "react-native-gifted-chat": "2.4.0",
122
- "react-native-keychain": "^8.1.3",
123
- "react-native-localize": "^2.2.4",
106
+ "react-i18next": "~11.17.1",
107
+ "react-native": "0.73.11",
108
+ "react-native-animated-pagination-dots": "~0.1.73",
109
+ "react-native-argon2": "~2.0.1",
110
+ "react-native-bouncy-checkbox": "~3.0.7",
111
+ "react-native-builder-bob": "~0.21.3",
112
+ "react-native-collapsible": "~1.6.2",
113
+ "react-native-config": "~1.5.5",
114
+ "react-native-confirmation-code-field": "~7.3.2",
115
+ "react-native-device-info": "~8.7.1",
116
+ "react-native-encrypted-storage": "~4.0.3",
117
+ "react-native-fs": "~2.20.0",
118
+ "react-native-gesture-handler": "~2.18.1",
119
+ "react-native-get-random-values": "~1.8.0",
120
+ "react-native-gifted-chat": "~2.4.1",
121
+ "react-native-keychain": "~8.1.3",
122
+ "react-native-localize": "~2.2.6",
124
123
  "react-native-logs": "~5.1.0",
125
- "react-native-orientation-locker": "^1.6.0",
126
- "react-native-permissions": "^5.4.0",
127
- "react-native-qrcode-svg": "6.2.0",
128
- "react-native-safe-area-context": "^4.8.2",
129
- "react-native-scalable-image": "^1.1.0",
130
- "react-native-screenguard": "^1.0.8-beta3",
131
- "react-native-screens": "^3.29.0",
132
- "react-native-splash-screen": "^3.3.0",
133
- "react-native-svg": "^15.0.0",
134
- "react-native-svg-transformer": "^0.14.3",
135
- "react-native-tcp-socket": "^6.0.6",
136
- "react-native-toast-message": "^2.1.6",
137
- "react-native-uuid": "^2.0.1",
138
- "react-native-vector-icons": "^10.0.0",
139
- "react-native-vision-camera": "4.3.1",
140
- "react-test-renderer": "^18.2.0",
141
- "rimraf": "^5.0.0",
142
- "tsyringe": "^4.7.0",
143
- "typescript": "^5.0.4",
144
- "uuid": "^9.0.0"
124
+ "react-native-orientation-locker": "~1.6.0",
125
+ "react-native-permissions": "~5.4.1",
126
+ "react-native-qrcode-svg": "~6.2.0",
127
+ "react-native-safe-area-context": "~4.8.2",
128
+ "react-native-scalable-image": "~1.1.0",
129
+ "react-native-screenguard": "~1.1.0",
130
+ "react-native-screens": "~4.4.0",
131
+ "react-native-splash-screen": "~3.3.0",
132
+ "react-native-svg": "~15.0.0",
133
+ "react-native-svg-transformer": "~0.14.3",
134
+ "react-native-tcp-socket": "~6.0.6",
135
+ "react-native-toast-message": "~2.1.10",
136
+ "react-native-uuid": "~2.0.3",
137
+ "react-native-vector-icons": "~10.0.3",
138
+ "react-native-vision-camera": "~4.3.2",
139
+ "react-test-renderer": "~18.2.0",
140
+ "rimraf": "~5.0.10",
141
+ "tsyringe": "~4.8.0",
142
+ "typescript": "~5.5.4",
143
+ "uuid": "~9.0.1"
145
144
  },
146
145
  "peerDependencies": {
147
146
  "@credo-ts/anoncreds": "0.5.13",
@@ -150,71 +149,71 @@
150
149
  "@credo-ts/indy-sdk-to-askar-migration": "0.5.13",
151
150
  "@credo-ts/indy-vdr": "0.5.13",
152
151
  "@credo-ts/openid4vc": "0.5.13",
153
- "@credo-ts/push-notifications": "^0.7.0",
152
+ "@credo-ts/push-notifications": "0.7.0",
154
153
  "@credo-ts/question-answer": "0.5.13",
155
154
  "@credo-ts/react-hooks": "0.6.0",
156
155
  "@credo-ts/react-native": "0.5.13",
157
- "@formatjs/intl-datetimeformat": "4.2.4",
158
- "@formatjs/intl-displaynames": "5.2.4",
159
- "@formatjs/intl-getcanonicallocales": "1.7.3",
160
- "@formatjs/intl-listformat": "6.3.4",
161
- "@formatjs/intl-locale": "2.4.38",
162
- "@formatjs/intl-numberformat": "7.2.4",
163
- "@formatjs/intl-pluralrules": "4.1.4",
164
- "@formatjs/intl-relativetimeformat": "9.3.1",
156
+ "@formatjs/intl-datetimeformat": "~4.2.6",
157
+ "@formatjs/intl-displaynames": "~5.2.6",
158
+ "@formatjs/intl-getcanonicallocales": "~1.7.3",
159
+ "@formatjs/intl-listformat": "~6.3.6",
160
+ "@formatjs/intl-locale": "~2.4.47",
161
+ "@formatjs/intl-numberformat": "~7.2.6",
162
+ "@formatjs/intl-pluralrules": "~4.1.6",
163
+ "@formatjs/intl-relativetimeformat": "~9.3.3",
165
164
  "@hyperledger/anoncreds-react-native": "0.2.4",
166
165
  "@hyperledger/aries-askar-react-native": "0.2.3",
167
166
  "@hyperledger/indy-vdr-react-native": "0.2.2",
168
167
  "@hyperledger/indy-vdr-shared": "0.2.2",
169
- "@react-native-async-storage/async-storage": "^1.22.0",
170
- "@react-native-clipboard/clipboard": "^1.16.2",
171
- "@react-native-community/netinfo": "^11.3.0",
172
- "@react-native-masked-view/masked-view": "^0.3.0",
173
- "@react-navigation/bottom-tabs": "6.0.9",
174
- "@react-navigation/core": "6.1.0",
175
- "@react-navigation/devtools": "^6.0.8",
176
- "@react-navigation/native": "^6.0.8",
177
- "@react-navigation/stack": "^6.3.21",
178
- "axios": "^1.4.0",
179
- "base-64": "^1.0.0",
180
- "i18next": "^21.4.0",
181
- "lodash.flatten": "^4.4.0",
182
- "lodash.startcase": "^4.4.0",
183
- "moment": "^2.29.4",
184
- "query-string": "^7.0.1",
185
- "react": "^18.2.0",
186
- "react-i18next": "11.13.0",
168
+ "@react-native-async-storage/async-storage": "~1.22.3",
169
+ "@react-native-clipboard/clipboard": "~1.16.3",
170
+ "@react-native-community/netinfo": "~11.3.3",
171
+ "@react-native-masked-view/masked-view": "~0.3.2",
172
+ "@react-navigation/bottom-tabs": "~6.0.9",
173
+ "@react-navigation/core": "~6.1.0",
174
+ "@react-navigation/devtools": "~6.0.27",
175
+ "@react-navigation/native": "~6.0.16",
176
+ "@react-navigation/stack": "~6.3.29",
177
+ "axios": "~1.4.0",
178
+ "base-64": "~1.0.0",
179
+ "i18next": "~21.6.16",
180
+ "lodash.flatten": "~4.4.0",
181
+ "lodash.startcase": "~4.4.0",
182
+ "moment": "~2.29.4",
183
+ "query-string": "~7.1.3",
184
+ "react": "~18.3.1",
185
+ "react-i18next": "~11.17.1",
187
186
  "react-native": "*",
188
- "react-native-animated-pagination-dots": "^0.1.72",
189
- "react-native-argon2": "^2.0.1",
190
- "react-native-bouncy-checkbox": "^3.0.5",
191
- "react-native-collapsible": "^1.6.1",
192
- "react-native-config": "^1.4.2",
193
- "react-native-confirmation-code-field": "^7.3.0",
194
- "react-native-device-info": "^8.4.9",
195
- "react-native-encrypted-storage": "^4.0.2",
196
- "react-native-fs": "^2.16.6",
197
- "react-native-gesture-handler": "^2.14.0",
198
- "react-native-get-random-values": "^1.7.0",
199
- "react-native-gifted-chat": "2.4.0",
200
- "react-native-keychain": "^8.1.3",
201
- "react-native-localize": "^2.2.4",
187
+ "react-native-animated-pagination-dots": "~0.1.73",
188
+ "react-native-argon2": "~2.0.1",
189
+ "react-native-bouncy-checkbox": "~3.0.7",
190
+ "react-native-collapsible": "~1.6.2",
191
+ "react-native-config": "~1.5.5",
192
+ "react-native-confirmation-code-field": "~7.3.2",
193
+ "react-native-device-info": "~8.7.1",
194
+ "react-native-encrypted-storage": "~4.0.3",
195
+ "react-native-fs": "~2.20.0",
196
+ "react-native-gesture-handler": "~2.18.1",
197
+ "react-native-get-random-values": "~1.8.0",
198
+ "react-native-gifted-chat": "~2.4.1",
199
+ "react-native-keychain": "~8.1.3",
200
+ "react-native-localize": "~2.2.6",
202
201
  "react-native-logs": "~5.1.0",
203
202
  "react-native-orientation-locker": "*",
204
- "react-native-permissions": "^4.0.1",
205
- "react-native-qrcode-svg": "6.2.0",
206
- "react-native-safe-area-context": "^4.8.2",
203
+ "react-native-permissions": "~5.4.1",
204
+ "react-native-qrcode-svg": "~6.2.0",
205
+ "react-native-safe-area-context": "~4.8.2",
207
206
  "react-native-screenguard": "*",
208
- "react-native-screens": "^3.24.0",
209
- "react-native-splash-screen": "^3.3.0",
210
- "react-native-svg": "^15.0.0",
211
- "react-native-tcp-socket": "^6.0.6",
212
- "react-native-toast-message": "^2.1.6",
213
- "react-native-uuid": "^2.0.1",
214
- "react-native-vector-icons": "^10.0.0",
207
+ "react-native-screens": "~4.4.0",
208
+ "react-native-splash-screen": "~3.3.0",
209
+ "react-native-svg": "~15.0.0",
210
+ "react-native-tcp-socket": "~6.0.6",
211
+ "react-native-toast-message": "~2.1.10",
212
+ "react-native-uuid": "~2.0.3",
213
+ "react-native-vector-icons": "~10.0.3",
215
214
  "react-native-vision-camera": "*",
216
- "tsyringe": "^4.7.0",
217
- "uuid": "^9.0.0"
215
+ "tsyringe": "~4.8.0",
216
+ "uuid": "~9.0.1"
218
217
  },
219
218
  "installConfig": {
220
219
  "hoistingLimits": "workspaces"
package/src/App.tsx CHANGED
@@ -8,7 +8,6 @@ import { isTablet } from 'react-native-device-info'
8
8
  import Orientation from 'react-native-orientation-locker'
9
9
  import { animatedComponents } from './animated-components'
10
10
  import ErrorModal from './components/modals/ErrorModal'
11
- import NetInfo from './components/network/NetInfo'
12
11
  import toastConfig from './components/toast/ToastConfig'
13
12
  import { tours } from './constants'
14
13
  import { Container, ContainerProvider } from './container-api'
@@ -55,7 +54,6 @@ const createApp = (container: Container): React.FC => {
55
54
  backgroundColor={bifoldTheme.ColorPallet.brand.primary}
56
55
  translucent={false}
57
56
  />
58
- <NetInfo />
59
57
  <ErrorModal />
60
58
  <TourProvider tours={tours} overlayColor={'gray'} overlayOpacity={0.7}>
61
59
  <RootStack />
@@ -21,7 +21,7 @@
21
21
  "description": "",
22
22
  "issuer": "",
23
23
  "issuer_description": "",
24
- "issuer_url": ""
24
+ "issuer_url": "http://example.com/issue"
25
25
  },
26
26
  {
27
27
  "capture_base": "EfeQBz5tyC0gett-ETgkg4pkxBwwuQoeYsT-9Nt0cNsc",
@@ -33,7 +33,7 @@
33
33
  "description": "",
34
34
  "issuer": "",
35
35
  "issuer_description": "",
36
- "issuer_url": ""
36
+ "issuer_url": "http://example.com/issue"
37
37
  },
38
38
  {
39
39
  "capture_base": "EfeQBz5tyC0gett-ETgkg4pkxBwwuQoeYsT-9Nt0cNsc",
@@ -88,7 +88,7 @@
88
88
  "description": "",
89
89
  "issuer": "",
90
90
  "issuer_description": "",
91
- "issuer_url": ""
91
+ "issuer_url": "http://example.com/issue"
92
92
  },
93
93
  {
94
94
  "capture_base": "EfeQBz5tyC0gett-ETgkg4pkxBwwuQoeYsT-9Nt0cNsc",
@@ -100,7 +100,7 @@
100
100
  "description": "",
101
101
  "issuer": "",
102
102
  "issuer_description": "",
103
- "issuer_url": ""
103
+ "issuer_url": "http://example.com/issue"
104
104
  },
105
105
  {
106
106
  "capture_base": "EfeQBz5tyC0gett-ETgkg4pkxBwwuQoeYsT-9Nt0cNsc",
@@ -22,53 +22,53 @@ const ButtonImplComponent = (
22
22
  ) => {
23
23
  const { Buttons, heavyOpacity } = useTheme()
24
24
  const buttonStyles = {
25
- [ButtonType.Critical]: {
26
- color: Buttons.critical,
25
+ [ButtonType.Critical]: {
26
+ color: Buttons.critical,
27
27
  colorDisabled: Buttons.criticalTextDisabled,
28
28
  text: Buttons.criticalText,
29
- textDisabled: Buttons.criticalTextDisabled
29
+ textDisabled: Buttons.criticalTextDisabled,
30
30
  },
31
- [ButtonType.Primary]: {
32
- color: Buttons.primary,
31
+ [ButtonType.Primary]: {
32
+ color: Buttons.primary,
33
33
  colorDisabled: Buttons.primaryDisabled,
34
34
  text: Buttons.primaryText,
35
- textDisabled: Buttons.primaryTextDisabled
35
+ textDisabled: Buttons.primaryTextDisabled,
36
36
  },
37
- [ButtonType.Secondary]: {
38
- color: Buttons.secondary,
37
+ [ButtonType.Secondary]: {
38
+ color: Buttons.secondary,
39
39
  colorDisabled: Buttons.secondaryDisabled,
40
40
  text: Buttons.secondaryText,
41
- textDisabled: Buttons.secondaryTextDisabled
41
+ textDisabled: Buttons.secondaryTextDisabled,
42
42
  },
43
- [ButtonType.Tertiary]: {
44
- color: Buttons.tertiary,
43
+ [ButtonType.Tertiary]: {
44
+ color: Buttons.tertiary,
45
45
  colorDisabled: Buttons.tertiaryDisabled,
46
46
  text: Buttons.tertiaryText,
47
- textDisabled: Buttons.tertiaryTextDisabled
47
+ textDisabled: Buttons.tertiaryTextDisabled,
48
48
  },
49
- [ButtonType.ModalCritical]: {
50
- color: Buttons.modalCritical,
49
+ [ButtonType.ModalCritical]: {
50
+ color: Buttons.modalCritical,
51
51
  colorDisabled: Buttons.modalCriticalDisabled,
52
52
  text: Buttons.modalCriticalText,
53
- textDisabled: Buttons.modalCriticalTextDisabled
53
+ textDisabled: Buttons.modalCriticalTextDisabled,
54
54
  },
55
- [ButtonType.ModalPrimary]: {
56
- color: Buttons.modalPrimary,
55
+ [ButtonType.ModalPrimary]: {
56
+ color: Buttons.modalPrimary,
57
57
  colorDisabled: Buttons.modalPrimaryDisabled,
58
58
  text: Buttons.modalPrimaryText,
59
- textDisabled: Buttons.modalPrimaryTextDisabled
59
+ textDisabled: Buttons.modalPrimaryTextDisabled,
60
60
  },
61
- [ButtonType.ModalSecondary]: {
62
- color: Buttons.modalSecondary,
61
+ [ButtonType.ModalSecondary]: {
62
+ color: Buttons.modalSecondary,
63
63
  colorDisabled: Buttons.modalSecondaryDisabled,
64
64
  text: Buttons.modalSecondaryText,
65
- textDisabled: Buttons.modalSecondaryTextDisabled
65
+ textDisabled: Buttons.modalSecondaryTextDisabled,
66
66
  },
67
- [ButtonType.ModalTertiary]: {
68
- color: Buttons.modalTertiary,
67
+ [ButtonType.ModalTertiary]: {
68
+ color: Buttons.modalTertiary,
69
69
  colorDisabled: Buttons.modalTertiaryDisabled,
70
70
  text: Buttons.modalTertiaryText,
71
- textDisabled: Buttons.modalTertiaryTextDisabled
71
+ textDisabled: Buttons.modalTertiaryTextDisabled,
72
72
  },
73
73
  }
74
74
  const [isActive, setIsActive] = useState<boolean>(false)
@@ -21,10 +21,11 @@ interface PINInputProps {
21
21
  accessibilityLabel?: string
22
22
  autoFocus?: boolean
23
23
  inlineMessage?: InlineMessageProps
24
+ onSubmitEditing?: () => void
24
25
  }
25
26
 
26
27
  const PINInputComponent = (
27
- { label, onPINChanged, testID, accessibilityLabel, autoFocus = false, inlineMessage }: PINInputProps,
28
+ { label, onPINChanged, testID, accessibilityLabel, autoFocus = false, inlineMessage, onSubmitEditing }: PINInputProps,
28
29
  ref: Ref<TextInput>
29
30
  ) => {
30
31
  const [PIN, setPIN] = useState('')
@@ -127,6 +128,7 @@ const PINInputComponent = (
127
128
  }}
128
129
  autoFocus={autoFocus}
129
130
  ref={ref}
131
+ onSubmitEditing={onSubmitEditing}
130
132
  />
131
133
  </View>
132
134
  <TouchableOpacity
@@ -220,9 +220,9 @@ const CredentialCard11: React.FC<CredentialCard11Props> = ({
220
220
  bundleResolver.resolveAllBundles(params).then((bundle: any) => {
221
221
  if (proof) {
222
222
  setFlaggedAttributes((bundle as any).bundle.bundle.flaggedAttributes.map((attr: any) => attr.name))
223
- const credHelpUrl =
224
- (bundle as any).bundle.bundle.metadata.credentialSupportUrl[params.language] ??
225
- Object.values((bundle as any).bundle.bundle.metadata.credentialSupportUrl)?.[0]
223
+ const issuerUrl =
224
+ (bundle as any).bundle.bundle.metadata.issuerUrl[params.language] ??
225
+ Object.values((bundle as any).bundle.bundle.metadata.issuerUrl)?.[0]
226
226
 
227
227
  // Check if there is a help action override for this credential
228
228
  const override = credHelpActionOverrides?.find(
@@ -234,9 +234,9 @@ const CredentialCard11: React.FC<CredentialCard11Props> = ({
234
234
  setHelpAction(() => () => {
235
235
  override.action(navigation)
236
236
  })
237
- } else if (credHelpUrl) {
237
+ } else if (issuerUrl) {
238
238
  setHelpAction(() => () => {
239
- Linking.openURL(credHelpUrl)
239
+ Linking.openURL(issuerUrl)
240
240
  })
241
241
  }
242
242
  }
@@ -490,30 +490,55 @@ const CredentialCard11: React.FC<CredentialCard11Props> = ({
490
490
  )
491
491
  }
492
492
 
493
- function getSliceBackgroundColor(): ColorValue | undefined {
494
- if (hideSlice) return 'transparent'
495
- return brandingOverlayType === BrandingOverlayType.Branding10
496
- ? backgroundColorIfRevoked(styles.secondaryBodyContainer.backgroundColor)
497
- : overlay.brandingOverlay?.secondaryBackgroundColor
493
+ /**
494
+ * Returns the background color for the slice of the card.
495
+ *
496
+ * @return {ColorValue} - The background color for the slice.
497
+ */
498
+ function getSliceBackgroundColor(): ColorValue {
499
+ if (overlay.brandingOverlay?.secondaryBackgroundColor) {
500
+ return overlay.brandingOverlay.secondaryBackgroundColor
501
+ }
502
+
503
+ if (styles.secondaryBodyContainer.backgroundColor) {
504
+ return styles.secondaryBodyContainer.backgroundColor
505
+ }
506
+
507
+ return 'transparent'
498
508
  }
499
509
 
500
510
  const CredentialCardSecondaryBody: React.FC = () => {
511
+ // If the slice is hidden, we return an empty view with the same styles
512
+ if (hideSlice) {
513
+ return (
514
+ <View
515
+ testID={testIdWithKey('CredentialCardSecondaryBody')}
516
+ style={[
517
+ styles.secondaryBodyContainer,
518
+ {
519
+ backgroundColor: 'transparent',
520
+ overflow: 'hidden',
521
+ },
522
+ ]}
523
+ />
524
+ )
525
+ }
526
+
501
527
  return (
502
528
  <View
503
529
  testID={testIdWithKey('CredentialCardSecondaryBody')}
504
530
  style={[
505
531
  styles.secondaryBodyContainer,
506
532
  {
507
- backgroundColor: getSliceBackgroundColor() ?? ColorPallet.brand.secondaryBackground,
533
+ backgroundColor: getSliceBackgroundColor(),
508
534
  overflow: 'hidden',
509
535
  },
510
536
  ]}
511
537
  >
512
538
  {overlay.brandingOverlay?.backgroundImageSlice &&
513
- (!displayItems || brandingOverlayType === BrandingOverlayType.Branding11) &&
514
- !hideSlice ? (
539
+ (!displayItems || brandingOverlayType === BrandingOverlayType.Branding11) ? (
515
540
  <ImageBackground
516
- source={toImageSource(overlay.brandingOverlay?.backgroundImageSlice)}
541
+ source={toImageSource(overlay.brandingOverlay.backgroundImageSlice)}
517
542
  style={{ flexGrow: 1 }}
518
543
  imageStyle={{
519
544
  borderTopLeftRadius: borderRadius,
@@ -521,8 +546,7 @@ const CredentialCard11: React.FC<CredentialCard11Props> = ({
521
546
  }}
522
547
  />
523
548
  ) : (
524
- !(Boolean(credentialErrors.length) || proof || getSecondaryBackgroundColor(overlay, proof)) &&
525
- !hideSlice && (
549
+ !(Boolean(credentialErrors.length) || proof || getSecondaryBackgroundColor(overlay, proof)) && (
526
550
  <View
527
551
  style={[
528
552
  {
@@ -12,7 +12,7 @@ interface DeveloperModalProps {
12
12
  }
13
13
 
14
14
  const DeveloperModal: React.FC<DeveloperModalProps> = ({ onBackPressed }) => {
15
- const { NavigationTheme, ColorPallet } = useTheme()
15
+ const { NavigationTheme } = useTheme()
16
16
  const [Developer] = useServices([TOKENS.SCREEN_DEVELOPER])
17
17
  const { t } = useTranslation()
18
18
 
@@ -25,7 +25,6 @@ const DeveloperModal: React.FC<DeveloperModalProps> = ({ onBackPressed }) => {
25
25
  <FauxHeader title={t('Screens.Developer')} onBackPressed={onBackPressed} />
26
26
  <Developer />
27
27
  </SafeAreaView>
28
- <SafeAreaView edges={['bottom']} style={{ backgroundColor: ColorPallet.brand.primaryBackground }} />
29
28
  </SafeAreaModal>
30
29
  )
31
30
  }