react-native-persona 2.6.2 → 2.6.3

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.
@@ -66,5 +66,5 @@ dependencies {
66
66
  //noinspection GradleDynamicVersion
67
67
  implementation 'com.facebook.react:react-native:+' // From node_modules
68
68
 
69
- implementation 'com.withpersona.sdk2:inquiry:2.8.0'
69
+ implementation 'com.withpersona.sdk2:inquiry:2.8.2'
70
70
  }
@@ -576,7 +576,8 @@ extension PersonaInquiry2 {
576
576
  let loadingAnimationAssetPath = Bundle(for: PersonaInquiry2.self).path(forResource: loadingAnimationAssetName, ofType: "json") {
577
577
  let customLoadingAnimationAsset = InquiryTheme.AnimationAsset(
578
578
  path: loadingAnimationAssetPath,
579
- size: CGSize(width: loadingAnimationAssetWidth, height: loadingAnimationAssetHeight)
579
+ size: CGSize(width: loadingAnimationAssetWidth, height: loadingAnimationAssetHeight),
580
+ loopMode: .loop
580
581
  )
581
582
 
582
583
  theme.loadingAnimation = customLoadingAnimationAsset
@@ -588,7 +589,8 @@ extension PersonaInquiry2 {
588
589
  let processingAnimationAssetPath = Bundle(for: PersonaInquiry2.self).path(forResource: processingAnimationAssetName, ofType: "json") {
589
590
  let customProcessingAnimationAsset = InquiryTheme.AnimationAsset(
590
591
  path: processingAnimationAssetPath,
591
- size: CGSize(width: processingAnimationAssetWidth, height: processingAnimationAssetHeight)
592
+ size: CGSize(width: processingAnimationAssetWidth, height: processingAnimationAssetHeight),
593
+ loopMode: .loop
592
594
  )
593
595
 
594
596
  theme.processingAnimation = customProcessingAnimationAsset
@@ -600,7 +602,8 @@ extension PersonaInquiry2 {
600
602
  let path = Bundle(for: PersonaInquiry2.self).path(forResource: assetName, ofType: "json") {
601
603
  let customAsset = InquiryTheme.AnimationAsset(
602
604
  path: path,
603
- size: CGSize(width: width, height: height)
605
+ size: CGSize(width: width, height: height),
606
+ loopMode: .loop
604
607
  )
605
608
 
606
609
  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.6.2",
4
+ "version": "2.6.3",
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",