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.
Files changed (323) hide show
  1. package/LICENSE +21 -0
  2. package/OPPWAMobile-Resources.bundle/Info.plist +0 -0
  3. package/OPPWAMobile-Resources.bundle/Klarna.json +67 -0
  4. package/OPPWAMobile-Resources.bundle/OPPBrandCollectionViewCell.nib +0 -0
  5. package/OPPWAMobile-Resources.bundle/OPPCardDetailsViewController.nib +0 -0
  6. package/OPPWAMobile-Resources.bundle/OPPCardsTableViewCell.nib +0 -0
  7. package/OPPWAMobile-Resources.bundle/OPPCheckoutTextFieldView.nib +0 -0
  8. package/OPPWAMobile-Resources.bundle/OPPChinaUnionPayDetailsViewController.nib +0 -0
  9. package/OPPWAMobile-Resources.bundle/OPPDirectDebitDetailsViewController.nib +0 -0
  10. package/OPPWAMobile-Resources.bundle/OPPGiropayDetailsViewController.nib +0 -0
  11. package/OPPWAMobile-Resources.bundle/OPPIkanoDetailsViewController.nib +0 -0
  12. package/OPPWAMobile-Resources.bundle/OPPKlarnaDetailsViewController.nib +0 -0
  13. package/OPPWAMobile-Resources.bundle/OPPKlarnaTableViewCell.nib +0 -0
  14. package/OPPWAMobile-Resources.bundle/OPPListDetailsViewController.nib +0 -0
  15. package/OPPWAMobile-Resources.bundle/OPPMBWAYDetailsViewController.nib +0 -0
  16. package/OPPWAMobile-Resources.bundle/OPPPaymentFormHeaderView.nib +0 -0
  17. package/OPPWAMobile-Resources.bundle/OPPPaymentProcessingViewController.nib +0 -0
  18. package/OPPWAMobile-Resources.bundle/OPPPaymentSchemeTableViewCell.nib +0 -0
  19. package/OPPWAMobile-Resources.bundle/OPPPaymentSchemeViewController.nib +0 -0
  20. package/OPPWAMobile-Resources.bundle/OPPStorePaymentDetailsView.nib +0 -0
  21. package/OPPWAMobile-Resources.bundle/OPPTokenCollectionViewCell.nib +0 -0
  22. package/OPPWAMobile-Resources.bundle/OPPTokensTableViewCell.nib +0 -0
  23. package/OPPWAMobile-Resources.bundle/OPPTotalAmountView.nib/objects-11.0+.nib +0 -0
  24. package/OPPWAMobile-Resources.bundle/OPPTotalAmountView.nib/runtime.nib +0 -0
  25. package/OPPWAMobile-Resources.bundle/alipay.png +0 -0
  26. package/OPPWAMobile-Resources.bundle/alipay@2x.png +0 -0
  27. package/OPPWAMobile-Resources.bundle/alipay@3x.png +0 -0
  28. package/OPPWAMobile-Resources.bundle/amex.png +0 -0
  29. package/OPPWAMobile-Resources.bundle/amex@2x.png +0 -0
  30. package/OPPWAMobile-Resources.bundle/amex@3x.png +0 -0
  31. package/OPPWAMobile-Resources.bundle/applepay.png +0 -0
  32. package/OPPWAMobile-Resources.bundle/applepay@2x.png +0 -0
  33. package/OPPWAMobile-Resources.bundle/applepay@3x.png +0 -0
  34. package/OPPWAMobile-Resources.bundle/ar.lproj/OPPCheckout.strings +89 -0
  35. package/OPPWAMobile-Resources.bundle/arrow_down.png +0 -0
  36. package/OPPWAMobile-Resources.bundle/arrow_up.png +0 -0
  37. package/OPPWAMobile-Resources.bundle/boleto.png +0 -0
  38. package/OPPWAMobile-Resources.bundle/boleto@2x.png +0 -0
  39. package/OPPWAMobile-Resources.bundle/boleto@3x.png +0 -0
  40. package/OPPWAMobile-Resources.bundle/ca.lproj/OPPCheckout.strings +90 -0
  41. package/OPPWAMobile-Resources.bundle/camera_icon.png +0 -0
  42. package/OPPWAMobile-Resources.bundle/camera_icon@2x.png +0 -0
  43. package/OPPWAMobile-Resources.bundle/camera_icon@3x.png +0 -0
  44. package/OPPWAMobile-Resources.bundle/card.png +0 -0
  45. package/OPPWAMobile-Resources.bundle/card@2x.png +0 -0
  46. package/OPPWAMobile-Resources.bundle/card@3x.png +0 -0
  47. package/OPPWAMobile-Resources.bundle/cartebleue.png +0 -0
  48. package/OPPWAMobile-Resources.bundle/cartebleue@2x.png +0 -0
  49. package/OPPWAMobile-Resources.bundle/cartebleue@3x.png +0 -0
  50. package/OPPWAMobile-Resources.bundle/dankort.png +0 -0
  51. package/OPPWAMobile-Resources.bundle/dankort@2x.png +0 -0
  52. package/OPPWAMobile-Resources.bundle/dankort@3x.png +0 -0
  53. package/OPPWAMobile-Resources.bundle/de.lproj/OPPCheckout.strings +99 -0
  54. package/OPPWAMobile-Resources.bundle/diners.png +0 -0
  55. package/OPPWAMobile-Resources.bundle/diners@2x.png +0 -0
  56. package/OPPWAMobile-Resources.bundle/diners@3x.png +0 -0
  57. package/OPPWAMobile-Resources.bundle/directdebit_sepa.png +0 -0
  58. package/OPPWAMobile-Resources.bundle/directdebit_sepa@2x.png +0 -0
  59. package/OPPWAMobile-Resources.bundle/directdebit_sepa@3x.png +0 -0
  60. package/OPPWAMobile-Resources.bundle/discover.png +0 -0
  61. package/OPPWAMobile-Resources.bundle/discover@2x.png +0 -0
  62. package/OPPWAMobile-Resources.bundle/discover@3x.png +0 -0
  63. package/OPPWAMobile-Resources.bundle/en.lproj/OPPCheckout.strings +145 -0
  64. package/OPPWAMobile-Resources.bundle/es.lproj/OPPCheckout.strings +92 -0
  65. package/OPPWAMobile-Resources.bundle/eu-ES.lproj/OPPCheckout.strings +92 -0
  66. package/OPPWAMobile-Resources.bundle/fr-CA.lproj/OPPCheckout.strings +93 -0
  67. package/OPPWAMobile-Resources.bundle/fr.lproj/OPPCheckout.strings +93 -0
  68. package/OPPWAMobile-Resources.bundle/giropay.png +0 -0
  69. package/OPPWAMobile-Resources.bundle/giropay@2x.png +0 -0
  70. package/OPPWAMobile-Resources.bundle/giropay@3x.png +0 -0
  71. package/OPPWAMobile-Resources.bundle/gl-ES.lproj/OPPCheckout.strings +92 -0
  72. package/OPPWAMobile-Resources.bundle/ideal.png +0 -0
  73. package/OPPWAMobile-Resources.bundle/ideal@2x.png +0 -0
  74. package/OPPWAMobile-Resources.bundle/ideal@3x.png +0 -0
  75. package/OPPWAMobile-Resources.bundle/it.lproj/OPPCheckout.strings +94 -0
  76. package/OPPWAMobile-Resources.bundle/ja.lproj/OPPCheckout.strings +74 -0
  77. package/OPPWAMobile-Resources.bundle/jcb.png +0 -0
  78. package/OPPWAMobile-Resources.bundle/jcb@2x.png +0 -0
  79. package/OPPWAMobile-Resources.bundle/jcb@3x.png +0 -0
  80. package/OPPWAMobile-Resources.bundle/klarna.png +0 -0
  81. package/OPPWAMobile-Resources.bundle/klarna@2x.png +0 -0
  82. package/OPPWAMobile-Resources.bundle/klarna@3x.png +0 -0
  83. package/OPPWAMobile-Resources.bundle/klarna_detail_logo.png +0 -0
  84. package/OPPWAMobile-Resources.bundle/klarna_detail_logo@2x.png +0 -0
  85. package/OPPWAMobile-Resources.bundle/klarna_detail_logo@3x.png +0 -0
  86. package/OPPWAMobile-Resources.bundle/klarna_nl_agreement.png +0 -0
  87. package/OPPWAMobile-Resources.bundle/klarna_nl_agreement@2x.png +0 -0
  88. package/OPPWAMobile-Resources.bundle/klarna_nl_agreement@3x.png +0 -0
  89. package/OPPWAMobile-Resources.bundle/klarna_payments_billpay.png +0 -0
  90. package/OPPWAMobile-Resources.bundle/klarna_payments_billpay@2x.png +0 -0
  91. package/OPPWAMobile-Resources.bundle/klarna_payments_billpay@3x.png +0 -0
  92. package/OPPWAMobile-Resources.bundle/klarna_payments_paylater.png +0 -0
  93. package/OPPWAMobile-Resources.bundle/klarna_payments_paylater@2x.png +0 -0
  94. package/OPPWAMobile-Resources.bundle/klarna_payments_paylater@3x.png +0 -0
  95. package/OPPWAMobile-Resources.bundle/klarna_payments_sliceit.png +0 -0
  96. package/OPPWAMobile-Resources.bundle/klarna_payments_sliceit@2x.png +0 -0
  97. package/OPPWAMobile-Resources.bundle/klarna_payments_sliceit@3x.png +0 -0
  98. package/OPPWAMobile-Resources.bundle/mada.png +0 -0
  99. package/OPPWAMobile-Resources.bundle/mada@2x.png +0 -0
  100. package/OPPWAMobile-Resources.bundle/mada@3x.png +0 -0
  101. package/OPPWAMobile-Resources.bundle/maestro.png +0 -0
  102. package/OPPWAMobile-Resources.bundle/maestro@2x.png +0 -0
  103. package/OPPWAMobile-Resources.bundle/maestro@3x.png +0 -0
  104. package/OPPWAMobile-Resources.bundle/master.png +0 -0
  105. package/OPPWAMobile-Resources.bundle/master@2x.png +0 -0
  106. package/OPPWAMobile-Resources.bundle/master@3x.png +0 -0
  107. package/OPPWAMobile-Resources.bundle/masterdebit.png +0 -0
  108. package/OPPWAMobile-Resources.bundle/masterdebit@2x.png +0 -0
  109. package/OPPWAMobile-Resources.bundle/masterdebit@3x.png +0 -0
  110. package/OPPWAMobile-Resources.bundle/masterpass.png +0 -0
  111. package/OPPWAMobile-Resources.bundle/masterpass@2x.png +0 -0
  112. package/OPPWAMobile-Resources.bundle/masterpass@3x.png +0 -0
  113. package/OPPWAMobile-Resources.bundle/nl.lproj/OPPCheckout.strings +91 -0
  114. package/OPPWAMobile-Resources.bundle/paydirekt.png +0 -0
  115. package/OPPWAMobile-Resources.bundle/paydirekt@2x.png +0 -0
  116. package/OPPWAMobile-Resources.bundle/paydirekt@3x.png +0 -0
  117. package/OPPWAMobile-Resources.bundle/paypal.png +0 -0
  118. package/OPPWAMobile-Resources.bundle/paypal@2x.png +0 -0
  119. package/OPPWAMobile-Resources.bundle/paypal@3x.png +0 -0
  120. package/OPPWAMobile-Resources.bundle/paysafecard.png +0 -0
  121. package/OPPWAMobile-Resources.bundle/paysafecard@2x.png +0 -0
  122. package/OPPWAMobile-Resources.bundle/paysafecard@3x.png +0 -0
  123. package/OPPWAMobile-Resources.bundle/paytrail.png +0 -0
  124. package/OPPWAMobile-Resources.bundle/paytrail@2x.png +0 -0
  125. package/OPPWAMobile-Resources.bundle/paytrail@3x.png +0 -0
  126. package/OPPWAMobile-Resources.bundle/pf_karte_direct.png +0 -0
  127. package/OPPWAMobile-Resources.bundle/pf_karte_direct@2x.png +0 -0
  128. package/OPPWAMobile-Resources.bundle/pf_karte_direct@3x.png +0 -0
  129. package/OPPWAMobile-Resources.bundle/przelewy.png +0 -0
  130. package/OPPWAMobile-Resources.bundle/przelewy@2x.png +0 -0
  131. package/OPPWAMobile-Resources.bundle/przelewy@3x.png +0 -0
  132. package/OPPWAMobile-Resources.bundle/pt.lproj/OPPCheckout.strings +91 -0
  133. package/OPPWAMobile-Resources.bundle/ratenkauf.png +0 -0
  134. package/OPPWAMobile-Resources.bundle/ratenkauf@2x.png +0 -0
  135. package/OPPWAMobile-Resources.bundle/ratenkauf@3x.png +0 -0
  136. package/OPPWAMobile-Resources.bundle/ru.lproj/OPPCheckout.strings +91 -0
  137. package/OPPWAMobile-Resources.bundle/sibs_multibanco.png +0 -0
  138. package/OPPWAMobile-Resources.bundle/sibs_multibanco@2x.png +0 -0
  139. package/OPPWAMobile-Resources.bundle/sibs_multibanco@3x.png +0 -0
  140. package/OPPWAMobile-Resources.bundle/sofortueberweisung.png +0 -0
  141. package/OPPWAMobile-Resources.bundle/sofortueberweisung@2x.png +0 -0
  142. package/OPPWAMobile-Resources.bundle/sofortueberweisung@3x.png +0 -0
  143. package/OPPWAMobile-Resources.bundle/th.lproj/OPPCheckout.strings +91 -0
  144. package/OPPWAMobile-Resources.bundle/trustly.png +0 -0
  145. package/OPPWAMobile-Resources.bundle/trustly@2x.png +0 -0
  146. package/OPPWAMobile-Resources.bundle/trustly@3x.png +0 -0
  147. package/OPPWAMobile-Resources.bundle/unionpay.png +0 -0
  148. package/OPPWAMobile-Resources.bundle/unionpay@2x.png +0 -0
  149. package/OPPWAMobile-Resources.bundle/unionpay@3x.png +0 -0
  150. package/OPPWAMobile-Resources.bundle/version.plist +0 -0
  151. package/OPPWAMobile-Resources.bundle/visa.png +0 -0
  152. package/OPPWAMobile-Resources.bundle/visa@2x.png +0 -0
  153. package/OPPWAMobile-Resources.bundle/visa@3x.png +0 -0
  154. package/OPPWAMobile-Resources.bundle/visadebit.png +0 -0
  155. package/OPPWAMobile-Resources.bundle/visadebit@2x.png +0 -0
  156. package/OPPWAMobile-Resources.bundle/visadebit@3x.png +0 -0
  157. package/OPPWAMobile-Resources.bundle/visaelectron.png +0 -0
  158. package/OPPWAMobile-Resources.bundle/visaelectron@2x.png +0 -0
  159. package/OPPWAMobile-Resources.bundle/visaelectron@3x.png +0 -0
  160. package/OPPWAMobile-Resources.bundle/yandex.png +0 -0
  161. package/OPPWAMobile-Resources.bundle/yandex@2x.png +0 -0
  162. package/OPPWAMobile-Resources.bundle/yandex@3x.png +0 -0
  163. package/OPPWAMobile-Resources.bundle/zh-Hans.lproj/OPPCheckout.strings +92 -0
  164. package/OPPWAMobile.framework/.DS_Store +0 -0
  165. package/OPPWAMobile.framework/Headers/OPPAlipayPaymentParams.h +49 -0
  166. package/OPPWAMobile.framework/Headers/OPPApplePayPaymentParams.h +64 -0
  167. package/OPPWAMobile.framework/Headers/OPPApplePayRequestStatus.h +117 -0
  168. package/OPPWAMobile.framework/Headers/OPPBankAccount.h +58 -0
  169. package/OPPWAMobile.framework/Headers/OPPBankAccountPaymentParams.h +171 -0
  170. package/OPPWAMobile.framework/Headers/OPPCard.h +68 -0
  171. package/OPPWAMobile.framework/Headers/OPPCardPaymentParams.h +251 -0
  172. package/OPPWAMobile.framework/Headers/OPPCheckoutInfo.h +130 -0
  173. package/OPPWAMobile.framework/Headers/OPPCheckoutPaymentMethod.h +51 -0
  174. package/OPPWAMobile.framework/Headers/OPPCheckoutProvider.h +197 -0
  175. package/OPPWAMobile.framework/Headers/OPPCheckoutSettings.h +185 -0
  176. package/OPPWAMobile.framework/Headers/OPPCheckoutTheme.h +268 -0
  177. package/OPPWAMobile.framework/Headers/OPPChinaUnionPayPaymentParams.h +62 -0
  178. package/OPPWAMobile.framework/Headers/OPPErrors.h +183 -0
  179. package/OPPWAMobile.framework/Headers/OPPIkanoOiPaymentParams.h +74 -0
  180. package/OPPWAMobile.framework/Headers/OPPMBWayPaymentParams.h +66 -0
  181. package/OPPWAMobile.framework/Headers/OPPPayPalPaymentParams.h +48 -0
  182. package/OPPWAMobile.framework/Headers/OPPPaymentBrandsConfig.h +56 -0
  183. package/OPPWAMobile.framework/Headers/OPPPaymentButton.h +79 -0
  184. package/OPPWAMobile.framework/Headers/OPPPaymentParams.h +100 -0
  185. package/OPPWAMobile.framework/Headers/OPPPaymentParamsBrand.h +57 -0
  186. package/OPPWAMobile.framework/Headers/OPPPaymentProvider.h +132 -0
  187. package/OPPWAMobile.framework/Headers/OPPSecurityPolicy.h +87 -0
  188. package/OPPWAMobile.framework/Headers/OPPToken.h +95 -0
  189. package/OPPWAMobile.framework/Headers/OPPTokenPaymentParams.h +180 -0
  190. package/OPPWAMobile.framework/Headers/OPPTransaction.h +77 -0
  191. package/OPPWAMobile.framework/Headers/OPPWAMobile.h +48 -0
  192. package/OPPWAMobile.framework/OPPWAMobile +0 -0
  193. package/OPPWAMobile.framework/Resources/Info.plist +0 -0
  194. package/OPPWAMobile.framework/Versions/.DS_Store +0 -0
  195. package/OPPWAMobile.framework/Versions/2.47.0/.DS_Store +0 -0
  196. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPAlipayPaymentParams.h +49 -0
  197. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPApplePayPaymentParams.h +64 -0
  198. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPApplePayRequestStatus.h +117 -0
  199. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPBankAccount.h +58 -0
  200. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPBankAccountPaymentParams.h +171 -0
  201. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCard.h +68 -0
  202. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCardPaymentParams.h +251 -0
  203. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutInfo.h +130 -0
  204. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutPaymentMethod.h +51 -0
  205. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutProvider.h +197 -0
  206. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutSettings.h +185 -0
  207. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutTheme.h +268 -0
  208. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPChinaUnionPayPaymentParams.h +62 -0
  209. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPErrors.h +183 -0
  210. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPIkanoOiPaymentParams.h +74 -0
  211. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPMBWayPaymentParams.h +66 -0
  212. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPayPalPaymentParams.h +48 -0
  213. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentBrandsConfig.h +56 -0
  214. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentButton.h +79 -0
  215. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentParams.h +100 -0
  216. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentParamsBrand.h +57 -0
  217. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentProvider.h +132 -0
  218. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPSecurityPolicy.h +87 -0
  219. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPToken.h +95 -0
  220. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPTokenPaymentParams.h +180 -0
  221. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPTransaction.h +77 -0
  222. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPWAMobile.h +48 -0
  223. package/OPPWAMobile.framework/Versions/2.47.0/OPPWAMobile +0 -0
  224. package/OPPWAMobile.framework/Versions/2.47.0/Resources/Info.plist +0 -0
  225. package/OPPWAMobile.framework/Versions/Current/.DS_Store +0 -0
  226. package/OPPWAMobile.framework/Versions/Current/Headers/OPPAlipayPaymentParams.h +49 -0
  227. package/OPPWAMobile.framework/Versions/Current/Headers/OPPApplePayPaymentParams.h +64 -0
  228. package/OPPWAMobile.framework/Versions/Current/Headers/OPPApplePayRequestStatus.h +117 -0
  229. package/OPPWAMobile.framework/Versions/Current/Headers/OPPBankAccount.h +58 -0
  230. package/OPPWAMobile.framework/Versions/Current/Headers/OPPBankAccountPaymentParams.h +171 -0
  231. package/OPPWAMobile.framework/Versions/Current/Headers/OPPCard.h +68 -0
  232. package/OPPWAMobile.framework/Versions/Current/Headers/OPPCardPaymentParams.h +251 -0
  233. package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutInfo.h +130 -0
  234. package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutPaymentMethod.h +51 -0
  235. package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutProvider.h +197 -0
  236. package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutSettings.h +185 -0
  237. package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutTheme.h +268 -0
  238. package/OPPWAMobile.framework/Versions/Current/Headers/OPPChinaUnionPayPaymentParams.h +62 -0
  239. package/OPPWAMobile.framework/Versions/Current/Headers/OPPErrors.h +183 -0
  240. package/OPPWAMobile.framework/Versions/Current/Headers/OPPIkanoOiPaymentParams.h +74 -0
  241. package/OPPWAMobile.framework/Versions/Current/Headers/OPPMBWayPaymentParams.h +66 -0
  242. package/OPPWAMobile.framework/Versions/Current/Headers/OPPPayPalPaymentParams.h +48 -0
  243. package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentBrandsConfig.h +56 -0
  244. package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentButton.h +79 -0
  245. package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentParams.h +100 -0
  246. package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentParamsBrand.h +57 -0
  247. package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentProvider.h +132 -0
  248. package/OPPWAMobile.framework/Versions/Current/Headers/OPPSecurityPolicy.h +87 -0
  249. package/OPPWAMobile.framework/Versions/Current/Headers/OPPToken.h +95 -0
  250. package/OPPWAMobile.framework/Versions/Current/Headers/OPPTokenPaymentParams.h +180 -0
  251. package/OPPWAMobile.framework/Versions/Current/Headers/OPPTransaction.h +77 -0
  252. package/OPPWAMobile.framework/Versions/Current/Headers/OPPWAMobile.h +48 -0
  253. package/OPPWAMobile.framework/Versions/Current/OPPWAMobile +0 -0
  254. package/OPPWAMobile.framework/Versions/Current/Resources/Info.plist +0 -0
  255. package/README.md +27 -0
  256. package/android/.DS_Store +0 -0
  257. package/android/.gradle/6.8/executionHistory/executionHistory.bin +0 -0
  258. package/android/.gradle/6.8/executionHistory/executionHistory.lock +0 -0
  259. package/android/.gradle/6.8/fileChanges/last-build.bin +0 -0
  260. package/android/.gradle/6.8/fileHashes/fileHashes.bin +0 -0
  261. package/android/.gradle/6.8/fileHashes/fileHashes.lock +0 -0
  262. package/android/.gradle/6.8/fileHashes/resourceHashesCache.bin +0 -0
  263. package/android/.gradle/6.8/gc.properties +0 -0
  264. package/android/.gradle/6.8/javaCompile/javaCompile.lock +0 -0
  265. package/android/.gradle/7.1.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  266. package/android/.gradle/7.1.1/dependencies-accessors/gc.properties +0 -0
  267. package/android/.gradle/7.1.1/executionHistory/executionHistory.lock +0 -0
  268. package/android/.gradle/7.1.1/fileChanges/last-build.bin +0 -0
  269. package/android/.gradle/7.1.1/fileHashes/fileHashes.lock +0 -0
  270. package/android/.gradle/7.1.1/gc.properties +0 -0
  271. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  272. package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
  273. package/android/.gradle/checksums/checksums.lock +0 -0
  274. package/android/.gradle/checksums/md5-checksums.bin +0 -0
  275. package/android/.gradle/checksums/sha1-checksums.bin +0 -0
  276. package/android/.gradle/configuration-cache/gc.properties +0 -0
  277. package/android/.gradle/vcs-1/gc.properties +0 -0
  278. package/android/.idea/.gitignore +3 -0
  279. package/android/.idea/compiler.xml +6 -0
  280. package/android/.idea/gradle.xml +19 -0
  281. package/android/.idea/jarRepositories.xml +40 -0
  282. package/android/.idea/libraries/Gradle____oppwa_mobile_2_44_0_oppwa_mobile_2_44_0_aar.xml +11 -0
  283. package/android/.idea/libraries/Gradle__com_android_support_appcompat_v7_23_0_1_aar.xml +18 -0
  284. package/android/.idea/libraries/Gradle__com_android_support_recyclerview_v7_23_0_1_aar.xml +15 -0
  285. package/android/.idea/libraries/Gradle__com_android_support_support_annotations_23_0_1.xml +13 -0
  286. package/android/.idea/libraries/Gradle__com_android_support_support_v4_23_0_1_aar.xml +19 -0
  287. package/android/.idea/libraries/Gradle__com_facebook_fresco_drawee_0_8_1_aar.xml +15 -0
  288. package/android/.idea/libraries/Gradle__com_facebook_fresco_fbcore_0_8_1_aar.xml +15 -0
  289. package/android/.idea/libraries/Gradle__com_facebook_fresco_fresco_0_8_1_aar.xml +15 -0
  290. package/android/.idea/libraries/Gradle__com_facebook_fresco_imagepipeline_0_8_1_aar.xml +15 -0
  291. package/android/.idea/libraries/Gradle__com_facebook_fresco_imagepipeline_okhttp_0_8_1_aar.xml +15 -0
  292. package/android/.idea/libraries/Gradle__com_facebook_react_react_native_0_20_1_aar.xml +19 -0
  293. package/android/.idea/libraries/Gradle__com_facebook_stetho_stetho_1_2_0.xml +13 -0
  294. package/android/.idea/libraries/Gradle__com_facebook_stetho_stetho_okhttp_1_2_0.xml +13 -0
  295. package/android/.idea/libraries/Gradle__com_fasterxml_jackson_core_jackson_core_2_2_3.xml +13 -0
  296. package/android/.idea/libraries/Gradle__com_google_code_findbugs_jsr305_3_0_0.xml +13 -0
  297. package/android/.idea/libraries/Gradle__com_nineoldandroids_library_2_4_0.xml +13 -0
  298. package/android/.idea/libraries/Gradle__com_parse_bolts_bolts_android_1_1_4.xml +13 -0
  299. package/android/.idea/libraries/Gradle__com_squareup_okhttp_okhttp_2_5_0.xml +13 -0
  300. package/android/.idea/libraries/Gradle__com_squareup_okhttp_okhttp_ws_2_5_0.xml +13 -0
  301. package/android/.idea/libraries/Gradle__com_squareup_okio_okio_1_6_0.xml +13 -0
  302. package/android/.idea/libraries/Gradle__commons_cli_commons_cli_1_2.xml +13 -0
  303. package/android/.idea/libraries/Gradle__org_webkit_android_jsc_r174650_aar.xml +11 -0
  304. package/android/.idea/misc.xml +9 -0
  305. package/android/.idea/modules/android.iml +66 -0
  306. package/android/.idea/modules.xml +8 -0
  307. package/android/.idea/vcs.xml +6 -0
  308. package/android/build.gradle +62 -0
  309. package/android/local.properties +8 -0
  310. package/android/oppwa.mobile-2.44.0/.DS_Store +0 -0
  311. package/android/oppwa.mobile-2.44.0/.project +17 -0
  312. package/android/oppwa.mobile-2.44.0/.settings/org.eclipse.buildship.core.prefs +2 -0
  313. package/android/oppwa.mobile-2.44.0/oppwa.mobile-3.14.0-release.aar +0 -0
  314. package/android/src/main/AndroidManifest.xml +4 -0
  315. package/android/src/main/java/com/reactnativehyperpay/HyperPayModule.java +34 -0
  316. package/android/src/main/java/com/reactnativehyperpay/HyperPayPackage.java +28 -0
  317. package/ios/HyperPay.h +11 -0
  318. package/ios/HyperPay.m +95 -0
  319. package/ios/HyperPay.xcodeproj/project.pbxproj +282 -0
  320. package/ios/HyperPay.xcodeproj/project.xcworkspace/contents.xcworkspacedata +4 -0
  321. package/package.json +148 -0
  322. package/react-native-hyperpay.podspec +20 -0
  323. package/src/index.tsx +22 -0
