react-native-hyperpay-sdk 0.1.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 +21 -0
- 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 +27 -0
- 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 +62 -0
- package/android/local.properties +8 -0
- package/android/oppwa.mobile-2.44.0/.DS_Store +0 -0
- package/android/oppwa.mobile-2.44.0/.project +17 -0
- package/android/oppwa.mobile-2.44.0/.settings/org.eclipse.buildship.core.prefs +2 -0
- package/android/oppwa.mobile-2.44.0/oppwa.mobile-3.14.0-release.aar +0 -0
- package/android/src/main/AndroidManifest.xml +4 -0
- package/android/src/main/java/com/reactnativehyperpay/HyperPayModule.java +34 -0
- package/android/src/main/java/com/reactnativehyperpay/HyperPayPackage.java +28 -0
- package/ios/HyperPay.h +11 -0
- package/ios/HyperPay.m +95 -0
- package/ios/HyperPay.xcodeproj/project.pbxproj +282 -0
- package/ios/HyperPay.xcodeproj/project.xcworkspace/contents.xcworkspacedata +4 -0
- package/package.json +148 -0
- package/react-native-hyperpay.podspec +20 -0
- package/src/index.tsx +22 -0
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
// !$*UTF8*$!
|
|
2
|
+
{
|
|
3
|
+
archiveVersion = 1;
|
|
4
|
+
classes = {
|
|
5
|
+
};
|
|
6
|
+
objectVersion = 46;
|
|
7
|
+
objects = {
|
|
8
|
+
|
|
9
|
+
/* Begin PBXBuildFile section */
|
|
10
|
+
|
|
11
|
+
5E555C0D2413F4C50049A1A2 /* HyperPay.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* HyperPay.m */; };
|
|
12
|
+
|
|
13
|
+
/* End PBXBuildFile section */
|
|
14
|
+
|
|
15
|
+
/* Begin PBXCopyFilesBuildPhase section */
|
|
16
|
+
58B511D91A9E6C8500147676 /* CopyFiles */ = {
|
|
17
|
+
isa = PBXCopyFilesBuildPhase;
|
|
18
|
+
buildActionMask = 2147483647;
|
|
19
|
+
dstPath = "include/$(PRODUCT_NAME)";
|
|
20
|
+
dstSubfolderSpec = 16;
|
|
21
|
+
files = (
|
|
22
|
+
);
|
|
23
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
24
|
+
};
|
|
25
|
+
/* End PBXCopyFilesBuildPhase section */
|
|
26
|
+
|
|
27
|
+
/* Begin PBXFileReference section */
|
|
28
|
+
134814201AA4EA6300B7C361 /* libHyperPay.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libHyperPay.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
29
|
+
|
|
30
|
+
B3E7B5881CC2AC0600A0062D /* HyperPay.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HyperPay.h; sourceTree = "<group>"; };
|
|
31
|
+
B3E7B5891CC2AC0600A0062D /* HyperPay.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HyperPay.m; sourceTree = "<group>"; };
|
|
32
|
+
|
|
33
|
+
/* End PBXFileReference section */
|
|
34
|
+
|
|
35
|
+
/* Begin PBXFrameworksBuildPhase section */
|
|
36
|
+
58B511D81A9E6C8500147676 /* Frameworks */ = {
|
|
37
|
+
isa = PBXFrameworksBuildPhase;
|
|
38
|
+
buildActionMask = 2147483647;
|
|
39
|
+
files = (
|
|
40
|
+
);
|
|
41
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
42
|
+
};
|
|
43
|
+
/* End PBXFrameworksBuildPhase section */
|
|
44
|
+
|
|
45
|
+
/* Begin PBXGroup section */
|
|
46
|
+
134814211AA4EA7D00B7C361 /* Products */ = {
|
|
47
|
+
isa = PBXGroup;
|
|
48
|
+
children = (
|
|
49
|
+
134814201AA4EA6300B7C361 /* libHyperPay.a */,
|
|
50
|
+
);
|
|
51
|
+
name = Products;
|
|
52
|
+
sourceTree = "<group>";
|
|
53
|
+
};
|
|
54
|
+
58B511D21A9E6C8500147676 = {
|
|
55
|
+
isa = PBXGroup;
|
|
56
|
+
children = (
|
|
57
|
+
|
|
58
|
+
B3E7B5881CC2AC0600A0062D /* HyperPay.h */,
|
|
59
|
+
B3E7B5891CC2AC0600A0062D /* HyperPay.m */,
|
|
60
|
+
|
|
61
|
+
134814211AA4EA7D00B7C361 /* Products */,
|
|
62
|
+
);
|
|
63
|
+
sourceTree = "<group>";
|
|
64
|
+
};
|
|
65
|
+
/* End PBXGroup section */
|
|
66
|
+
|
|
67
|
+
/* Begin PBXNativeTarget section */
|
|
68
|
+
58B511DA1A9E6C8500147676 /* HyperPay */ = {
|
|
69
|
+
isa = PBXNativeTarget;
|
|
70
|
+
buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "HyperPay" */;
|
|
71
|
+
buildPhases = (
|
|
72
|
+
58B511D71A9E6C8500147676 /* Sources */,
|
|
73
|
+
58B511D81A9E6C8500147676 /* Frameworks */,
|
|
74
|
+
58B511D91A9E6C8500147676 /* CopyFiles */,
|
|
75
|
+
);
|
|
76
|
+
buildRules = (
|
|
77
|
+
);
|
|
78
|
+
dependencies = (
|
|
79
|
+
);
|
|
80
|
+
name = HyperPay;
|
|
81
|
+
productName = RCTDataManager;
|
|
82
|
+
productReference = 134814201AA4EA6300B7C361 /* libHyperPay.a */;
|
|
83
|
+
productType = "com.apple.product-type.library.static";
|
|
84
|
+
};
|
|
85
|
+
/* End PBXNativeTarget section */
|
|
86
|
+
|
|
87
|
+
/* Begin PBXProject section */
|
|
88
|
+
58B511D31A9E6C8500147676 /* Project object */ = {
|
|
89
|
+
isa = PBXProject;
|
|
90
|
+
attributes = {
|
|
91
|
+
LastUpgradeCheck = 0920;
|
|
92
|
+
ORGANIZATIONNAME = Facebook;
|
|
93
|
+
TargetAttributes = {
|
|
94
|
+
58B511DA1A9E6C8500147676 = {
|
|
95
|
+
CreatedOnToolsVersion = 6.1.1;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "HyperPay" */;
|
|
100
|
+
compatibilityVersion = "Xcode 3.2";
|
|
101
|
+
developmentRegion = English;
|
|
102
|
+
hasScannedForEncodings = 0;
|
|
103
|
+
knownRegions = (
|
|
104
|
+
English,
|
|
105
|
+
en,
|
|
106
|
+
);
|
|
107
|
+
mainGroup = 58B511D21A9E6C8500147676;
|
|
108
|
+
productRefGroup = 58B511D21A9E6C8500147676;
|
|
109
|
+
projectDirPath = "";
|
|
110
|
+
projectRoot = "";
|
|
111
|
+
targets = (
|
|
112
|
+
58B511DA1A9E6C8500147676 /* HyperPay */,
|
|
113
|
+
);
|
|
114
|
+
};
|
|
115
|
+
/* End PBXProject section */
|
|
116
|
+
|
|
117
|
+
/* Begin PBXSourcesBuildPhase section */
|
|
118
|
+
58B511D71A9E6C8500147676 /* Sources */ = {
|
|
119
|
+
isa = PBXSourcesBuildPhase;
|
|
120
|
+
buildActionMask = 2147483647;
|
|
121
|
+
files = (
|
|
122
|
+
|
|
123
|
+
B3E7B58A1CC2AC0600A0062D /* HyperPay.m in Sources */,
|
|
124
|
+
|
|
125
|
+
);
|
|
126
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
127
|
+
};
|
|
128
|
+
/* End PBXSourcesBuildPhase section */
|
|
129
|
+
|
|
130
|
+
/* Begin XCBuildConfiguration section */
|
|
131
|
+
58B511ED1A9E6C8500147676 /* Debug */ = {
|
|
132
|
+
isa = XCBuildConfiguration;
|
|
133
|
+
buildSettings = {
|
|
134
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
135
|
+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
|
136
|
+
CLANG_CXX_LIBRARY = "libc++";
|
|
137
|
+
CLANG_ENABLE_MODULES = YES;
|
|
138
|
+
CLANG_ENABLE_OBJC_ARC = YES;
|
|
139
|
+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
|
140
|
+
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
141
|
+
CLANG_WARN_COMMA = YES;
|
|
142
|
+
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
143
|
+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
144
|
+
CLANG_WARN_EMPTY_BODY = YES;
|
|
145
|
+
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
146
|
+
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
147
|
+
CLANG_WARN_INT_CONVERSION = YES;
|
|
148
|
+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
|
149
|
+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
150
|
+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
151
|
+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
152
|
+
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
153
|
+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
154
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
155
|
+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
156
|
+
COPY_PHASE_STRIP = NO;
|
|
157
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
158
|
+
ENABLE_TESTABILITY = YES;
|
|
159
|
+
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
160
|
+
GCC_DYNAMIC_NO_PIC = NO;
|
|
161
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
|
162
|
+
GCC_OPTIMIZATION_LEVEL = 0;
|
|
163
|
+
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
164
|
+
"DEBUG=1",
|
|
165
|
+
"$(inherited)",
|
|
166
|
+
);
|
|
167
|
+
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
|
168
|
+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
169
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
170
|
+
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
171
|
+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
172
|
+
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
173
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
174
|
+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
|
175
|
+
MTL_ENABLE_DEBUG_INFO = YES;
|
|
176
|
+
ONLY_ACTIVE_ARCH = YES;
|
|
177
|
+
SDKROOT = iphoneos;
|
|
178
|
+
};
|
|
179
|
+
name = Debug;
|
|
180
|
+
};
|
|
181
|
+
58B511EE1A9E6C8500147676 /* Release */ = {
|
|
182
|
+
isa = XCBuildConfiguration;
|
|
183
|
+
buildSettings = {
|
|
184
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
185
|
+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
|
186
|
+
CLANG_CXX_LIBRARY = "libc++";
|
|
187
|
+
CLANG_ENABLE_MODULES = YES;
|
|
188
|
+
CLANG_ENABLE_OBJC_ARC = YES;
|
|
189
|
+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
|
190
|
+
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
191
|
+
CLANG_WARN_COMMA = YES;
|
|
192
|
+
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
193
|
+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
194
|
+
CLANG_WARN_EMPTY_BODY = YES;
|
|
195
|
+
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
196
|
+
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
197
|
+
CLANG_WARN_INT_CONVERSION = YES;
|
|
198
|
+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
|
199
|
+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
200
|
+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
201
|
+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
202
|
+
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
203
|
+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
204
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
205
|
+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
206
|
+
COPY_PHASE_STRIP = YES;
|
|
207
|
+
ENABLE_NS_ASSERTIONS = NO;
|
|
208
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
209
|
+
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
210
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
|
211
|
+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
212
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
213
|
+
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
214
|
+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
215
|
+
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
216
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
217
|
+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
|
218
|
+
MTL_ENABLE_DEBUG_INFO = NO;
|
|
219
|
+
SDKROOT = iphoneos;
|
|
220
|
+
VALIDATE_PRODUCT = YES;
|
|
221
|
+
};
|
|
222
|
+
name = Release;
|
|
223
|
+
};
|
|
224
|
+
58B511F01A9E6C8500147676 /* Debug */ = {
|
|
225
|
+
isa = XCBuildConfiguration;
|
|
226
|
+
buildSettings = {
|
|
227
|
+
HEADER_SEARCH_PATHS = (
|
|
228
|
+
"$(inherited)",
|
|
229
|
+
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
|
|
230
|
+
"$(SRCROOT)/../../../React/**",
|
|
231
|
+
"$(SRCROOT)/../../react-native/React/**",
|
|
232
|
+
);
|
|
233
|
+
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
|
234
|
+
OTHER_LDFLAGS = "-ObjC";
|
|
235
|
+
PRODUCT_NAME = HyperPay;
|
|
236
|
+
SKIP_INSTALL = YES;
|
|
237
|
+
|
|
238
|
+
};
|
|
239
|
+
name = Debug;
|
|
240
|
+
};
|
|
241
|
+
58B511F11A9E6C8500147676 /* Release */ = {
|
|
242
|
+
isa = XCBuildConfiguration;
|
|
243
|
+
buildSettings = {
|
|
244
|
+
HEADER_SEARCH_PATHS = (
|
|
245
|
+
"$(inherited)",
|
|
246
|
+
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
|
|
247
|
+
"$(SRCROOT)/../../../React/**",
|
|
248
|
+
"$(SRCROOT)/../../react-native/React/**",
|
|
249
|
+
);
|
|
250
|
+
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
|
251
|
+
OTHER_LDFLAGS = "-ObjC";
|
|
252
|
+
PRODUCT_NAME = HyperPay;
|
|
253
|
+
SKIP_INSTALL = YES;
|
|
254
|
+
|
|
255
|
+
};
|
|
256
|
+
name = Release;
|
|
257
|
+
};
|
|
258
|
+
/* End XCBuildConfiguration section */
|
|
259
|
+
|
|
260
|
+
/* Begin XCConfigurationList section */
|
|
261
|
+
58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "HyperPay" */ = {
|
|
262
|
+
isa = XCConfigurationList;
|
|
263
|
+
buildConfigurations = (
|
|
264
|
+
58B511ED1A9E6C8500147676 /* Debug */,
|
|
265
|
+
58B511EE1A9E6C8500147676 /* Release */,
|
|
266
|
+
);
|
|
267
|
+
defaultConfigurationIsVisible = 0;
|
|
268
|
+
defaultConfigurationName = Release;
|
|
269
|
+
};
|
|
270
|
+
58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "HyperPay" */ = {
|
|
271
|
+
isa = XCConfigurationList;
|
|
272
|
+
buildConfigurations = (
|
|
273
|
+
58B511F01A9E6C8500147676 /* Debug */,
|
|
274
|
+
58B511F11A9E6C8500147676 /* Release */,
|
|
275
|
+
);
|
|
276
|
+
defaultConfigurationIsVisible = 0;
|
|
277
|
+
defaultConfigurationName = Release;
|
|
278
|
+
};
|
|
279
|
+
/* End XCConfigurationList section */
|
|
280
|
+
};
|
|
281
|
+
rootObject = 58B511D31A9E6C8500147676 /* Project object */;
|
|
282
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "react-native-hyperpay-sdk",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "hyperpay",
|
|
5
|
+
"main": "lib/commonjs/index",
|
|
6
|
+
"module": "lib/module/index",
|
|
7
|
+
"types": "lib/typescript/index.d.ts",
|
|
8
|
+
"react-native": "src/index",
|
|
9
|
+
"source": "src/index",
|
|
10
|
+
"files": [
|
|
11
|
+
"src",
|
|
12
|
+
"lib",
|
|
13
|
+
"android",
|
|
14
|
+
"ios",
|
|
15
|
+
"cpp",
|
|
16
|
+
"react-native-hyperpay.podspec",
|
|
17
|
+
"OPPWAMobile-Resources.bundle",
|
|
18
|
+
"OPPWAMobile.framework",
|
|
19
|
+
"!lib/typescript/example",
|
|
20
|
+
"!android/build",
|
|
21
|
+
"!ios/build",
|
|
22
|
+
"!**/__tests__",
|
|
23
|
+
"!**/__fixtures__",
|
|
24
|
+
"!**/__mocks__"
|
|
25
|
+
],
|
|
26
|
+
"scripts": {
|
|
27
|
+
"test": "jest",
|
|
28
|
+
"typescript": "tsc --noEmit",
|
|
29
|
+
"lint": "eslint \"**/*.{js,ts,tsx}\"",
|
|
30
|
+
"release": "release-it",
|
|
31
|
+
"example": "yarn --cwd example",
|
|
32
|
+
"pods": "cd example && pod-install --quiet",
|
|
33
|
+
"bootstrap": "yarn example && yarn && yarn pods"
|
|
34
|
+
},
|
|
35
|
+
"keywords": [
|
|
36
|
+
"react-native",
|
|
37
|
+
"ios",
|
|
38
|
+
"android"
|
|
39
|
+
],
|
|
40
|
+
"repository": "https://github.com/RMabroukS/react-native-hyperpay",
|
|
41
|
+
"author": "RMabroukS <r.mabrouk.sayed@gmail.com> (https://github.com/RMabroukS)",
|
|
42
|
+
"license": "MIT",
|
|
43
|
+
"bugs": {
|
|
44
|
+
"url": "https://github.com/RMabroukS/react-native-hyperpay/issues"
|
|
45
|
+
},
|
|
46
|
+
"homepage": "https://github.com/RMabroukS/react-native-hyperpay#readme",
|
|
47
|
+
"publishConfig": {
|
|
48
|
+
"registry": "https://registry.npmjs.org/"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@commitlint/config-conventional": "^11.0.0",
|
|
52
|
+
"@react-native-community/eslint-config": "^2.0.0",
|
|
53
|
+
"@release-it/conventional-changelog": "^2.0.0",
|
|
54
|
+
"@types/jest": "^26.0.0",
|
|
55
|
+
"@types/react": "^16.9.19",
|
|
56
|
+
"@types/react-native": "0.62.13",
|
|
57
|
+
"commitlint": "^11.0.0",
|
|
58
|
+
"eslint": "^7.2.0",
|
|
59
|
+
"eslint-config-prettier": "^7.0.0",
|
|
60
|
+
"eslint-plugin-prettier": "^3.1.3",
|
|
61
|
+
"husky": "^6.0.0",
|
|
62
|
+
"jest": "^26.0.1",
|
|
63
|
+
"pod-install": "^0.1.0",
|
|
64
|
+
"prettier": "^2.0.5",
|
|
65
|
+
"react": "16.13.1",
|
|
66
|
+
"react-native": "0.63.4",
|
|
67
|
+
"react-native-builder-bob": "^0.18.0",
|
|
68
|
+
"release-it": "^14.2.2",
|
|
69
|
+
"typescript": "^4.1.3"
|
|
70
|
+
},
|
|
71
|
+
"peerDependencies": {
|
|
72
|
+
"react": "*",
|
|
73
|
+
"react-native": "*"
|
|
74
|
+
},
|
|
75
|
+
"jest": {
|
|
76
|
+
"preset": "react-native",
|
|
77
|
+
"modulePathIgnorePatterns": [
|
|
78
|
+
"<rootDir>/example/node_modules",
|
|
79
|
+
"<rootDir>/lib/"
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
"commitlint": {
|
|
83
|
+
"extends": [
|
|
84
|
+
"@commitlint/config-conventional"
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"release-it": {
|
|
88
|
+
"git": {
|
|
89
|
+
"commitMessage": "chore: release ${version}",
|
|
90
|
+
"tagName": "v${version}"
|
|
91
|
+
},
|
|
92
|
+
"npm": {
|
|
93
|
+
"publish": true
|
|
94
|
+
},
|
|
95
|
+
"github": {
|
|
96
|
+
"release": true
|
|
97
|
+
},
|
|
98
|
+
"plugins": {
|
|
99
|
+
"@release-it/conventional-changelog": {
|
|
100
|
+
"preset": "angular"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"eslintConfig": {
|
|
105
|
+
"root": true,
|
|
106
|
+
"extends": [
|
|
107
|
+
"@react-native-community",
|
|
108
|
+
"prettier"
|
|
109
|
+
],
|
|
110
|
+
"rules": {
|
|
111
|
+
"prettier/prettier": [
|
|
112
|
+
"error",
|
|
113
|
+
{
|
|
114
|
+
"quoteProps": "consistent",
|
|
115
|
+
"singleQuote": true,
|
|
116
|
+
"tabWidth": 2,
|
|
117
|
+
"trailingComma": "es5",
|
|
118
|
+
"useTabs": false
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"eslintIgnore": [
|
|
124
|
+
"node_modules/",
|
|
125
|
+
"lib/"
|
|
126
|
+
],
|
|
127
|
+
"prettier": {
|
|
128
|
+
"quoteProps": "consistent",
|
|
129
|
+
"singleQuote": true,
|
|
130
|
+
"tabWidth": 2,
|
|
131
|
+
"trailingComma": "es5",
|
|
132
|
+
"useTabs": false
|
|
133
|
+
},
|
|
134
|
+
"react-native-builder-bob": {
|
|
135
|
+
"source": "src",
|
|
136
|
+
"output": "lib",
|
|
137
|
+
"targets": [
|
|
138
|
+
"commonjs",
|
|
139
|
+
"module",
|
|
140
|
+
[
|
|
141
|
+
"typescript",
|
|
142
|
+
{
|
|
143
|
+
"project": "tsconfig.build.json"
|
|
144
|
+
}
|
|
145
|
+
]
|
|
146
|
+
]
|
|
147
|
+
}
|
|
148
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
require "json"
|
|
2
|
+
|
|
3
|
+
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
4
|
+
|
|
5
|
+
Pod::Spec.new do |s|
|
|
6
|
+
s.name = "react-native-hyperpay"
|
|
7
|
+
s.version = package["version"]
|
|
8
|
+
s.summary = package["description"]
|
|
9
|
+
s.homepage = package["homepage"]
|
|
10
|
+
s.license = package["license"]
|
|
11
|
+
s.authors = package["author"]
|
|
12
|
+
s.platforms = { :ios => "10.0" }
|
|
13
|
+
s.source = { :git => "https://github.com/RMabroukS/react-native-hyperpay.git", :tag => "#{s.version}" }
|
|
14
|
+
s.source_files = "ios/**/*.{h,m,mm}"
|
|
15
|
+
s.dependency "React-Core"
|
|
16
|
+
s.requires_arc = true
|
|
17
|
+
s.vendored_frameworks = "OPPWAMobile.framework"
|
|
18
|
+
s.public_header_files = "OPPWAMobile.framework/Versions/2.47.0/Headers/*.h"
|
|
19
|
+
s.resource_bundle = { 'OPPWAMobile-Resources' => '*' }
|
|
20
|
+
end
|
package/src/index.tsx
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { NativeModules, Platform } from 'react-native';
|
|
2
|
+
|
|
3
|
+
const LINKING_ERROR =
|
|
4
|
+
`The package 'react-native-hyperpay' doesn't seem to be linked. Make sure: \n\n` +
|
|
5
|
+
Platform.select({ ios: "- You have run 'pod install'\n", default: '' }) +
|
|
6
|
+
'- You rebuilt the app after installing the package\n' +
|
|
7
|
+
'- You are not using Expo managed workflow\n';
|
|
8
|
+
|
|
9
|
+
const HyperPay = NativeModules.HyperPay
|
|
10
|
+
? NativeModules.HyperPay
|
|
11
|
+
: new Proxy(
|
|
12
|
+
{},
|
|
13
|
+
{
|
|
14
|
+
get() {
|
|
15
|
+
throw new Error(LINKING_ERROR);
|
|
16
|
+
},
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
export function multiply(a: number, b: number): Promise<number> {
|
|
21
|
+
return HyperPay.multiply(a, b);
|
|
22
|
+
}
|