{"id":4768,"url":"https://github.com/zo0r/react-native-conekta","last_synced_at":"2025-07-24T00:05:23.413Z","repository":{"id":44565291,"uuid":"47083631","full_name":"zo0r/react-native-conekta","owner":"zo0r","description":"React Native Conekta SDK for iOS and Android","archived":false,"fork":false,"pushed_at":"2022-02-08T04:13:44.000Z","size":40,"stargazers_count":34,"open_issues_count":8,"forks_count":22,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-12T21:01:46.641Z","etag":null,"topics":["android","conekta","ios","payment-gateway","payment-integration","payment-methods","payments","react-native"],"latest_commit_sha":null,"homepage":"https://www.conekta.io","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zo0r.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-29T22:50:55.000Z","updated_at":"2024-10-19T20:32:47.000Z","dependencies_parsed_at":"2022-09-11T19:21:11.340Z","dependency_job_id":null,"html_url":"https://github.com/zo0r/react-native-conekta","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zo0r/react-native-conekta","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zo0r%2Freact-native-conekta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zo0r%2Freact-native-conekta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zo0r%2Freact-native-conekta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zo0r%2Freact-native-conekta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zo0r","download_url":"https://codeload.github.com/zo0r/react-native-conekta/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zo0r%2Freact-native-conekta/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266770522,"owners_count":23981580,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","conekta","ios","payment-gateway","payment-integration","payment-methods","payments","react-native"],"created_at":"2024-01-05T20:17:22.703Z","updated_at":"2025-07-24T00:05:23.390Z","avatar_url":"https://github.com/zo0r.png","language":"Objective-C","funding_links":[],"categories":["Components"],"sub_categories":["Integrations"],"readme":"# React Native Conekta [![npm version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=js\u0026type=6\u0026v=2.0.3\u0026x2=0)](http://badge.fury.io/js/react-native-conekta)\n\n***React Native Conekta SDK for iOS and Android***\n\n## Supported React Native Versions\n| Component Version     | RN Versions    | README     |\n|-----------------------|---------------|------------|\n| **1.0.4**          | **\u003c= 0.16**   | [Open](https://github.com/zo0r/react-native-conekta/blob/0dae778f409123836df4ec0f6de484598658b11e/README.md)   |\n| **\u003e= 2.0.0**          | **\u003e= 0.30**   | [Open](https://github.com/zo0r/react-native-conekta/blob/master/README.md)   |\n\n## Installation\n`npm install --save react-native-conekta`\n\n`react-native link`\n\n## Usage\n```javascript\nvar conektaApi = new Conekta();\n\nconektaApi.setPublicKey( 'YOUR_PUBLIC_KEY' );\n\nconektaApi.createToken({\n  cardNumber: '4242424242424242',\n  name: 'Manolo Virolo',\n  cvc: '111',\n  expMonth: '11',\n  expYear: '21',\n}, function(data){\n  console.log( 'DATA:', data ); // data.id to get the Token ID\n}, function(){\n  console.log( 'Error!' );\n});\n```\n\n## iOS Manual Installation (if you did not use `react-native link`)\n[Please see: Linking Libraries iOS](https://facebook.github.io/react-native/docs/linking-libraries-ios.html#content)\n\nLibrary folder: `your-project/node_modules/react-native-conekta/RNConekta`\n\n## Android Manual Installation (if you did not use `react-native link`)\nIn `android/settings.gradle`\n\n```gradle\n...\n\ninclude ':react-native-conekta'\nproject(':react-native-conekta').projectDir = file('../node_modules/react-native-conekta/android')\n```\n\nIn `android/app/build.gradle`\n\n```gradle\n...\n\ndependencies {\n    ...\n\n    compile project(':react-native-conekta')\n}\n```\n\nManually register module in `MainApplication.java`:\n\n```java\nimport com.dieam.reactnativeconekta.ReactNativeConektaPackage;  // \u003c--- import\n\npublic class MainApplication extends Application implements ReactApplication {\n\n  ......\n  private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {\n      @Override\n      protected boolean getUseDeveloperSupport() {\n        return BuildConfig.DEBUG;\n      }\n\n      @Override\n      protected List\u003cReactPackage\u003e getPackages() {\n\n      return Arrays.\u003cReactPackage\u003easList(\n          new MainReactPackage(),\n          new ReactNativeConektaPackage() // \u003c---- Add the Package\n      );\n    }\n  };\n\n  ....\n}\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzo0r%2Freact-native-conekta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzo0r%2Freact-native-conekta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzo0r%2Freact-native-conekta/lists"}