5.0.0-beta1
Pre-release
Pre-release
argyle-developers-link
released this
15 Feb 17:22
·
134 commits
to master
since this release
5.0.0-beta1
Minimum requirements
- React Native:
0.65.0
- minSdkVersion:
26
- iOS version:
14.0
Added
- Photo capture now available during document upload
- Payroll connections disallowed when an Item's deposit switching capabilities do not support the provided
ddsConfig
onError
callback now returnserrorType
,errorMessage
, anderrorDetails
- Errors added:
dds_not_supported
,incompatible_dds_config
,invalid_account_id
- SDK Typescript typings
Breaking changes
- New required
sandbox
initialization parameter:true
for Sandbox,false
for Production - Previously optional
userToken
initialization parameter now required - Previously required
apiHost
initialization parameter removed accountId
must be used for deep linking to existing accounts
Renamed
- Initialization parameters:
payDistributionConfig
toddsConfig
,linkItems
toitems
- Callbacks:
onCantFindLinkItemClicked
toonCantFindItemClicked
,onPayDistributionError
toonDDSError
,onPayDistributionSuccess
toonDDSSuccess
- Errors:
invalid_link_items
toinvalid_items
,invalid_pd_config
toinvalid_dds_config
Deprecations
- Previously optional initializations parameters removed:
companyName
,showCloseButton
,closeOnOutsideClick
,excludeCategories
,excludeLinkItems
,payDistributionItemsOnly
,showCategories
,exitButtonTitle
,showBackToSearchButton
,backToSearchButtonTitle
,showCantFindLinkItemAtTop
,payDistributionReviewScreenTitle
,payDistributionReviewScreenSubtitle
,payDistributionUpdateFlow
,payDistributionAutoTrigger
- Callbacks removed:
onAccountUpdated
,onUserCreated