@@ -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>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$/.." vcs="Git" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,62 @@
1
+ buildscript {
2
+ if (project == rootProject) {
3
+ repositories {
4
+ google()
5
+ mavenCentral()
6
+ jcenter()
7
+ }
8
+
9
+ dependencies {
10
+ classpath 'com.android.tools.build:gradle:3.5.3'
11
+ }
12
+ }
13
+ }
14
+
15
+ apply plugin: 'com.android.library'
16
+
17
+ def safeExtGet(prop, fallback) {
18
+ rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
19
+ }
20
+
21
+ android {
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"
28
+
29
+ }
30
+
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
+ }
43
+ }
44
+
45
+ repositories {
46
+ mavenLocal()
47
+ maven {
48
+ // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
49
+ url("$rootDir/../node_modules/react-native/android")
50
+ }
51
+ google()
52
+ mavenCentral()
53
+ jcenter()
54
+ }
55
+
56
+ dependencies {
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
61
+
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
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <projectDescription>
3
+ <name>oppwa.mobile-2.44.0</name>
4
+ <comment>Project oppwa.mobile-2.44.0 created by Buildship.</comment>
5
+ <projects>
6
+ </projects>
7
+ <buildSpec>
8
+ <buildCommand>
9
+ <name>org.eclipse.buildship.core.gradleprojectbuilder</name>
10
+ <arguments>
11
+ </arguments>
12
+ </buildCommand>
13
+ </buildSpec>
14
+ <natures>
15
+ <nature>org.eclipse.buildship.core.gradleprojectnature</nature>
16
+ </natures>
17
+ </projectDescription>
@@ -0,0 +1,2 @@
1
+ connection.project.dir=..
2
+ eclipse.preferences.version=1
@@ -0,0 +1,4 @@
1
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
+ package="com.reactnativehyperpay">
3
+
4
+ </manifest>
@@ -0,0 +1,34 @@
1
+ package com.reactnativehyperpay;
2
+
3
+ import androidx.annotation.NonNull;
4
+
5
+ import com.facebook.react.bridge.Promise;
6
+ import com.facebook.react.bridge.ReactApplicationContext;
7
+ import com.facebook.react.bridge.ReactContextBaseJavaModule;
8
+ import com.facebook.react.bridge.ReactMethod;
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";
14
+
15
+ public HyperPayModule(ReactApplicationContext reactContext) {
16
+ super(reactContext);
17
+ }
18
+
19
+ @Override
20
+ @NonNull
21
+ public String getName() {
22
+ return NAME;
23
+ }
24
+
25
+
26
+ // Example method
27
+ // See https://reactnative.dev/docs/native-modules-android
28
+ @ReactMethod
29
+ public void multiply(int a, int b, Promise promise) {
30
+ promise.resolve(a * b);
31
+ }
32
+
33
+ public static native int nativeMultiply(int a, int b);
34
+ }
@@ -0,0 +1,28 @@
1
+ package com.reactnativehyperpay;
2
+
3
+ import androidx.annotation.NonNull;
4
+
5
+ import com.facebook.react.ReactPackage;
6
+ import com.facebook.react.bridge.NativeModule;
7
+ import com.facebook.react.bridge.ReactApplicationContext;
8
+ import com.facebook.react.uimanager.ViewManager;
9
+
10
+ import java.util.ArrayList;
11
+ import java.util.Collections;
12
+ import java.util.List;
13
+
14
+ public class HyperPayPackage implements ReactPackage {
15
+ @NonNull
16
+ @Override
17
+ public List<NativeModule> createNativeModules(@NonNull ReactApplicationContext reactContext) {
18
+ List<NativeModule> modules = new ArrayList<>();
19
+ modules.add(new HyperPayModule(reactContext));
20
+ return modules;
21
+ }
22
+
23
+ @NonNull
24
+ @Override
25
+ public List<ViewManager> createViewManagers(@NonNull ReactApplicationContext reactContext) {
26
+ return Collections.emptyList();
27
+ }
28
+ }
package/ios/HyperPay.h ADDED
@@ -0,0 +1,11 @@
1
+ #ifndef Hyperpay_h
2
+ #define Hyperpay_h
3
+ #import <OPPWAMobile/OPPWAMobile.h>
4
+ #import <React/RCTBridgeModule.h>
5
+ #import <React/RCTEventEmitter.h>
6
+
7
+ @interface HyperPay : RCTEventEmitter <RCTBridgeModule>
8
+
9
+ @end
10
+
11
+ #endif /* Hyperpay */
package/ios/HyperPay.m ADDED
@@ -0,0 +1,95 @@
1
+
2
+ #import <Foundation/Foundation.h>
3
+ #import "HyperPay.h"
4
+ #import <React/RCTLog.h>
5
+
6
+ @implementation HyperPay
7
+
8
+ OPPPaymentProvider *provider;
9
+
10
+
11
+
12
+
13
+ RCT_EXPORT_MODULE(HyperPay)
14
+
15
+ -(instancetype)init
16
+ {
17
+ self = [super init];
18
+ if (self) {
19
+ #ifdef DEBUG
20
+ provider = [OPPPaymentProvider paymentProviderWithMode:OPPProviderModeTest];
21
+ #else
22
+ provider = [OPPPaymentProvider paymentProviderWithMode:OPPProviderModeLive];
23
+ #endif
24
+ }
25
+
26
+ return self;
27
+ }
28
+
29
+ - (NSArray<NSString *> *)supportedEvents {
30
+ return @[@"onTransactionComplete"];
31
+ }
32
+
33
+ /**
34
+ React Native functions
35
+ */
36
+
37
+ RCT_EXPORT_METHOD(createTransaction: (NSDictionary*)options resolver:(RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject) {
38
+ NSError * _Nullable error;
39
+
40
+ OPPCardPaymentParams *params = [OPPCardPaymentParams cardPaymentParamsWithCheckoutID:[options valueForKey:@"checkoutID"]
41
+ paymentBrand:[options valueForKey:@"paymentBrand"]
42
+ holder:[options valueForKey:@"holderName"]
43
+ number:[options valueForKey:@"cardNumber"]
44
+ expiryMonth:[options valueForKey:@"expiryMonth"]
45
+ expiryYear:[options valueForKey:@"expiryYear"]
46
+ CVV:[options valueForKey:@"cvv"]
47
+ error:&error];
48
+
49
+ if (error) {
50
+ NSLog(@"%s", "error");
51
+ reject(@"createTransaction",error.localizedDescription, error);
52
+
53
+ } else {
54
+ params.shopperResultURL =[options valueForKey:@"shopperResultURL"];
55
+
56
+ OPPTransaction *transaction = [OPPTransaction transactionWithPaymentParams:params];
57
+
58
+ [provider submitTransaction:transaction completionHandler:^(OPPTransaction * _Nonnull transaction, NSError * _Nullable error) {
59
+ NSDictionary *transactionResult;
60
+ if (transaction.type == OPPTransactionTypeAsynchronous) {
61
+
62
+ transactionResult = @{
63
+ @"redirectURL":transaction.redirectURL.absoluteString,
64
+ @"status":@"pending",
65
+ @"checkoutId":transaction.paymentParams.checkoutID
66
+ };
67
+ resolve(transactionResult);
68
+
69
+ } else if (transaction.type == OPPTransactionTypeSynchronous) {
70
+
71
+ transactionResult = @{
72
+ @"status":@"completed",
73
+ @"checkoutId":transaction.paymentParams.checkoutID
74
+ };
75
+ resolve(transactionResult);
76
+ } else {
77
+ reject(@"createTransaction",error.localizedDescription, error);
78
+ }
79
+ }];
80
+ }
81
+ }
82
+
83
+ RCT_REMAP_METHOD(multiply,
84
+ multiplyWithA:(nonnull NSNumber*)a withB:(nonnull NSNumber*)b
85
+ withResolver:(RCTPromiseResolveBlock)resolve
86
+ withRejecter:(RCTPromiseRejectBlock)reject)
87
+ {
88
+ NSNumber *result = @([a floatValue] * [b floatValue]);
89
+
90
+ resolve(result);
91
+ }
92
+
93
+ @end
94
+
95
+