react-native-hyperpay-sdk 0.2.0 → 0.5.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/LICENSE +2 -1
- package/OPPWAMobile-Resources.bundle/Info.plist +0 -0
- package/OPPWAMobile-Resources.bundle/Klarna.json +67 -0
- package/OPPWAMobile-Resources.bundle/OPPBrandCollectionViewCell.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPCardDetailsViewController.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPCardsTableViewCell.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPCheckoutTextFieldView.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPChinaUnionPayDetailsViewController.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPDirectDebitDetailsViewController.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPGiropayDetailsViewController.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPIkanoDetailsViewController.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPKlarnaDetailsViewController.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPKlarnaTableViewCell.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPListDetailsViewController.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPMBWAYDetailsViewController.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPPaymentFormHeaderView.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPPaymentProcessingViewController.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPPaymentSchemeTableViewCell.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPPaymentSchemeViewController.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPStorePaymentDetailsView.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPTokenCollectionViewCell.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPTokensTableViewCell.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPTotalAmountView.nib/objects-11.0+.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPTotalAmountView.nib/runtime.nib +0 -0
- package/OPPWAMobile-Resources.bundle/alipay.png +0 -0
- package/OPPWAMobile-Resources.bundle/alipay@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/alipay@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/amex.png +0 -0
- package/OPPWAMobile-Resources.bundle/amex@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/amex@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/applepay.png +0 -0
- package/OPPWAMobile-Resources.bundle/applepay@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/applepay@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/ar.lproj/OPPCheckout.strings +89 -0
- package/OPPWAMobile-Resources.bundle/arrow_down.png +0 -0
- package/OPPWAMobile-Resources.bundle/arrow_up.png +0 -0
- package/OPPWAMobile-Resources.bundle/boleto.png +0 -0
- package/OPPWAMobile-Resources.bundle/boleto@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/boleto@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/ca.lproj/OPPCheckout.strings +90 -0
- package/OPPWAMobile-Resources.bundle/camera_icon.png +0 -0
- package/OPPWAMobile-Resources.bundle/camera_icon@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/camera_icon@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/card.png +0 -0
- package/OPPWAMobile-Resources.bundle/card@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/card@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/cartebleue.png +0 -0
- package/OPPWAMobile-Resources.bundle/cartebleue@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/cartebleue@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/dankort.png +0 -0
- package/OPPWAMobile-Resources.bundle/dankort@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/dankort@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/de.lproj/OPPCheckout.strings +99 -0
- package/OPPWAMobile-Resources.bundle/diners.png +0 -0
- package/OPPWAMobile-Resources.bundle/diners@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/diners@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/directdebit_sepa.png +0 -0
- package/OPPWAMobile-Resources.bundle/directdebit_sepa@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/directdebit_sepa@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/discover.png +0 -0
- package/OPPWAMobile-Resources.bundle/discover@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/discover@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/en.lproj/OPPCheckout.strings +145 -0
- package/OPPWAMobile-Resources.bundle/es.lproj/OPPCheckout.strings +92 -0
- package/OPPWAMobile-Resources.bundle/eu-ES.lproj/OPPCheckout.strings +92 -0
- package/OPPWAMobile-Resources.bundle/fr-CA.lproj/OPPCheckout.strings +93 -0
- package/OPPWAMobile-Resources.bundle/fr.lproj/OPPCheckout.strings +93 -0
- package/OPPWAMobile-Resources.bundle/giropay.png +0 -0
- package/OPPWAMobile-Resources.bundle/giropay@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/giropay@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/gl-ES.lproj/OPPCheckout.strings +92 -0
- package/OPPWAMobile-Resources.bundle/ideal.png +0 -0
- package/OPPWAMobile-Resources.bundle/ideal@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/ideal@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/it.lproj/OPPCheckout.strings +94 -0
- package/OPPWAMobile-Resources.bundle/ja.lproj/OPPCheckout.strings +74 -0
- package/OPPWAMobile-Resources.bundle/jcb.png +0 -0
- package/OPPWAMobile-Resources.bundle/jcb@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/jcb@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_detail_logo.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_detail_logo@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_detail_logo@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_nl_agreement.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_nl_agreement@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_nl_agreement@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_payments_billpay.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_payments_billpay@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_payments_billpay@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_payments_paylater.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_payments_paylater@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_payments_paylater@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_payments_sliceit.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_payments_sliceit@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_payments_sliceit@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/mada.png +0 -0
- package/OPPWAMobile-Resources.bundle/mada@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/mada@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/maestro.png +0 -0
- package/OPPWAMobile-Resources.bundle/maestro@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/maestro@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/master.png +0 -0
- package/OPPWAMobile-Resources.bundle/master@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/master@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/masterdebit.png +0 -0
- package/OPPWAMobile-Resources.bundle/masterdebit@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/masterdebit@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/masterpass.png +0 -0
- package/OPPWAMobile-Resources.bundle/masterpass@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/masterpass@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/nl.lproj/OPPCheckout.strings +91 -0
- package/OPPWAMobile-Resources.bundle/paydirekt.png +0 -0
- package/OPPWAMobile-Resources.bundle/paydirekt@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/paydirekt@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/paypal.png +0 -0
- package/OPPWAMobile-Resources.bundle/paypal@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/paypal@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/paysafecard.png +0 -0
- package/OPPWAMobile-Resources.bundle/paysafecard@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/paysafecard@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/paytrail.png +0 -0
- package/OPPWAMobile-Resources.bundle/paytrail@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/paytrail@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/pf_karte_direct.png +0 -0
- package/OPPWAMobile-Resources.bundle/pf_karte_direct@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/pf_karte_direct@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/przelewy.png +0 -0
- package/OPPWAMobile-Resources.bundle/przelewy@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/przelewy@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/pt.lproj/OPPCheckout.strings +91 -0
- package/OPPWAMobile-Resources.bundle/ratenkauf.png +0 -0
- package/OPPWAMobile-Resources.bundle/ratenkauf@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/ratenkauf@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/ru.lproj/OPPCheckout.strings +91 -0
- package/OPPWAMobile-Resources.bundle/sibs_multibanco.png +0 -0
- package/OPPWAMobile-Resources.bundle/sibs_multibanco@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/sibs_multibanco@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/sofortueberweisung.png +0 -0
- package/OPPWAMobile-Resources.bundle/sofortueberweisung@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/sofortueberweisung@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/th.lproj/OPPCheckout.strings +91 -0
- package/OPPWAMobile-Resources.bundle/trustly.png +0 -0
- package/OPPWAMobile-Resources.bundle/trustly@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/trustly@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/unionpay.png +0 -0
- package/OPPWAMobile-Resources.bundle/unionpay@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/unionpay@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/version.plist +0 -0
- package/OPPWAMobile-Resources.bundle/visa.png +0 -0
- package/OPPWAMobile-Resources.bundle/visa@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/visa@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/visadebit.png +0 -0
- package/OPPWAMobile-Resources.bundle/visadebit@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/visadebit@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/visaelectron.png +0 -0
- package/OPPWAMobile-Resources.bundle/visaelectron@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/visaelectron@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/yandex.png +0 -0
- package/OPPWAMobile-Resources.bundle/yandex@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/yandex@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/zh-Hans.lproj/OPPCheckout.strings +92 -0
- package/OPPWAMobile.framework/.DS_Store +0 -0
- package/OPPWAMobile.framework/Headers/OPPAlipayPaymentParams.h +49 -0
- package/OPPWAMobile.framework/Headers/OPPApplePayPaymentParams.h +64 -0
- package/OPPWAMobile.framework/Headers/OPPApplePayRequestStatus.h +117 -0
- package/OPPWAMobile.framework/Headers/OPPBankAccount.h +58 -0
- package/OPPWAMobile.framework/Headers/OPPBankAccountPaymentParams.h +171 -0
- package/OPPWAMobile.framework/Headers/OPPCard.h +68 -0
- package/OPPWAMobile.framework/Headers/OPPCardPaymentParams.h +251 -0
- package/OPPWAMobile.framework/Headers/OPPCheckoutInfo.h +130 -0
- package/OPPWAMobile.framework/Headers/OPPCheckoutPaymentMethod.h +51 -0
- package/OPPWAMobile.framework/Headers/OPPCheckoutProvider.h +197 -0
- package/OPPWAMobile.framework/Headers/OPPCheckoutSettings.h +185 -0
- package/OPPWAMobile.framework/Headers/OPPCheckoutTheme.h +268 -0
- package/OPPWAMobile.framework/Headers/OPPChinaUnionPayPaymentParams.h +62 -0
- package/OPPWAMobile.framework/Headers/OPPErrors.h +183 -0
- package/OPPWAMobile.framework/Headers/OPPIkanoOiPaymentParams.h +74 -0
- package/OPPWAMobile.framework/Headers/OPPMBWayPaymentParams.h +66 -0
- package/OPPWAMobile.framework/Headers/OPPPayPalPaymentParams.h +48 -0
- package/OPPWAMobile.framework/Headers/OPPPaymentBrandsConfig.h +56 -0
- package/OPPWAMobile.framework/Headers/OPPPaymentButton.h +79 -0
- package/OPPWAMobile.framework/Headers/OPPPaymentParams.h +100 -0
- package/OPPWAMobile.framework/Headers/OPPPaymentParamsBrand.h +57 -0
- package/OPPWAMobile.framework/Headers/OPPPaymentProvider.h +132 -0
- package/OPPWAMobile.framework/Headers/OPPSecurityPolicy.h +87 -0
- package/OPPWAMobile.framework/Headers/OPPToken.h +95 -0
- package/OPPWAMobile.framework/Headers/OPPTokenPaymentParams.h +180 -0
- package/OPPWAMobile.framework/Headers/OPPTransaction.h +77 -0
- package/OPPWAMobile.framework/Headers/OPPWAMobile.h +48 -0
- package/OPPWAMobile.framework/OPPWAMobile +0 -0
- package/OPPWAMobile.framework/Resources/Info.plist +0 -0
- package/OPPWAMobile.framework/Versions/.DS_Store +0 -0
- package/OPPWAMobile.framework/Versions/2.47.0/.DS_Store +0 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPAlipayPaymentParams.h +49 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPApplePayPaymentParams.h +64 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPApplePayRequestStatus.h +117 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPBankAccount.h +58 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPBankAccountPaymentParams.h +171 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCard.h +68 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCardPaymentParams.h +251 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutInfo.h +130 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutPaymentMethod.h +51 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutProvider.h +197 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutSettings.h +185 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutTheme.h +268 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPChinaUnionPayPaymentParams.h +62 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPErrors.h +183 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPIkanoOiPaymentParams.h +74 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPMBWayPaymentParams.h +66 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPayPalPaymentParams.h +48 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentBrandsConfig.h +56 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentButton.h +79 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentParams.h +100 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentParamsBrand.h +57 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentProvider.h +132 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPSecurityPolicy.h +87 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPToken.h +95 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPTokenPaymentParams.h +180 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPTransaction.h +77 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPWAMobile.h +48 -0
- package/OPPWAMobile.framework/Versions/2.47.0/OPPWAMobile +0 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Resources/Info.plist +0 -0
- package/OPPWAMobile.framework/Versions/Current/.DS_Store +0 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPAlipayPaymentParams.h +49 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPApplePayPaymentParams.h +64 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPApplePayRequestStatus.h +117 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPBankAccount.h +58 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPBankAccountPaymentParams.h +171 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPCard.h +68 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPCardPaymentParams.h +251 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutInfo.h +130 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutPaymentMethod.h +51 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutProvider.h +197 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutSettings.h +185 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutTheme.h +268 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPChinaUnionPayPaymentParams.h +62 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPErrors.h +183 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPIkanoOiPaymentParams.h +74 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPMBWayPaymentParams.h +66 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPPayPalPaymentParams.h +48 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentBrandsConfig.h +56 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentButton.h +79 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentParams.h +100 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentParamsBrand.h +57 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentProvider.h +132 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPSecurityPolicy.h +87 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPToken.h +95 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPTokenPaymentParams.h +180 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPTransaction.h +77 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPWAMobile.h +48 -0
- package/OPPWAMobile.framework/Versions/Current/OPPWAMobile +0 -0
- package/OPPWAMobile.framework/Versions/Current/Resources/Info.plist +0 -0
- package/README.md +6 -8
- package/android/.DS_Store +0 -0
- package/android/.gradle/6.8/executionHistory/executionHistory.bin +0 -0
- package/android/.gradle/6.8/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/6.8/fileChanges/last-build.bin +0 -0
- package/android/.gradle/6.8/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/6.8/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/6.8/fileHashes/resourceHashesCache.bin +0 -0
- package/android/.gradle/6.8/gc.properties +0 -0
- package/android/.gradle/6.8/javaCompile/javaCompile.lock +0 -0
- package/android/.gradle/7.1.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/7.1.1/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/7.1.1/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/7.1.1/fileChanges/last-build.bin +0 -0
- package/android/.gradle/7.1.1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/7.1.1/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.gradle/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/configuration-cache/gc.properties +0 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.idea/.gitignore +3 -0
- package/android/.idea/compiler.xml +6 -0
- package/android/.idea/gradle.xml +19 -0
- package/android/.idea/jarRepositories.xml +40 -0
- package/android/.idea/libraries/Gradle____oppwa_mobile_2_44_0_oppwa_mobile_2_44_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__com_android_support_appcompat_v7_23_0_1_aar.xml +18 -0
- package/android/.idea/libraries/Gradle__com_android_support_recyclerview_v7_23_0_1_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__com_android_support_support_annotations_23_0_1.xml +13 -0
- package/android/.idea/libraries/Gradle__com_android_support_support_v4_23_0_1_aar.xml +19 -0
- package/android/.idea/libraries/Gradle__com_facebook_fresco_drawee_0_8_1_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__com_facebook_fresco_fbcore_0_8_1_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__com_facebook_fresco_fresco_0_8_1_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__com_facebook_fresco_imagepipeline_0_8_1_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__com_facebook_fresco_imagepipeline_okhttp_0_8_1_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__com_facebook_react_react_native_0_20_1_aar.xml +19 -0
- package/android/.idea/libraries/Gradle__com_facebook_stetho_stetho_1_2_0.xml +13 -0
- package/android/.idea/libraries/Gradle__com_facebook_stetho_stetho_okhttp_1_2_0.xml +13 -0
- package/android/.idea/libraries/Gradle__com_fasterxml_jackson_core_jackson_core_2_2_3.xml +13 -0
- package/android/.idea/libraries/Gradle__com_google_code_findbugs_jsr305_3_0_0.xml +13 -0
- package/android/.idea/libraries/Gradle__com_nineoldandroids_library_2_4_0.xml +13 -0
- package/android/.idea/libraries/Gradle__com_parse_bolts_bolts_android_1_1_4.xml +13 -0
- package/android/.idea/libraries/Gradle__com_squareup_okhttp_okhttp_2_5_0.xml +13 -0
- package/android/.idea/libraries/Gradle__com_squareup_okhttp_okhttp_ws_2_5_0.xml +13 -0
- package/android/.idea/libraries/Gradle__com_squareup_okio_okio_1_6_0.xml +13 -0
- package/android/.idea/libraries/Gradle__commons_cli_commons_cli_1_2.xml +13 -0
- package/android/.idea/libraries/Gradle__org_webkit_android_jsc_r174650_aar.xml +11 -0
- package/android/.idea/misc.xml +9 -0
- package/android/.idea/modules/android.iml +66 -0
- package/android/.idea/modules.xml +8 -0
- package/android/.idea/vcs.xml +6 -0
- package/android/build.gradle +40 -116
- package/android/local.properties +8 -0
- package/android/src/main/AndroidManifest.xml +1 -1
- package/android/src/main/java/com/{reactnativehyperpaysdk/HyperpaySdkModule.java → reactnativehyperpay/HyperPayModule.java} +8 -7
- package/android/src/main/java/com/{reactnativehyperpaysdk/HyperpaySdkPackage.java → reactnativehyperpay/HyperPayPackage.java} +3 -3
- package/ios/HyperPay.h +11 -0
- package/ios/HyperPay.m +93 -0
- package/ios/{HyperpaySdk.xcodeproj → HyperPay.xcodeproj}/project.pbxproj +28 -20
- package/ios/{HyperpaySdk.xcodeproj → HyperPay.xcodeproj}/project.xcworkspace/contents.xcworkspacedata +0 -0
- package/lib/typescript/index.d.ts +24 -1
- package/package.json +27 -30
- package/react-native-hyperpay.podspec +20 -0
- package/src/index.tsx +17 -11
- package/android/gradle.properties +0 -5
- package/ios/HyperpaySdk.h +0 -5
- package/ios/HyperpaySdk.mm +0 -31
- package/react-native-hyperpay-sdk.podspec +0 -40
package/android/.idea/libraries/Gradle__com_facebook_fresco_imagepipeline_okhttp_0_8_1_aar.xml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: com.facebook.fresco:imagepipeline-okhttp:0.8.1@aar">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-3/3ab791597d087e5eae7f68c62a500f52/transformed/imagepipeline-okhttp-0.8.1/jars/classes.jar!/" />
|
|
5
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-3/3ab791597d087e5eae7f68c62a500f52/transformed/imagepipeline-okhttp-0.8.1/res" />
|
|
6
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-3/3ab791597d087e5eae7f68c62a500f52/transformed/imagepipeline-okhttp-0.8.1/AndroidManifest.xml" />
|
|
7
|
+
</CLASSES>
|
|
8
|
+
<JAVADOC>
|
|
9
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.facebook.fresco/imagepipeline-okhttp/0.8.1/cb5bd74a697000b2072dfa3726bae266597cb26e/imagepipeline-okhttp-0.8.1-javadoc.jar!/" />
|
|
10
|
+
</JAVADOC>
|
|
11
|
+
<SOURCES>
|
|
12
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.facebook.fresco/imagepipeline-okhttp/0.8.1/3728771840c2e71c5c598432fe1c0a617df81bb7/imagepipeline-okhttp-0.8.1-sources.jar!/" />
|
|
13
|
+
</SOURCES>
|
|
14
|
+
</library>
|
|
15
|
+
</component>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: com.facebook.react:react-native:0.20.1@aar">
|
|
3
|
+
<ANNOTATIONS>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-3/7e6c4d4ac7c533cef0ae5fae0068cfd3/transformed/react-native-0.20.1/annotations.zip!/" />
|
|
5
|
+
</ANNOTATIONS>
|
|
6
|
+
<CLASSES>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-3/7e6c4d4ac7c533cef0ae5fae0068cfd3/transformed/react-native-0.20.1/jars/classes.jar!/" />
|
|
8
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-3/7e6c4d4ac7c533cef0ae5fae0068cfd3/transformed/react-native-0.20.1/jars/libs/infer-annotations-1.5.jar!/" />
|
|
9
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-3/7e6c4d4ac7c533cef0ae5fae0068cfd3/transformed/react-native-0.20.1/res" />
|
|
10
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-3/7e6c4d4ac7c533cef0ae5fae0068cfd3/transformed/react-native-0.20.1/AndroidManifest.xml" />
|
|
11
|
+
</CLASSES>
|
|
12
|
+
<JAVADOC>
|
|
13
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.facebook.react/react-native/0.20.1/4ba10a8394c63d1d886cbb79c73e2745472d976b/react-native-0.20.1-javadoc.jar!/" />
|
|
14
|
+
</JAVADOC>
|
|
15
|
+
<SOURCES>
|
|
16
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.facebook.react/react-native/0.20.1/aca865df36322fa13483c10dd4898f320b225ec0/react-native-0.20.1-sources.jar!/" />
|
|
17
|
+
</SOURCES>
|
|
18
|
+
</library>
|
|
19
|
+
</component>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: com.facebook.stetho:stetho:1.2.0">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.facebook.stetho/stetho/1.2.0/1d6cdb8ce8185b8b23213fad48a83987fb6d2d67/stetho-1.2.0.jar!/" />
|
|
5
|
+
</CLASSES>
|
|
6
|
+
<JAVADOC>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.facebook.stetho/stetho/1.2.0/319afd3f6db9c107e1caae7167aec7345e464c02/stetho-1.2.0-javadoc.jar!/" />
|
|
8
|
+
</JAVADOC>
|
|
9
|
+
<SOURCES>
|
|
10
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.facebook.stetho/stetho/1.2.0/21a9c64d90f22bcf39433aa39c2c0aa3ab2b6370/stetho-1.2.0-sources.jar!/" />
|
|
11
|
+
</SOURCES>
|
|
12
|
+
</library>
|
|
13
|
+
</component>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: com.facebook.stetho:stetho-okhttp:1.2.0">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.facebook.stetho/stetho-okhttp/1.2.0/6c5c9380e245c4ff5be2b2a49dcbb0200c39798e/stetho-okhttp-1.2.0.jar!/" />
|
|
5
|
+
</CLASSES>
|
|
6
|
+
<JAVADOC>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.facebook.stetho/stetho-okhttp/1.2.0/e809a358470b676d3e3169eb518510c74a464c14/stetho-okhttp-1.2.0-javadoc.jar!/" />
|
|
8
|
+
</JAVADOC>
|
|
9
|
+
<SOURCES>
|
|
10
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.facebook.stetho/stetho-okhttp/1.2.0/a82478de4c006934b92c7481da0df84a78432e4f/stetho-okhttp-1.2.0-sources.jar!/" />
|
|
11
|
+
</SOURCES>
|
|
12
|
+
</library>
|
|
13
|
+
</component>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: com.fasterxml.jackson.core:jackson-core:2.2.3">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-core/2.2.3/1a0113da2cab5f4c216b4e5e7c1dbfaa67087e14/jackson-core-2.2.3.jar!/" />
|
|
5
|
+
</CLASSES>
|
|
6
|
+
<JAVADOC>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-core/2.2.3/6021971970a43ae0c22f378cfb5813af869caab/jackson-core-2.2.3-javadoc.jar!/" />
|
|
8
|
+
</JAVADOC>
|
|
9
|
+
<SOURCES>
|
|
10
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-core/2.2.3/b1c4a6c3c26dfc425efd53c00217868b60d07de9/jackson-core-2.2.3-sources.jar!/" />
|
|
11
|
+
</SOURCES>
|
|
12
|
+
</library>
|
|
13
|
+
</component>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: com.google.code.findbugs:jsr305:3.0.0">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.google.code.findbugs/jsr305/3.0.0/5871fb60dc68d67da54a663c3fd636a10a532948/jsr305-3.0.0.jar!/" />
|
|
5
|
+
</CLASSES>
|
|
6
|
+
<JAVADOC>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.google.code.findbugs/jsr305/3.0.0/936f4430478909ed7b138d42f9ad73c919a87b26/jsr305-3.0.0-javadoc.jar!/" />
|
|
8
|
+
</JAVADOC>
|
|
9
|
+
<SOURCES>
|
|
10
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.google.code.findbugs/jsr305/3.0.0/936f4430478909ed7b138d42f9ad73c919a87b26/jsr305-3.0.0-sources.jar!/" />
|
|
11
|
+
</SOURCES>
|
|
12
|
+
</library>
|
|
13
|
+
</component>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: com.nineoldandroids:library:2.4.0">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.nineoldandroids/library/2.4.0/e9b63380f3a242dbdbf103a2355ad7e43bad17cb/library-2.4.0.jar!/" />
|
|
5
|
+
</CLASSES>
|
|
6
|
+
<JAVADOC>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.nineoldandroids/library/2.4.0/b6ed12a19045f2da5c21de5040a7c509bc14eb5/library-2.4.0-javadoc.jar!/" />
|
|
8
|
+
</JAVADOC>
|
|
9
|
+
<SOURCES>
|
|
10
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.nineoldandroids/library/2.4.0/83d41901478fa8795254244acbafd03f14224dab/library-2.4.0-sources.jar!/" />
|
|
11
|
+
</SOURCES>
|
|
12
|
+
</library>
|
|
13
|
+
</component>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: com.parse.bolts:bolts-android:1.1.4">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.parse.bolts/bolts-android/1.1.4/129874135e6081269ace2312092031558865de12/bolts-android-1.1.4.jar!/" />
|
|
5
|
+
</CLASSES>
|
|
6
|
+
<JAVADOC>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.parse.bolts/bolts-android/1.1.4/f5dd6492c539679411fa30818320b737c410158f/bolts-android-1.1.4-javadoc.jar!/" />
|
|
8
|
+
</JAVADOC>
|
|
9
|
+
<SOURCES>
|
|
10
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.parse.bolts/bolts-android/1.1.4/8bcc005d44a1cbc01c8458dbe125617a387036c0/bolts-android-1.1.4-sources.jar!/" />
|
|
11
|
+
</SOURCES>
|
|
12
|
+
</library>
|
|
13
|
+
</component>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: com.squareup.okhttp:okhttp:2.5.0">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.squareup.okhttp/okhttp/2.5.0/4de2b4ed3445c37ec1720a7d214712e845a24636/okhttp-2.5.0.jar!/" />
|
|
5
|
+
</CLASSES>
|
|
6
|
+
<JAVADOC>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.squareup.okhttp/okhttp/2.5.0/ccfa98043107579862d46bdc26db2f6b308239b2/okhttp-2.5.0-javadoc.jar!/" />
|
|
8
|
+
</JAVADOC>
|
|
9
|
+
<SOURCES>
|
|
10
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.squareup.okhttp/okhttp/2.5.0/cd4ddf1fb4ad84ea5d67ee3b386aea25f02ea096/okhttp-2.5.0-sources.jar!/" />
|
|
11
|
+
</SOURCES>
|
|
12
|
+
</library>
|
|
13
|
+
</component>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: com.squareup.okhttp:okhttp-ws:2.5.0">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.squareup.okhttp/okhttp-ws/2.5.0/e9753b7dcae5deca92e871c5c759067070b07bc/okhttp-ws-2.5.0.jar!/" />
|
|
5
|
+
</CLASSES>
|
|
6
|
+
<JAVADOC>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.squareup.okhttp/okhttp-ws/2.5.0/50c4fc8444f620dd7f721a21e6b1478e2643687e/okhttp-ws-2.5.0-javadoc.jar!/" />
|
|
8
|
+
</JAVADOC>
|
|
9
|
+
<SOURCES>
|
|
10
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.squareup.okhttp/okhttp-ws/2.5.0/11ea3308217730b76179c72dad396736ca151ab6/okhttp-ws-2.5.0-sources.jar!/" />
|
|
11
|
+
</SOURCES>
|
|
12
|
+
</library>
|
|
13
|
+
</component>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: com.squareup.okio:okio:1.6.0">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.squareup.okio/okio/1.6.0/98476622f10715998eacf9240d6b479f12c66143/okio-1.6.0.jar!/" />
|
|
5
|
+
</CLASSES>
|
|
6
|
+
<JAVADOC>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.squareup.okio/okio/1.6.0/d25d744996b028d3e244849a4a773e0bdebe4e79/okio-1.6.0-javadoc.jar!/" />
|
|
8
|
+
</JAVADOC>
|
|
9
|
+
<SOURCES>
|
|
10
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.squareup.okio/okio/1.6.0/fb6ec0fbaa0229088b0d3dfe3b1f9d24add3e775/okio-1.6.0-sources.jar!/" />
|
|
11
|
+
</SOURCES>
|
|
12
|
+
</library>
|
|
13
|
+
</component>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: commons-cli:commons-cli:1.2">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-cli/commons-cli/1.2/2bf96b7aa8b611c177d329452af1dc933e14501c/commons-cli-1.2.jar!/" />
|
|
5
|
+
</CLASSES>
|
|
6
|
+
<JAVADOC>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-cli/commons-cli/1.2/314265b6bc75d2c6d601d2842af702d211390d13/commons-cli-1.2-javadoc.jar!/" />
|
|
8
|
+
</JAVADOC>
|
|
9
|
+
<SOURCES>
|
|
10
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-cli/commons-cli/1.2/6c5459816530a1962ac18cd315cc775b1b384329/commons-cli-1.2-sources.jar!/" />
|
|
11
|
+
</SOURCES>
|
|
12
|
+
</library>
|
|
13
|
+
</component>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: org.webkit:android-jsc:r174650@aar">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-3/fb5502aa9e4bb010953ee2c60376dd8d/transformed/android-jsc-r174650/jars/classes.jar!/" />
|
|
5
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-3/fb5502aa9e4bb010953ee2c60376dd8d/transformed/android-jsc-r174650/res" />
|
|
6
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-3/fb5502aa9e4bb010953ee2c60376dd8d/transformed/android-jsc-r174650/AndroidManifest.xml" />
|
|
7
|
+
</CLASSES>
|
|
8
|
+
<JAVADOC />
|
|
9
|
+
<SOURCES />
|
|
10
|
+
</library>
|
|
11
|
+
</component>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11" project-jdk-type="JavaSDK">
|
|
4
|
+
<output url="file://$PROJECT_DIR$/build/classes" />
|
|
5
|
+
</component>
|
|
6
|
+
<component name="ProjectType">
|
|
7
|
+
<option name="id" value="Android" />
|
|
8
|
+
</component>
|
|
9
|
+
</project>
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module external.linked.project.id="android" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" external.system.module.group="" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
|
|
3
|
+
<component name="FacetManager">
|
|
4
|
+
<facet type="android-gradle" name="Android-Gradle">
|
|
5
|
+
<configuration>
|
|
6
|
+
<option name="GRADLE_PROJECT_PATH" value=":" />
|
|
7
|
+
<option name="LAST_SUCCESSFUL_SYNC_AGP_VERSION" value="3.5.3" />
|
|
8
|
+
<option name="LAST_KNOWN_AGP_VERSION" value="3.5.3" />
|
|
9
|
+
</configuration>
|
|
10
|
+
</facet>
|
|
11
|
+
<facet type="android" name="Android">
|
|
12
|
+
<configuration>
|
|
13
|
+
<option name="SELECTED_BUILD_VARIANT" value="debug" />
|
|
14
|
+
<option name="ASSEMBLE_TASK_NAME" value="assembleDebug" />
|
|
15
|
+
<option name="COMPILE_JAVA_TASK_NAME" value="compileDebugSources" />
|
|
16
|
+
<afterSyncTasks>
|
|
17
|
+
<task>generateDebugSources</task>
|
|
18
|
+
</afterSyncTasks>
|
|
19
|
+
<option name="ALLOW_USER_CONFIGURATION" value="false" />
|
|
20
|
+
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/src/main/AndroidManifest.xml" />
|
|
21
|
+
<option name="RES_FOLDER_RELATIVE_PATH" value="/src/main/res" />
|
|
22
|
+
<option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/../../src/main/res;file://$MODULE_DIR$/../../src/debug/res;file://$MODULE_DIR$/../../build/generated/res/rs/debug;file://$MODULE_DIR$/../../build/generated/res/resValues/debug" />
|
|
23
|
+
<option name="TEST_RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/../../src/androidTest/res;file://$MODULE_DIR$/../../src/androidTestDebug/res;file://$MODULE_DIR$/../../build/generated/res/rs/androidTest/debug;file://$MODULE_DIR$/../../build/generated/res/resValues/androidTest/debug" />
|
|
24
|
+
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" />
|
|
25
|
+
<option name="PROJECT_TYPE" value="1" />
|
|
26
|
+
</configuration>
|
|
27
|
+
</facet>
|
|
28
|
+
</component>
|
|
29
|
+
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
|
|
30
|
+
<output url="file://$MODULE_DIR$/../../build/intermediates/javac/debug/classes" />
|
|
31
|
+
<output-test url="file://$MODULE_DIR$/../../build/intermediates/javac/debugUnitTest/classes" />
|
|
32
|
+
<exclude-output />
|
|
33
|
+
<content url="file://$MODULE_DIR$/../..">
|
|
34
|
+
<sourceFolder url="file://$MODULE_DIR$/../../build/generated/ap_generated_sources/debug/out" isTestSource="false" generated="true" />
|
|
35
|
+
<sourceFolder url="file://$MODULE_DIR$/../../build/generated/res/resValues/debug" type="java-resource" />
|
|
36
|
+
<sourceFolder url="file://$MODULE_DIR$/../../build/generated/source/buildConfig/debug" isTestSource="false" generated="true" />
|
|
37
|
+
<sourceFolder url="file://$MODULE_DIR$/../../src/main/java" isTestSource="false" />
|
|
38
|
+
<excludeFolder url="file://$MODULE_DIR$/../../.gradle" />
|
|
39
|
+
<excludeFolder url="file://$MODULE_DIR$/../../build" />
|
|
40
|
+
</content>
|
|
41
|
+
<orderEntry type="jdk" jdkName="Android API 29 Platform" jdkType="Android SDK" />
|
|
42
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
43
|
+
<orderEntry type="library" name="Gradle: com.facebook.stetho:stetho-okhttp:1.2.0" level="project" />
|
|
44
|
+
<orderEntry type="library" name="Gradle: com.facebook.stetho:stetho:1.2.0" level="project" />
|
|
45
|
+
<orderEntry type="library" name="Gradle: com.google.code.findbugs:jsr305:3.0.0" level="project" />
|
|
46
|
+
<orderEntry type="library" name="Gradle: commons-cli:commons-cli:1.2" level="project" />
|
|
47
|
+
<orderEntry type="library" name="Gradle: com.squareup.okhttp:okhttp-ws:2.5.0" level="project" />
|
|
48
|
+
<orderEntry type="library" name="Gradle: com.squareup.okhttp:okhttp:2.5.0" level="project" />
|
|
49
|
+
<orderEntry type="library" name="Gradle: com.squareup.okio:okio:1.6.0" level="project" />
|
|
50
|
+
<orderEntry type="library" name="Gradle: com.nineoldandroids:library:2.4.0" level="project" />
|
|
51
|
+
<orderEntry type="library" name="Gradle: com.android.support:support-annotations:23.0.1" level="project" />
|
|
52
|
+
<orderEntry type="library" name="Gradle: com.parse.bolts:bolts-android:1.1.4" level="project" />
|
|
53
|
+
<orderEntry type="library" name="Gradle: com.fasterxml.jackson.core:jackson-core:2.2.3" level="project" />
|
|
54
|
+
<orderEntry type="library" name="Gradle: ./oppwa.mobile-2.44.0/oppwa.mobile-2.44.0.aar" level="project" />
|
|
55
|
+
<orderEntry type="library" name="Gradle: com.facebook.react:react-native:0.20.1@aar" level="project" />
|
|
56
|
+
<orderEntry type="library" name="Gradle: com.facebook.fresco:imagepipeline-okhttp:0.8.1@aar" level="project" />
|
|
57
|
+
<orderEntry type="library" name="Gradle: com.facebook.fresco:fresco:0.8.1@aar" level="project" />
|
|
58
|
+
<orderEntry type="library" name="Gradle: com.facebook.fresco:imagepipeline:0.8.1@aar" level="project" />
|
|
59
|
+
<orderEntry type="library" name="Gradle: com.facebook.fresco:drawee:0.8.1@aar" level="project" />
|
|
60
|
+
<orderEntry type="library" name="Gradle: com.facebook.fresco:fbcore:0.8.1@aar" level="project" />
|
|
61
|
+
<orderEntry type="library" name="Gradle: com.android.support:recyclerview-v7:23.0.1@aar" level="project" />
|
|
62
|
+
<orderEntry type="library" name="Gradle: com.android.support:appcompat-v7:23.0.1@aar" level="project" />
|
|
63
|
+
<orderEntry type="library" name="Gradle: com.android.support:support-v4:23.0.1@aar" level="project" />
|
|
64
|
+
<orderEntry type="library" name="Gradle: org.webkit:android-jsc:r174650@aar" level="project" />
|
|
65
|
+
</component>
|
|
66
|
+
</module>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectModuleManager">
|
|
4
|
+
<modules>
|
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/modules/android.iml" filepath="$PROJECT_DIR$/.idea/modules/android.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
package/android/build.gradle
CHANGED
|
@@ -1,138 +1,62 @@
|
|
|
1
1
|
buildscript {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
classpath 'com.android.tools.build:gradle:3.5.3'
|
|
9
|
-
}
|
|
10
|
-
}
|
|
2
|
+
if (project == rootProject) {
|
|
3
|
+
repositories {
|
|
4
|
+
google()
|
|
5
|
+
mavenCentral()
|
|
6
|
+
jcenter()
|
|
7
|
+
}
|
|
11
8
|
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
dependencies {
|
|
10
|
+
classpath 'com.android.tools.build:gradle:3.5.3'
|
|
11
|
+
}
|
|
12
|
+
}
|
|
14
13
|
}
|
|
15
14
|
|
|
16
15
|
apply plugin: 'com.android.library'
|
|
17
16
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
def getExtOrDefault(name) {
|
|
23
|
-
return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties['HyperpaySdk_' + name]
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
def getExtOrIntegerDefault(name) {
|
|
27
|
-
return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties['HyperpaySdk_' + name]).toInteger()
|
|
17
|
+
def safeExtGet(prop, fallback) {
|
|
18
|
+
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
28
19
|
}
|
|
29
20
|
|
|
30
21
|
android {
|
|
31
|
-
|
|
22
|
+
compileSdkVersion safeExtGet('HyperPay_compileSdkVersion', 29)
|
|
23
|
+
defaultConfig {
|
|
24
|
+
minSdkVersion safeExtGet('HyperPay_minSdkVersion', 21)
|
|
25
|
+
targetSdkVersion safeExtGet('HyperPay_targetSdkVersion', 29)
|
|
26
|
+
versionCode 1
|
|
27
|
+
versionName "1.0"
|
|
32
28
|
|
|
33
|
-
defaultConfig {
|
|
34
|
-
minSdkVersion getExtOrIntegerDefault('minSdkVersion')
|
|
35
|
-
targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
|
|
36
|
-
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
|
|
37
|
-
}
|
|
38
|
-
buildTypes {
|
|
39
|
-
release {
|
|
40
|
-
minifyEnabled false
|
|
41
29
|
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
lintOptions {
|
|
45
|
-
disable 'GradleCompatible'
|
|
46
|
-
}
|
|
47
30
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
31
|
+
buildTypes {
|
|
32
|
+
release {
|
|
33
|
+
minifyEnabled false
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
lintOptions {
|
|
37
|
+
disable 'GradleCompatible'
|
|
38
|
+
}
|
|
39
|
+
compileOptions {
|
|
40
|
+
sourceCompatibility JavaVersion.VERSION_1_8
|
|
41
|
+
targetCompatibility JavaVersion.VERSION_1_8
|
|
42
|
+
}
|
|
52
43
|
}
|
|
53
44
|
|
|
54
45
|
repositories {
|
|
55
|
-
|
|
56
|
-
google()
|
|
57
|
-
|
|
58
|
-
def found = false
|
|
59
|
-
def defaultDir = null
|
|
60
|
-
def androidSourcesName = 'React Native sources'
|
|
61
|
-
|
|
62
|
-
if (rootProject.ext.has('reactNativeAndroidRoot')) {
|
|
63
|
-
defaultDir = rootProject.ext.get('reactNativeAndroidRoot')
|
|
64
|
-
} else {
|
|
65
|
-
defaultDir = new File(
|
|
66
|
-
projectDir,
|
|
67
|
-
'/../../../node_modules/react-native/android'
|
|
68
|
-
)
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
if (defaultDir.exists()) {
|
|
46
|
+
mavenLocal()
|
|
72
47
|
maven {
|
|
73
|
-
|
|
74
|
-
|
|
48
|
+
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
49
|
+
url("$rootDir/../node_modules/react-native/android")
|
|
75
50
|
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} else {
|
|
80
|
-
def parentDir = rootProject.projectDir
|
|
81
|
-
|
|
82
|
-
1.upto(5, {
|
|
83
|
-
if (found) return true
|
|
84
|
-
parentDir = parentDir.parentFile
|
|
85
|
-
|
|
86
|
-
def androidSourcesDir = new File(
|
|
87
|
-
parentDir,
|
|
88
|
-
'node_modules/react-native'
|
|
89
|
-
)
|
|
90
|
-
|
|
91
|
-
def androidPrebuiltBinaryDir = new File(
|
|
92
|
-
parentDir,
|
|
93
|
-
'node_modules/react-native/android'
|
|
94
|
-
)
|
|
95
|
-
|
|
96
|
-
if (androidPrebuiltBinaryDir.exists()) {
|
|
97
|
-
maven {
|
|
98
|
-
url androidPrebuiltBinaryDir.toString()
|
|
99
|
-
name androidSourcesName
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
logger.info(":${project.name}:reactNativeAndroidRoot ${androidPrebuiltBinaryDir.canonicalPath}")
|
|
103
|
-
found = true
|
|
104
|
-
} else if (androidSourcesDir.exists()) {
|
|
105
|
-
maven {
|
|
106
|
-
url androidSourcesDir.toString()
|
|
107
|
-
name androidSourcesName
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
logger.info(":${project.name}:reactNativeAndroidRoot ${androidSourcesDir.canonicalPath}")
|
|
111
|
-
found = true
|
|
112
|
-
}
|
|
113
|
-
})
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
if (!found) {
|
|
117
|
-
throw new GradleException(
|
|
118
|
-
"${project.name}: unable to locate React Native android sources. " +
|
|
119
|
-
"Ensure you have you installed React Native as a dependency in your project and try again."
|
|
120
|
-
)
|
|
121
|
-
}
|
|
51
|
+
google()
|
|
52
|
+
mavenCentral()
|
|
53
|
+
jcenter()
|
|
122
54
|
}
|
|
123
55
|
|
|
124
|
-
|
|
125
56
|
dependencies {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
// From node_modules
|
|
130
|
-
}
|
|
57
|
+
implementation files('oppwa.mobile-2.44.0/oppwa.mobile-3.14.0-release.aar')
|
|
58
|
+
|
|
59
|
+
//noinspection GradleDynamicVersion
|
|
60
|
+
implementation "com.facebook.react:react-native:+" // From node_modules
|
|
131
61
|
|
|
132
|
-
if (isNewArchitectureEnabled()) {
|
|
133
|
-
react {
|
|
134
|
-
jsRootDir = file("../src/")
|
|
135
|
-
libraryName = "HyperpaySdk"
|
|
136
|
-
codegenJavaPackageName = "com.reactnativehyperpaysdk"
|
|
137
|
-
}
|
|
138
62
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
## This file must *NOT* be checked into Version Control Systems,
|
|
2
|
+
# as it contains information specific to your local configuration.
|
|
3
|
+
#
|
|
4
|
+
# Location of the SDK. This is only used by Gradle.
|
|
5
|
+
# For customization when using a Version Control System, please read the
|
|
6
|
+
# header note.
|
|
7
|
+
#Thu Feb 17 07:03:37 EET 2022
|
|
8
|
+
sdk.dir=/Users/r.mabrouk/Library/Android/sdk
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
package com.
|
|
1
|
+
package com.reactnativehyperpay;
|
|
2
2
|
|
|
3
3
|
import androidx.annotation.NonNull;
|
|
4
4
|
|
|
@@ -7,12 +7,12 @@ import com.facebook.react.bridge.ReactApplicationContext;
|
|
|
7
7
|
import com.facebook.react.bridge.ReactContextBaseJavaModule;
|
|
8
8
|
import com.facebook.react.bridge.ReactMethod;
|
|
9
9
|
import com.facebook.react.module.annotations.ReactModule;
|
|
10
|
+
import com.oppwa.mobile.connect.provider.Transaction;
|
|
11
|
+
@ReactModule(name = HyperPayModule.NAME)
|
|
12
|
+
public class HyperPayModule extends ReactContextBaseJavaModule {
|
|
13
|
+
public static final String NAME = "HyperPay";
|
|
10
14
|
|
|
11
|
-
|
|
12
|
-
public class HyperpaySdkModule extends ReactContextBaseJavaModule {
|
|
13
|
-
public static final String NAME = "HyperpaySdk";
|
|
14
|
-
|
|
15
|
-
public HyperpaySdkModule(ReactApplicationContext reactContext) {
|
|
15
|
+
public HyperPayModule(ReactApplicationContext reactContext) {
|
|
16
16
|
super(reactContext);
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -26,8 +26,9 @@ public class HyperpaySdkModule extends ReactContextBaseJavaModule {
|
|
|
26
26
|
// Example method
|
|
27
27
|
// See https://reactnative.dev/docs/native-modules-android
|
|
28
28
|
@ReactMethod
|
|
29
|
-
public void multiply(
|
|
29
|
+
public void multiply(int a, int b, Promise promise) {
|
|
30
30
|
promise.resolve(a * b);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
public static native int nativeMultiply(int a, int b);
|
|
33
34
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
package com.
|
|
1
|
+
package com.reactnativehyperpay;
|
|
2
2
|
|
|
3
3
|
import androidx.annotation.NonNull;
|
|
4
4
|
|
|
@@ -11,12 +11,12 @@ import java.util.ArrayList;
|
|
|
11
11
|
import java.util.Collections;
|
|
12
12
|
import java.util.List;
|
|
13
13
|
|
|
14
|
-
public class
|
|
14
|
+
public class HyperPayPackage implements ReactPackage {
|
|
15
15
|
@NonNull
|
|
16
16
|
@Override
|
|
17
17
|
public List<NativeModule> createNativeModules(@NonNull ReactApplicationContext reactContext) {
|
|
18
18
|
List<NativeModule> modules = new ArrayList<>();
|
|
19
|
-
modules.add(new
|
|
19
|
+
modules.add(new HyperPayModule(reactContext));
|
|
20
20
|
return modules;
|
|
21
21
|
}
|
|
22
22
|
|
package/ios/HyperPay.h
ADDED