react-native-unit-components 1.0.4 → 1.2.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.
- package/README.md +108 -8
- package/android/src/main/java/com/unitreactnativecomponents/UnitReactNativeComponentsPackage.kt +6 -1
- package/android/src/main/java/com/unitreactnativecomponents/getapplicationid/UNAppInfoModule.kt +35 -0
- package/lib/commonjs/assets/images/index.js +0 -2
- package/lib/commonjs/assets/images/index.js.map +1 -1
- package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.js +64 -0
- package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.js.map +1 -0
- package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.utils.js +31 -0
- package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.utils.js.map +1 -0
- package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.js +108 -0
- package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.js.map +1 -0
- package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.utils.js +58 -0
- package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.utils.js.map +1 -0
- package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.js +11 -29
- package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.js.map +1 -1
- package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.utils.js +0 -11
- package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.js +14 -22
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.js.map +1 -1
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.utils.js +0 -8
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.js +2 -23
- package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.js.map +1 -1
- package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js +3 -9
- package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.js +8 -59
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.js +0 -3
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js +0 -10
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem.js +8 -29
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem.styles.js +0 -3
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem.styles.js.map +1 -1
- package/lib/commonjs/components/UNCardComponent/UNCardComponent.js +13 -41
- package/lib/commonjs/components/UNCardComponent/UNCardComponent.js.map +1 -1
- package/lib/commonjs/components/UNCardComponent/UNCardComponent.utils.js +3 -17
- package/lib/commonjs/components/UNCardComponent/UNCardComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNCardComponent/networking/common/UNNetworkConstants.js +0 -2
- package/lib/commonjs/components/UNCardComponent/networking/common/UNNetworkConstants.js.map +1 -1
- package/lib/commonjs/components/UNCardComponent/networking/requests/UNWalletPayloadRequest.js +2 -9
- package/lib/commonjs/components/UNCardComponent/networking/requests/UNWalletPayloadRequest.js.map +1 -1
- package/lib/commonjs/components/index.js +22 -10
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/helpers/BottomSheet/BottomSheet.js +5 -47
- package/lib/commonjs/helpers/BottomSheet/BottomSheet.js.map +1 -1
- package/lib/commonjs/helpers/BottomSheet/BottomSheet.styles.js +0 -5
- package/lib/commonjs/helpers/BottomSheet/BottomSheet.styles.js.map +1 -1
- package/lib/commonjs/helpers/EventBus.js +4 -17
- package/lib/commonjs/helpers/EventBus.js.map +1 -1
- package/lib/commonjs/hooks/listenerToBus.js +14 -14
- package/lib/commonjs/hooks/listenerToBus.js.map +1 -1
- package/lib/commonjs/hooks/useAppStateListener.js +1 -6
- package/lib/commonjs/hooks/useAppStateListener.js.map +1 -1
- package/lib/commonjs/index.js +0 -5
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/messages/nativeMessages/cardMessage.js +1 -18
- package/lib/commonjs/messages/nativeMessages/cardMessage.js.map +1 -1
- package/lib/commonjs/messages/nativeMessages/sdkMessage.js +0 -1
- package/lib/commonjs/messages/nativeMessages/sdkMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/accountMessage.js +12 -0
- package/lib/commonjs/messages/webMessages/accountMessage.js.map +1 -0
- package/lib/commonjs/messages/webMessages/achCreditMessage.js +6 -0
- package/lib/commonjs/messages/webMessages/achCreditMessage.js.map +1 -0
- package/lib/commonjs/messages/webMessages/bookPaymentMessage.js +0 -7
- package/lib/commonjs/messages/webMessages/bookPaymentMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/cardMessage.js +0 -1
- package/lib/commonjs/messages/webMessages/cardMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/index.js.map +1 -1
- package/lib/commonjs/messages/webMessages/pageMessage.js +0 -1
- package/lib/commonjs/messages/webMessages/pageMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/paymentsMessage.js +12 -0
- package/lib/commonjs/messages/webMessages/paymentsMessage.js.map +1 -0
- package/lib/commonjs/messages/webMessages/unitMessages.js +3 -1
- package/lib/commonjs/messages/webMessages/unitMessages.js.map +1 -1
- package/lib/commonjs/nativeComponent/UnitAddToWalletButton.js +0 -2
- package/lib/commonjs/nativeComponent/UnitAddToWalletButton.js.map +1 -1
- package/lib/commonjs/scripts/html/bodyHtml.js +0 -8
- package/lib/commonjs/scripts/html/bodyHtml.js.map +1 -1
- package/lib/commonjs/scripts/html/bodyScript.js +35 -6
- package/lib/commonjs/scripts/html/bodyScript.js.map +1 -1
- package/lib/commonjs/sharedTypes/account.types.js +31 -0
- package/lib/commonjs/sharedTypes/account.types.js.map +1 -0
- package/lib/commonjs/sharedTypes/achCredit.types.js +6 -0
- package/lib/commonjs/sharedTypes/achCredit.types.js.map +1 -0
- package/lib/commonjs/sharedTypes/bookPayment.types.js.map +1 -1
- package/lib/commonjs/sharedTypes/card.types.js.map +1 -1
- package/lib/commonjs/sharedTypes/index.js +33 -6
- package/lib/commonjs/sharedTypes/index.js.map +1 -1
- package/lib/commonjs/sharedTypes/onLoadResponse.types.js.map +1 -1
- package/lib/commonjs/sharedTypes/payments.types.js +12 -0
- package/lib/commonjs/sharedTypes/payments.types.js.map +1 -0
- package/lib/commonjs/sharedTypes/types.js.map +1 -1
- package/lib/commonjs/sharedTypes/wallet.types.js +13 -4
- package/lib/commonjs/sharedTypes/wallet.types.js.map +1 -1
- package/lib/commonjs/styles/variables.js.map +1 -1
- package/lib/commonjs/unitSdkManager/UnitSdk.api.js +1 -15
- package/lib/commonjs/unitSdkManager/UnitSdk.api.js.map +1 -1
- package/lib/commonjs/unitSdkManager/UnitSdkManager.js +3 -20
- package/lib/commonjs/unitSdkManager/UnitSdkManager.js.map +1 -1
- package/lib/commonjs/webComponent/WebComponent.js +7 -36
- package/lib/commonjs/webComponent/WebComponent.js.map +1 -1
- package/lib/commonjs/webComponent/WebComponent.utils.js +0 -7
- package/lib/commonjs/webComponent/WebComponent.utils.js.map +1 -1
- package/lib/commonjs/webComponent/html.js +9 -8
- package/lib/commonjs/webComponent/html.js.map +1 -1
- package/lib/module/assets/images/index.js.map +1 -1
- package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.js +55 -0
- package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.js.map +1 -0
- package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.utils.js +23 -0
- package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.utils.js.map +1 -0
- package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.js +99 -0
- package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.js.map +1 -0
- package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.utils.js +48 -0
- package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.utils.js.map +1 -0
- package/lib/module/components/UNAccountComponent/UNAccountComponent.js +11 -11
- package/lib/module/components/UNAccountComponent/UNAccountComponent.js.map +1 -1
- package/lib/module/components/UNAccountComponent/UNAccountComponent.utils.js.map +1 -1
- package/lib/module/components/UNActivityComponent/UNActivityComponent.js +13 -9
- package/lib/module/components/UNActivityComponent/UNActivityComponent.js.map +1 -1
- package/lib/module/components/UNActivityComponent/UNActivityComponent.utils.js.map +1 -1
- package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.js +2 -11
- package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.js.map +1 -1
- package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js +3 -3
- package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.js +8 -35
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem.js +9 -13
- package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem.styles.js.map +1 -1
- package/lib/module/components/UNCardComponent/UNCardComponent.js +13 -20
- package/lib/module/components/UNCardComponent/UNCardComponent.js.map +1 -1
- package/lib/module/components/UNCardComponent/UNCardComponent.utils.js +3 -1
- package/lib/module/components/UNCardComponent/UNCardComponent.utils.js.map +1 -1
- package/lib/module/components/UNCardComponent/networking/common/UNNetworkConstants.js.map +1 -1
- package/lib/module/components/UNCardComponent/networking/requests/UNWalletPayloadRequest.js +1 -2
- package/lib/module/components/UNCardComponent/networking/requests/UNWalletPayloadRequest.js.map +1 -1
- package/lib/module/components/index.js +2 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/helpers/BottomSheet/BottomSheet.js +5 -31
- package/lib/module/helpers/BottomSheet/BottomSheet.js.map +1 -1
- package/lib/module/helpers/BottomSheet/BottomSheet.styles.js +2 -1
- package/lib/module/helpers/BottomSheet/BottomSheet.styles.js.map +1 -1
- package/lib/module/helpers/EventBus.js +4 -15
- package/lib/module/helpers/EventBus.js.map +1 -1
- package/lib/module/hooks/listenerToBus.js +14 -10
- package/lib/module/hooks/listenerToBus.js.map +1 -1
- package/lib/module/hooks/useAppStateListener.js +0 -2
- package/lib/module/hooks/useAppStateListener.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/messages/nativeMessages/cardMessage.js +0 -16
- package/lib/module/messages/nativeMessages/cardMessage.js.map +1 -1
- package/lib/module/messages/nativeMessages/sdkMessage.js +0 -1
- package/lib/module/messages/nativeMessages/sdkMessage.js.map +1 -1
- package/lib/module/messages/webMessages/accountMessage.js +5 -0
- package/lib/module/messages/webMessages/accountMessage.js.map +1 -0
- package/lib/module/messages/webMessages/achCreditMessage.js +2 -0
- package/lib/module/messages/webMessages/achCreditMessage.js.map +1 -0
- package/lib/module/messages/webMessages/bookPaymentMessage.js +1 -5
- package/lib/module/messages/webMessages/bookPaymentMessage.js.map +1 -1
- package/lib/module/messages/webMessages/cardMessage.js +0 -1
- package/lib/module/messages/webMessages/cardMessage.js.map +1 -1
- package/lib/module/messages/webMessages/index.js.map +1 -1
- package/lib/module/messages/webMessages/pageMessage.js +0 -1
- package/lib/module/messages/webMessages/pageMessage.js.map +1 -1
- package/lib/module/messages/webMessages/paymentsMessage.js +5 -0
- package/lib/module/messages/webMessages/paymentsMessage.js.map +1 -0
- package/lib/module/messages/webMessages/unitMessages.js +3 -1
- package/lib/module/messages/webMessages/unitMessages.js.map +1 -1
- package/lib/module/nativeComponent/UnitAddToWalletButton.js.map +1 -1
- package/lib/module/scripts/html/bodyHtml.js +0 -7
- package/lib/module/scripts/html/bodyHtml.js.map +1 -1
- package/lib/module/scripts/html/bodyScript.js +33 -1
- package/lib/module/scripts/html/bodyScript.js.map +1 -1
- package/lib/module/sharedTypes/account.types.js +23 -0
- package/lib/module/sharedTypes/account.types.js.map +1 -0
- package/lib/module/sharedTypes/achCredit.types.js +2 -0
- package/lib/module/sharedTypes/achCredit.types.js.map +1 -0
- package/lib/module/sharedTypes/bookPayment.types.js.map +1 -1
- package/lib/module/sharedTypes/card.types.js.map +1 -1
- package/lib/module/sharedTypes/index.js +3 -0
- package/lib/module/sharedTypes/index.js.map +1 -1
- package/lib/module/sharedTypes/onLoadResponse.types.js.map +1 -1
- package/lib/module/sharedTypes/payments.types.js +5 -0
- package/lib/module/sharedTypes/payments.types.js.map +1 -0
- package/lib/module/sharedTypes/types.js.map +1 -1
- package/lib/module/sharedTypes/wallet.types.js +11 -3
- package/lib/module/sharedTypes/wallet.types.js.map +1 -1
- package/lib/module/styles/variables.js.map +1 -1
- package/lib/module/unitSdkManager/UnitSdk.api.js +1 -6
- package/lib/module/unitSdkManager/UnitSdk.api.js.map +1 -1
- package/lib/module/unitSdkManager/UnitSdkManager.js +3 -12
- package/lib/module/unitSdkManager/UnitSdkManager.js.map +1 -1
- package/lib/module/webComponent/WebComponent.js +7 -18
- package/lib/module/webComponent/WebComponent.js.map +1 -1
- package/lib/module/webComponent/WebComponent.utils.js +0 -1
- package/lib/module/webComponent/WebComponent.utils.js.map +1 -1
- package/lib/module/webComponent/html.js +9 -5
- package/lib/module/webComponent/html.js.map +1 -1
- package/lib/typescript/components/UNACHCreditComponent/UNACHCreditComponent.d.ts +11 -0
- package/lib/typescript/components/UNACHCreditComponent/UNACHCreditComponent.utils.d.ts +3 -0
- package/lib/typescript/components/UNACHDebitComponent/UNACHDebitComponent.d.ts +11 -0
- package/lib/typescript/components/UNACHDebitComponent/UNACHDebitComponent.utils.d.ts +7 -0
- package/lib/typescript/components/UNAccountComponent/UNAccountComponent.d.ts +4 -2
- package/lib/typescript/components/UNActivityComponent/UNActivityComponent.d.ts +2 -2
- package/lib/typescript/components/UNBookPaymentComponent/UNBookPaymentComponent.d.ts +2 -2
- package/lib/typescript/components/UNBottomSheetComponent/UNBottomSheetComponent.d.ts +1 -1
- package/lib/typescript/components/UNCardComponent/UNCardComponent.d.ts +5 -2
- package/lib/typescript/components/UNCardComponent/networking/requests/UNWalletPayloadRequest.d.ts +1 -1
- package/lib/typescript/components/index.d.ts +2 -0
- package/lib/typescript/helpers/EventBus.d.ts +1 -1
- package/lib/typescript/hooks/listenerToBus.d.ts +2 -2
- package/lib/typescript/messages/nativeMessages/cardMessage.d.ts +4 -13
- package/lib/typescript/messages/nativeMessages/index.d.ts +2 -2
- package/lib/typescript/messages/nativeMessages/sdkMessage.d.ts +1 -1
- package/lib/typescript/messages/webMessages/accountMessage.d.ts +8 -0
- package/lib/typescript/messages/webMessages/achCreditMessage.d.ts +5 -0
- package/lib/typescript/messages/webMessages/bookPaymentMessage.d.ts +1 -4
- package/lib/typescript/messages/webMessages/cardMessage.d.ts +1 -1
- package/lib/typescript/messages/webMessages/index.d.ts +6 -3
- package/lib/typescript/messages/webMessages/pageMessage.d.ts +1 -1
- package/lib/typescript/messages/webMessages/paymentsMessage.d.ts +3 -0
- package/lib/typescript/messages/webMessages/unitMessages.d.ts +21 -3
- package/lib/typescript/nativeComponent/UnitAddToWalletButton.d.ts +1 -1
- package/lib/typescript/scripts/html/bodyScript.d.ts +4 -0
- package/lib/typescript/sharedTypes/account.types.d.ts +114 -0
- package/lib/typescript/sharedTypes/achCredit.types.d.ts +31 -0
- package/lib/typescript/sharedTypes/bookPayment.types.d.ts +12 -13
- package/lib/typescript/sharedTypes/card.types.d.ts +18 -18
- package/lib/typescript/sharedTypes/index.d.ts +3 -0
- package/lib/typescript/sharedTypes/onLoadResponse.types.d.ts +3 -3
- package/lib/typescript/sharedTypes/payments.types.d.ts +12 -0
- package/lib/typescript/sharedTypes/types.d.ts +7 -7
- package/lib/typescript/sharedTypes/wallet.types.d.ts +11 -2
- package/lib/typescript/webComponent/WebComponent.d.ts +3 -1
- package/package.json +4 -2
- package/src/components/UNACHCreditComponent/UNACHCreditComponent.tsx +73 -0
- package/src/components/UNACHCreditComponent/UNACHCreditComponent.utils.ts +26 -0
- package/src/components/UNACHDebitComponent/UNACHDebitComponent.tsx +117 -0
- package/src/components/UNACHDebitComponent/UNACHDebitComponent.utils.ts +48 -0
- package/src/components/UNAccountComponent/UNAccountComponent.tsx +13 -7
- package/src/components/UNActivityComponent/UNActivityComponent.tsx +16 -7
- package/src/components/UNBookPaymentComponent/UNBookPaymentComponent.tsx +6 -5
- package/src/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.ts +3 -3
- package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.tsx +13 -5
- package/src/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem.tsx +9 -10
- package/src/components/UNCardComponent/UNCardComponent.tsx +18 -11
- package/src/components/UNCardComponent/UNCardComponent.utils.ts +3 -0
- package/src/components/UNCardComponent/networking/requests/UNWalletPayloadRequest.ts +1 -1
- package/src/components/index.ts +2 -0
- package/src/helpers/BottomSheet/BottomSheet.tsx +3 -7
- package/src/hooks/listenerToBus.ts +15 -10
- package/src/messages/nativeMessages/cardMessage.ts +5 -15
- package/src/messages/webMessages/accountMessage.ts +12 -0
- package/src/messages/webMessages/achCreditMessage.ts +8 -0
- package/src/messages/webMessages/bookPaymentMessage.ts +0 -4
- package/src/messages/webMessages/index.ts +10 -2
- package/src/messages/webMessages/paymentsMessage.ts +3 -0
- package/src/messages/webMessages/unitMessages.ts +27 -3
- package/src/scripts/html/bodyScript.ts +36 -2
- package/src/sharedTypes/account.types.ts +117 -0
- package/src/sharedTypes/achCredit.types.ts +32 -0
- package/src/sharedTypes/bookPayment.types.ts +11 -12
- package/src/sharedTypes/card.types.ts +18 -18
- package/src/sharedTypes/index.ts +3 -0
- package/src/sharedTypes/onLoadResponse.types.ts +5 -5
- package/src/sharedTypes/payments.types.ts +14 -0
- package/src/sharedTypes/types.ts +8 -8
- package/src/sharedTypes/wallet.types.ts +13 -3
- package/src/webComponent/WebComponent.tsx +5 -5
- package/src/webComponent/html.ts +9 -5
- package/ios/UnitReactNativeComponents.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -4
- package/ios/UnitReactNativeComponents.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/ios/UnitReactNativeComponents.xcodeproj/project.xcworkspace/xcuserdata/alonshprung.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/UnitReactNativeComponents.xcodeproj/xcuserdata/alonshprung.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { PaymentMessage } from '../../messages/webMessages/paymentsMessage';
|
|
1
2
|
import { CardMessage } from '../../messages/webMessages/cardMessage';
|
|
2
3
|
import { PageMessage } from '../../messages/webMessages/pageMessage';
|
|
3
4
|
import { UnitMessage } from '../../messages/webMessages/unitMessages';
|
|
5
|
+
import { AccountMessage } from '../../messages/webMessages/accountMessage';
|
|
4
6
|
|
|
5
7
|
export const POST_MESSAGE_TO_SDK = `
|
|
6
8
|
const postMessageToSDK = (message) => {
|
|
@@ -61,12 +63,37 @@ export const LISTENERS = {
|
|
|
61
63
|
window.addEventListener("${CardMessage.CARD_STATUS_CHANGED}", (e) => {
|
|
62
64
|
const response = e.detail
|
|
63
65
|
response.then((data) => {
|
|
64
|
-
postMessageToSDK({ type: "${CardMessage.CARD_STATUS_CHANGED}", details: { card:
|
|
66
|
+
postMessageToSDK({ type: "${CardMessage.CARD_STATUS_CHANGED}", details: { card: data.data }})
|
|
65
67
|
}).catch((e) => {
|
|
66
68
|
console.log(e)
|
|
67
69
|
})
|
|
68
70
|
});
|
|
69
|
-
|
|
71
|
+
`,
|
|
72
|
+
unitRequestExternalSdk: `
|
|
73
|
+
window.addEventListener("${UnitMessage.UNIT_REQUEST_EXTERNAL_SDK}", (e) => {
|
|
74
|
+
postMessageToSDK({ type: "${UnitMessage.UNIT_REQUEST_EXTERNAL_SDK}", details: e.detail })
|
|
75
|
+
});
|
|
76
|
+
`,
|
|
77
|
+
unitPaymentCreated:`
|
|
78
|
+
window.addEventListener("${PaymentMessage.PAYMENT_CREATED}", (e) => {
|
|
79
|
+
const response = e.detail
|
|
80
|
+
response.then((data) => {
|
|
81
|
+
postMessageToSDK({ type: "${PaymentMessage.PAYMENT_CREATED}", details: { data: data.data }})
|
|
82
|
+
}).catch((e) => {
|
|
83
|
+
console.log(e)
|
|
84
|
+
})
|
|
85
|
+
});`
|
|
86
|
+
,
|
|
87
|
+
unitAccountChanged: `
|
|
88
|
+
window.addEventListener("${AccountMessage.UNIT_ACCOUNT_CHANGED}", (e) => {
|
|
89
|
+
const response = e.detail
|
|
90
|
+
response.then((data) => {
|
|
91
|
+
postMessageToSDK({ type: "${AccountMessage.UNIT_ACCOUNT_CHANGED}", details: { account: data.data }})
|
|
92
|
+
}).catch((e) => {
|
|
93
|
+
console.log(e)
|
|
94
|
+
})
|
|
95
|
+
});
|
|
96
|
+
`,
|
|
70
97
|
};
|
|
71
98
|
|
|
72
99
|
export const DISPATCH_RENDERING_EVENT = `
|
|
@@ -82,3 +109,10 @@ export const DISPATCH_REQUEST_REFRESH = `
|
|
|
82
109
|
window.dispatchEvent(event)
|
|
83
110
|
}
|
|
84
111
|
`;
|
|
112
|
+
|
|
113
|
+
export const DISPATCH_PLAID_RESPONSE = `
|
|
114
|
+
const dispatchPlaidEvent = (details) => {
|
|
115
|
+
const event = new CustomEvent("${UnitMessage.UNIT_PLAID_RESPONSE}",{ detail: details })
|
|
116
|
+
window.dispatchEvent(event)
|
|
117
|
+
}
|
|
118
|
+
`;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import type { UNRelationship, UNTags } from './types';
|
|
2
|
+
|
|
3
|
+
export type UNAccountData = UNDepositAccount | UNBatchAccount | UNCreditAccount
|
|
4
|
+
|
|
5
|
+
enum UNAccountStatus {
|
|
6
|
+
Open = "Open",
|
|
7
|
+
Closed = "Closed",
|
|
8
|
+
Frozen = "Frozen",
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export enum UNCloseReason {
|
|
12
|
+
Fraud = "Fraud",
|
|
13
|
+
ByCustomer = "ByCustomer",
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export enum UNFraudReason {
|
|
17
|
+
ACHActivity = "ACHActivity",
|
|
18
|
+
CardActivity = "CardActivity",
|
|
19
|
+
CheckActivity = "CheckActivity",
|
|
20
|
+
ApplicationHistory = "ApplicationHistory",
|
|
21
|
+
AccountActivity = "AccountActivity",
|
|
22
|
+
ClientIdentified = "ClientIdentified",
|
|
23
|
+
IdentityTheft = "IdentityTheft",
|
|
24
|
+
LinkedToFraudulentCustomer = "LinkedToFraudulentCustomer",
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type UNDepositAccount = {
|
|
28
|
+
id: string
|
|
29
|
+
type: "depositAccount"
|
|
30
|
+
attributes: {
|
|
31
|
+
createdAt: string
|
|
32
|
+
updatedAt?: string
|
|
33
|
+
name: string
|
|
34
|
+
depositProduct: string
|
|
35
|
+
routingNumber: string
|
|
36
|
+
accountNumber: string
|
|
37
|
+
maskedAccountNumber?: string
|
|
38
|
+
secondaryAccountNumber?: {
|
|
39
|
+
routingNumber: string
|
|
40
|
+
accountNumber: string
|
|
41
|
+
}
|
|
42
|
+
balance: number
|
|
43
|
+
hold: number
|
|
44
|
+
reserve: number
|
|
45
|
+
available: number
|
|
46
|
+
overdraftLimit?: number
|
|
47
|
+
currency: string
|
|
48
|
+
tags: UNTags
|
|
49
|
+
status: UNAccountStatus
|
|
50
|
+
closeReason?: string
|
|
51
|
+
fraudReason?: UNFraudReason
|
|
52
|
+
closeReasonText?: string
|
|
53
|
+
freezeReason?: string
|
|
54
|
+
isOverdrawnWithinLimit?: boolean
|
|
55
|
+
}
|
|
56
|
+
relationships: {
|
|
57
|
+
customer?: UNRelationship
|
|
58
|
+
customers?: UNRelationship
|
|
59
|
+
org: UNRelationship
|
|
60
|
+
}
|
|
61
|
+
// included?: Individual[]
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export type UNBatchAccount = {
|
|
65
|
+
id: string
|
|
66
|
+
type: "batchAccount"
|
|
67
|
+
attributes: {
|
|
68
|
+
createdAt: Date
|
|
69
|
+
updatedAt?: Date
|
|
70
|
+
name: string
|
|
71
|
+
depositProduct: string
|
|
72
|
+
routingNumber: string
|
|
73
|
+
accountNumber: string
|
|
74
|
+
maskedAccountNumber?: string
|
|
75
|
+
balance: number
|
|
76
|
+
hold: number
|
|
77
|
+
reserve: number
|
|
78
|
+
available: number
|
|
79
|
+
currency: string
|
|
80
|
+
status: "Open" | "Closed"
|
|
81
|
+
closeReason?: string
|
|
82
|
+
fraudReason?: UNFraudReason
|
|
83
|
+
closeReasonText?: string
|
|
84
|
+
freezeReason?: string
|
|
85
|
+
tags?: {[key: string]: string}
|
|
86
|
+
}
|
|
87
|
+
relationships: {
|
|
88
|
+
org: UNRelationship
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export type UNCreditAccount = {
|
|
93
|
+
id: string
|
|
94
|
+
type: "creditAccount"
|
|
95
|
+
attributes: {
|
|
96
|
+
createdAt: Date
|
|
97
|
+
updatedAt?: Date
|
|
98
|
+
name: string
|
|
99
|
+
creditTerms: string
|
|
100
|
+
balance: number
|
|
101
|
+
hold: number
|
|
102
|
+
reserve: number
|
|
103
|
+
available: number
|
|
104
|
+
creditLimit: number
|
|
105
|
+
currency: string
|
|
106
|
+
tags: {[key: string]: string}
|
|
107
|
+
status: UNAccountStatus
|
|
108
|
+
closeReason?: UNCloseReason
|
|
109
|
+
fraudReason?: UNFraudReason
|
|
110
|
+
closeReasonText?: string
|
|
111
|
+
freezeReason?: string
|
|
112
|
+
}
|
|
113
|
+
relationships: {
|
|
114
|
+
customer: UNRelationship,
|
|
115
|
+
org: UNRelationship
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { UNAchCounterparty, UNCounterpartyVerificationMethod, UNPaymentStatus } from './payments.types';
|
|
2
|
+
import type { UNTags, UNRelationship } from './types';
|
|
3
|
+
|
|
4
|
+
export type UNACHData = {
|
|
5
|
+
type: 'achPayment',
|
|
6
|
+
id: string,
|
|
7
|
+
attributes: {
|
|
8
|
+
createdAt: string | Date,
|
|
9
|
+
status: UNPaymentStatus,
|
|
10
|
+
settlementDate?: Date,
|
|
11
|
+
reason: string,
|
|
12
|
+
direction: 'Debit' | 'Credit',
|
|
13
|
+
description: string,
|
|
14
|
+
transactionSummaryOverride?: string,
|
|
15
|
+
amount: string,
|
|
16
|
+
tags: UNTags,
|
|
17
|
+
addenda?: string
|
|
18
|
+
counterparty: UNAchCounterparty
|
|
19
|
+
expectedCompletionDate?: Date
|
|
20
|
+
counterpartyVerificationMethod?:keyof typeof UNCounterpartyVerificationMethod
|
|
21
|
+
sameDay?: boolean
|
|
22
|
+
},
|
|
23
|
+
relationships: {
|
|
24
|
+
account: UNRelationship,
|
|
25
|
+
customer?: UNRelationship,
|
|
26
|
+
customers?: UNRelationship,
|
|
27
|
+
counterpartyAccount: UNRelationship,
|
|
28
|
+
counterpartyCustomer: UNRelationship,
|
|
29
|
+
transaction: UNRelationship,
|
|
30
|
+
recurringPayment: UNRelationship
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,27 +1,26 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
type BookPaymentStatus = 'Sent' | 'Rejected'
|
|
1
|
+
import type { UNPaymentStatus } from './payments.types';
|
|
2
|
+
import type { UNTags, UNRelationship } from './types';
|
|
4
3
|
|
|
5
4
|
export type UNBookPaymentData = {
|
|
6
5
|
type: 'bookPayment',
|
|
7
6
|
id: string,
|
|
8
7
|
attributes: {
|
|
9
8
|
createdAt: string | Date,
|
|
10
|
-
status:
|
|
9
|
+
status: UNPaymentStatus,
|
|
11
10
|
reason: string,
|
|
12
11
|
direction: 'Debit' | 'Credit',
|
|
13
12
|
description: string,
|
|
14
13
|
transactionSummaryOverride?: string,
|
|
15
14
|
amount: string,
|
|
16
|
-
tags:
|
|
15
|
+
tags: UNTags,
|
|
17
16
|
},
|
|
18
17
|
relationships: {
|
|
19
|
-
account:
|
|
20
|
-
customer?:
|
|
21
|
-
customers?:
|
|
22
|
-
counterpartyAccount:
|
|
23
|
-
counterpartyCustomer:
|
|
24
|
-
transaction:
|
|
25
|
-
recurringPayment:
|
|
18
|
+
account: UNRelationship,
|
|
19
|
+
customer?: UNRelationship,
|
|
20
|
+
customers?: UNRelationship,
|
|
21
|
+
counterpartyAccount: UNRelationship,
|
|
22
|
+
counterpartyCustomer: UNRelationship,
|
|
23
|
+
transaction: UNRelationship,
|
|
24
|
+
recurringPayment: UNRelationship
|
|
26
25
|
}
|
|
27
26
|
}
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { UNAddress, UNFullName, UNLimits, UNRelationship, UNTags } from './types';
|
|
2
2
|
|
|
3
|
-
export type UNCardData =
|
|
3
|
+
export type UNCardData = UNIndividualDebitCard | UNBusinessDebitCard
|
|
4
4
|
|
|
5
|
-
type
|
|
5
|
+
type UNCardStatus = 'Active' | 'Inactive' | 'Stolen' | 'Lost' | 'Frozen' | 'ClosedByCustomer' | 'SuspectedFraud'
|
|
6
6
|
|
|
7
|
-
export type
|
|
7
|
+
export type UNIndividualDebitCard = {
|
|
8
8
|
id: string,
|
|
9
9
|
type: 'individualDebitCard' | 'individualVirtualDebitCard',
|
|
10
10
|
attributes: {
|
|
11
11
|
createdAt: string,
|
|
12
12
|
last4Digits: string,
|
|
13
13
|
expirationDate: string,
|
|
14
|
-
status:
|
|
15
|
-
shippingAddress?:
|
|
14
|
+
status: UNCardStatus,
|
|
15
|
+
shippingAddress?: UNAddress, /* not exists in virtual card */
|
|
16
16
|
updatedAt?: string,
|
|
17
17
|
design?: string,
|
|
18
18
|
additionalEmbossedText?: string,
|
|
19
19
|
idempotencyKey?: string,
|
|
20
|
-
tags?:
|
|
21
|
-
limits?:
|
|
20
|
+
tags?: UNTags,
|
|
21
|
+
limits?: UNLimits,
|
|
22
22
|
printOnlyBusinessName?: boolean
|
|
23
23
|
},
|
|
24
24
|
relationships: {
|
|
25
|
-
account:
|
|
26
|
-
customer:
|
|
25
|
+
account: UNRelationship,
|
|
26
|
+
customer: UNRelationship
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
export type
|
|
30
|
+
export type UNBusinessDebitCard = {
|
|
31
31
|
id: string,
|
|
32
32
|
type: 'businessDebitCard' | 'businessVirtualDebitCard',
|
|
33
33
|
attributes: {
|
|
34
|
-
fullName:
|
|
34
|
+
fullName: UNFullName,
|
|
35
35
|
dateOfBirth: string,
|
|
36
|
-
address:
|
|
37
|
-
shippingAddress?:
|
|
36
|
+
address: UNAddress,
|
|
37
|
+
shippingAddress?: UNAddress,
|
|
38
38
|
phone: string,
|
|
39
39
|
email: string,
|
|
40
40
|
createdAt: string,
|
|
41
41
|
last4Digits: string,
|
|
42
42
|
expirationDate: string,
|
|
43
|
-
status:
|
|
43
|
+
status: UNCardStatus,
|
|
44
44
|
updatedAt?: string,
|
|
45
45
|
ssn?: string,
|
|
46
46
|
passport?: string,
|
|
@@ -49,11 +49,11 @@ export type BusinessDebitCard = {
|
|
|
49
49
|
additionalEmbossedText?: string,
|
|
50
50
|
idempotencyKey?: string,
|
|
51
51
|
tags?: Record<string, string>
|
|
52
|
-
limits?:
|
|
52
|
+
limits?: UNLimits,
|
|
53
53
|
printOnlyBusinessName?: boolean
|
|
54
54
|
},
|
|
55
55
|
relationships: {
|
|
56
|
-
account:
|
|
57
|
-
customer:
|
|
56
|
+
account: UNRelationship,
|
|
57
|
+
customer: UNRelationship
|
|
58
58
|
}
|
|
59
59
|
}
|
package/src/sharedTypes/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/ban-types */
|
|
2
2
|
import type { UNCardData } from '../sharedTypes';
|
|
3
3
|
|
|
4
|
-
export type
|
|
4
|
+
export type UNSuccessResponseUnitOnLoad = {
|
|
5
5
|
/*
|
|
6
6
|
Object since the current response data types from 'Activities' and 'BookPayment' do not have documentation.
|
|
7
7
|
When things are determined, we may update it
|
|
@@ -11,7 +11,7 @@ export type SuccessResponseUnitOnLoad = {
|
|
|
11
11
|
errors: null
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
export type
|
|
14
|
+
export type UNErrorResponseUnitOnLoad = {
|
|
15
15
|
errors: [
|
|
16
16
|
{
|
|
17
17
|
status: string,
|
|
@@ -22,6 +22,6 @@ export type ErrorResponseUnitOnLoad = {
|
|
|
22
22
|
}
|
|
23
23
|
]
|
|
24
24
|
}
|
|
25
|
-
export type
|
|
26
|
-
|
|
|
27
|
-
|
|
|
25
|
+
export type UNResponseUnitOnLoadEvent =
|
|
26
|
+
| UNSuccessResponseUnitOnLoad
|
|
27
|
+
| UNErrorResponseUnitOnLoad
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type UNPaymentStatus = 'Sent' | 'Rejected'
|
|
2
|
+
|
|
3
|
+
export type UNAchCounterparty = {
|
|
4
|
+
name: string
|
|
5
|
+
accountNumber: string
|
|
6
|
+
routingNumber: string
|
|
7
|
+
accountType: UNAccountType
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
type UNAccountType = 'Savings' | 'Checking'
|
|
11
|
+
|
|
12
|
+
export enum UNCounterpartyVerificationMethod {
|
|
13
|
+
Plaid = 'Plaid',
|
|
14
|
+
}
|
package/src/sharedTypes/types.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type UNAddress = {
|
|
2
2
|
street: string,
|
|
3
3
|
street2?: string,
|
|
4
4
|
city: string,
|
|
@@ -7,29 +7,29 @@ export type Address = {
|
|
|
7
7
|
country: string
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
export type
|
|
10
|
+
export type UNLimits = {
|
|
11
11
|
dailyWithdrawal?: string | number,
|
|
12
12
|
dailyPurchase?: string | number,
|
|
13
13
|
monthlyWithdrawal?: string | number,
|
|
14
14
|
monthlyPurchase?: string | number,
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
type
|
|
17
|
+
type UNData = {
|
|
18
18
|
type: string,
|
|
19
19
|
id: string
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
export type
|
|
22
|
+
export type UNRelationship = {
|
|
23
23
|
data:
|
|
24
24
|
| null
|
|
25
25
|
| []
|
|
26
|
-
|
|
|
27
|
-
|
|
|
26
|
+
| UNData
|
|
27
|
+
| UNData[]
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
export type
|
|
30
|
+
export type UNFullName = {
|
|
31
31
|
first: string,
|
|
32
32
|
last: string
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
export type
|
|
35
|
+
export type UNTags = Record<string, string> // TODO: specify Tag type
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import type { CardAddToWalletStatus } from 'src/messages/nativeMessages/cardMessage';
|
|
2
|
-
|
|
3
1
|
export enum UNWalletCode {
|
|
4
2
|
Apple = 'ApplePayPushProvision',
|
|
5
3
|
Google = 'GooglePayPushProvision',
|
|
@@ -13,5 +11,17 @@ export enum UNWalletName {
|
|
|
13
11
|
export interface UNWallet {
|
|
14
12
|
name: string;
|
|
15
13
|
code: string;
|
|
16
|
-
status:
|
|
14
|
+
status: UNCardAddToWalletStatus
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export enum UNCardAddToWalletStatus {
|
|
18
|
+
pending,
|
|
19
|
+
readyToProvisioning = 'ReadyToProvision',
|
|
20
|
+
addedToWallet = 'AlreadyProvisioned',
|
|
21
|
+
iosProvisionedInCurrentDevice = 'ProvisionedInCurrentDevice',
|
|
22
|
+
iosProvisionedInPairedDevice = 'ProvisionedInPairedDevice',
|
|
23
|
+
androidNotInstalled = 'NotInstalled',
|
|
24
|
+
androidWalletSetupNotCompleted = 'WalletSetupNotCompleted',
|
|
25
|
+
androidWalletAppUpdateAvailable = 'WalletAppUpdateAvailable'
|
|
26
|
+
|
|
17
27
|
}
|
|
@@ -31,6 +31,8 @@ export enum WebComponentType {
|
|
|
31
31
|
activity = 'unit-elements-activity',
|
|
32
32
|
slot = 'unit-elements-sdk-slot',
|
|
33
33
|
account = 'unit-elements-account',
|
|
34
|
+
achDebitPayment = 'unit-elements-ach-debit-payment',
|
|
35
|
+
achCreditPayment = 'unit-elements-ach-credit-payment'
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
export const WebComponent = React.forwardRef<WebView, WebComponentProps>(function WebComponent(props, webRef) {
|
|
@@ -47,10 +49,8 @@ export const WebComponent = React.forwardRef<WebView, WebComponentProps>(functio
|
|
|
47
49
|
setComponentCurrentTheme(props.theme ?? UnitSDK.getTheme());
|
|
48
50
|
};
|
|
49
51
|
|
|
50
|
-
useListenerToBus(
|
|
51
|
-
|
|
52
|
-
{ busEventKey: SDKMessage.IS_SDK_INITIALIZED, action: updateInitializedParams },
|
|
53
|
-
]);
|
|
52
|
+
useListenerToBus({ busEventKey: SDKMessage.IS_SCRIPT_FETCHED, action: updateUnitScript });
|
|
53
|
+
useListenerToBus({ busEventKey: SDKMessage.IS_SDK_INITIALIZED, action: updateInitializedParams });
|
|
54
54
|
|
|
55
55
|
useEffect(() => {
|
|
56
56
|
if (!unitScript) {
|
|
@@ -62,7 +62,7 @@ export const WebComponent = React.forwardRef<WebView, WebComponentProps>(functio
|
|
|
62
62
|
let newHtml = html.replace(HTML_PLACEHOLDER.BODY, getHtmlBody(props.type.valueOf(), componentParams, props.presentationMode));
|
|
63
63
|
newHtml = newHtml.replace(HTML_PLACEHOLDER.SCRIPT_FROM_NATIVE, props.script || '');
|
|
64
64
|
setSourceHtml(newHtml);
|
|
65
|
-
}, [props.params, unitScript, props.presentationMode, componentCurrentTheme]);
|
|
65
|
+
}, [props.params, unitScript, props.presentationMode, componentCurrentTheme, props.script]);
|
|
66
66
|
|
|
67
67
|
const onMessage = (e: WebViewMessageEvent) => {
|
|
68
68
|
const message = JSON.parse(e.nativeEvent.data) as WebViewMessage;
|
package/src/webComponent/html.ts
CHANGED
|
@@ -14,11 +14,11 @@ const htmlText = `
|
|
|
14
14
|
<head lang="en">
|
|
15
15
|
<title>Unit Web SDK Demo</title>
|
|
16
16
|
<script>
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
window.UnitMobileSDK = true
|
|
18
|
+
window.UnitMobileSDKConfig = {
|
|
19
|
+
os: "${Platform.OS}",
|
|
20
|
+
walletName: "${Platform.OS === 'ios' ? 'Apple' : 'Google'}",
|
|
21
|
+
}
|
|
22
22
|
</script>
|
|
23
23
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
|
|
24
24
|
</html>
|
|
@@ -45,6 +45,10 @@ const htmlText = `
|
|
|
45
45
|
|
|
46
46
|
${LISTENERS.cardStatusChange}
|
|
47
47
|
|
|
48
|
+
${LISTENERS.unitRequestExternalSdk}
|
|
49
|
+
|
|
50
|
+
${LISTENERS.unitAccountChanged}
|
|
51
|
+
|
|
48
52
|
${DISPATCH_RENDERING_EVENT}
|
|
49
53
|
|
|
50
54
|
${HTML_PLACEHOLDER.SCRIPT_FROM_NATIVE}
|
|
Binary file
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
-
<plist version="1.0">
|
|
4
|
-
<dict>
|
|
5
|
-
<key>SchemeUserState</key>
|
|
6
|
-
<dict>
|
|
7
|
-
<key>UnitReactNativeComponents.xcscheme_^#shared#^_</key>
|
|
8
|
-
<dict>
|
|
9
|
-
<key>orderHint</key>
|
|
10
|
-
<integer>0</integer>
|
|
11
|
-
</dict>
|
|
12
|
-
</dict>
|
|
13
|
-
</dict>
|
|
14
|
-
</plist>
|