react-native-persona 2.7.1 → 2.7.2

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.
@@ -25,11 +25,11 @@ Pod::Spec.new do |s|
25
25
 
26
26
  s.default_subspec = 'Core'
27
27
  s.subspec 'Core' do |ss|
28
- ss.dependency 'PersonaInquirySDK2', '2.12.4'
28
+ ss.dependency 'PersonaInquirySDK2', '2.12.5'
29
29
  end
30
30
 
31
31
  s.subspec 'Nfc' do |ss|
32
- ss.dependency 'PersonaNfc', '2.12.4'
32
+ ss.dependency 'PersonaNfc', '2.12.5'
33
33
  ss.dependency 'OpenSSL-Universal', '1.1.180'
34
34
  end
35
35
  end
@@ -63,5 +63,5 @@ dependencies {
63
63
  implementation("com.facebook.react:react-android")
64
64
 
65
65
  // NB: be sure to bump `nfc-impl` in example/android/app/build.gradle as well
66
- implementation 'com.withpersona.sdk2:inquiry:2.10.2'
66
+ implementation 'com.withpersona.sdk2:inquiry:2.10.4'
67
67
  }
@@ -583,7 +583,8 @@ extension PersonaInquiry2 {
583
583
  let loadingAnimationAssetPath = Bundle(for: PersonaInquiry2.self).path(forResource: loadingAnimationAssetName, ofType: "json") {
584
584
  let customLoadingAnimationAsset = InquiryTheme.AnimationAsset(
585
585
  path: loadingAnimationAssetPath,
586
- size: CGSize(width: loadingAnimationAssetWidth, height: loadingAnimationAssetHeight)
586
+ size: CGSize(width: loadingAnimationAssetWidth, height: loadingAnimationAssetHeight),
587
+ loopMode: .loop
587
588
  )
588
589
 
589
590
  theme.loadingAnimation = customLoadingAnimationAsset
@@ -595,7 +596,8 @@ extension PersonaInquiry2 {
595
596
  let processingAnimationAssetPath = Bundle(for: PersonaInquiry2.self).path(forResource: processingAnimationAssetName, ofType: "json") {
596
597
  let customProcessingAnimationAsset = InquiryTheme.AnimationAsset(
597
598
  path: processingAnimationAssetPath,
598
- size: CGSize(width: processingAnimationAssetWidth, height: processingAnimationAssetHeight)
599
+ size: CGSize(width: processingAnimationAssetWidth, height: processingAnimationAssetHeight),
600
+ loopMode: .loop
599
601
  )
600
602
 
601
603
  theme.processingAnimation = customProcessingAnimationAsset
@@ -607,7 +609,8 @@ extension PersonaInquiry2 {
607
609
  let path = Bundle(for: PersonaInquiry2.self).path(forResource: assetName, ofType: "json") {
608
610
  let customAsset = InquiryTheme.AnimationAsset(
609
611
  path: path,
610
- size: CGSize(width: width, height: height)
612
+ size: CGSize(width: width, height: height),
613
+ loopMode: .loop
611
614
  )
612
615
 
613
616
  theme.selfieAsset = customAsset
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-persona",
3
3
  "title": "React Native Persona",
4
- "version": "2.7.1",
4
+ "version": "2.7.2",
5
5
  "description": "Launch a mobile native implementation of the Persona inquiry flow from React Native.",
6
6
  "main": "lib/commonjs/index",
7
7
  "module": "lib/module/index",