{"id":21490506,"url":"https://github.com/colorfy-software/react-native-gigya-sdk","last_synced_at":"2025-07-15T17:31:58.723Z","repository":{"id":57337257,"uuid":"341882358","full_name":"colorfy-software/react-native-gigya-sdk","owner":"colorfy-software","description":"🌤 SAP CDC/Gigya SDK for your React Native applications.","archived":false,"fork":false,"pushed_at":"2023-02-02T11:03:31.000Z","size":688,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-04-25T20:22:04.428Z","etag":null,"topics":["android","gigya-sdk","ios","react-native","sap-cdc"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/react-native-gigya-sdk","language":"TypeScript","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/colorfy-software.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-24T11:46:10.000Z","updated_at":"2024-08-26T11:00:53.178Z","dependencies_parsed_at":"2023-02-17T19:00:40.742Z","dependency_job_id":null,"html_url":"https://github.com/colorfy-software/react-native-gigya-sdk","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colorfy-software%2Freact-native-gigya-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colorfy-software%2Freact-native-gigya-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colorfy-software%2Freact-native-gigya-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colorfy-software%2Freact-native-gigya-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/colorfy-software","download_url":"https://codeload.github.com/colorfy-software/react-native-gigya-sdk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226057274,"owners_count":17566946,"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","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","gigya-sdk","ios","react-native","sap-cdc"],"created_at":"2024-11-23T14:38:52.485Z","updated_at":"2025-07-15T17:31:58.715Z","avatar_url":"https://github.com/colorfy-software.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003ca href=\"https://github.com/colorfy-software/react-native-gigya-sdk\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n    🌤 React Native Gigya SDK\n  \u003c/a\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003e\n  \u003cstrong\u003eSAP CDC/Gigya SDK for your React Native applications.\u003c/strong\u003e\n\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/colorfy-software/react-native-gigya-sdk/actions\"\u003e\n    \u003cimg src=\"https://github.com/colorfy-software/react-native-gigya-sdk/actions/workflows/actions.yml/badge.svg?branch=main\" alt=\"Current GitHub Actions build status.\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.org/package/react-native-gigya-sdk\"\u003e\n    \u003cimg src=\"https://badge.fury.io/js/react-native-gigya-sdk.svg\" alt=\"Current npm package version.\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.org/package/react-native-gigya-sdk\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dm/react-native-gigya-sdk.svg?maxAge=2592000\" alt=\"Monthly npm downloads.\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://colorfy-software.gitbook.io/react-native-gigya-sdk/contributing\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg\" alt=\"PRs welcome!\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## 🏗️ Installation\n\n1. Install the library :\n\n```sh\nyarn add react-native-gigya-sdk base-64\n```\n\n2. If you haven't done so already, install a persistent storage library (like [SecureStorage](https://github.com/IvanIhnatsiuk/react-native-fast-secure-storage)) as you'll need to provide it during setup. **Just make sure your library exposes `getItem()` and `setItem()` functions.**\n\n### iOS\n\n\u003cdetails\u003e\n\u003csummary\u003eSee steps\u003c/summary\u003e\n\u003cbr\u003e\n  \n1. Add the following line to your `ios/Podfile`:\n\n```sh\npod 'Gigya'\n```\n\n2. From `/ios`, run:\n\n```sh\npod install\n```\n\n3. If you don't already have a Swift file in your project, via Xcode, create a `.swift` file (ie: `Bridge.swift`) in your Xcode workspace and accept to `Create Bridging Header`:\n\n```swift\n//\n//  Bridge.swift\n//  GigyaSdkExample\n//\n\nimport Foundation\n\n```\n\n1. If you're planing on providing social login, search for the \"Facebook\", \"Google\", etc section and follow [the full documentation](https://help.sap.com/docs/SAP_CUSTOMER_DATA_CLOUD/8b8d6fffe113457094a17701f63e3d6a/415424b570b21014bbc5a10ce4041860.html?locale=en-US) to install and set up its SDK. You can then open Xcode and add its `Wrapper.swift` file to your target (inside **Compile Sources** from the **Build Phases** tab) to handle the communication with the Gigya SDK. The files **are** available inside the `GigyaProviders.zip` asset that comes with each [`gigya-swift-sdk` release](https://github.com/SAP/gigya-swift-sdk/releases).\n\u003c/details\u003e\n\n### Android\n\n\u003cdetails\u003e\n\u003csummary\u003eSee steps\u003c/summary\u003e\n\u003cbr\u003e\n\n1. Add the desired Gigya SDK version to your `android/build.gradle`:\n\n```graddle\nbuildscript {\n    ext {\n      gigyaCoreSdkVersion = \"7.1.5\"\n    }\n}\n```\n\n2. If you're planing on providing social login, search for the \"Facebook\", \"Google\", etc section and follow [the full documentation](https://help.sap.com/docs/SAP_CUSTOMER_DATA_CLOUD/8b8d6fffe113457094a17701f63e3d6a/4142e7a870b21014bbc5a10ce4041860.html?locale=en-US) to install and set up the social provider SDK. Also add the required `Wrapper.java` file to your project to handle the communication with the Gigya SDK, as instructed in [this section of the documentation](https://sap.github.io/gigya-android-sdk/sdk-core/#configuring-native-login). The files are available inside the assets that comes with each [`gigya-android-sdk` release](https://github.com/SAP/gigya-android-sdk/releases) or in the codebase [example folder](https://github.com/SAP/gigya-android-sdk/tree/main/example/src/main/java/com/gigya/android/sample/providers).\n\u003c/details\u003e\n\n## 💻 Usage\n\nYou can now initialize the SDK with your [**`apiKey`**](https://help.sap.com/docs/SAP_CUSTOMER_DATA_CLOUD/8b8d6fffe113457094a17701f63e3d6a/4143211270b21014bbc5a10ce4041860.html?locale=en-US#api-key-and-site-setup),\n[**`dataCenter`**](https://help.sap.com/viewer/8b8d6fffe113457094a17701f63e3d6a/LATEST/en-US/41573b6370b21014bbc5a10ce4041860.html), application\n[**`lang`**](https://help.sap.com/docs/SAP_CUSTOMER_DATA_CLOUD/8b8d6fffe113457094a17701f63e3d6a/4141d83470b21014bbc5a10ce4041860.html?locale=en-US#language-support),\n**`storage`** solution and desired **`storageKey`** \u0026 [**`linkAccountVersion`**](https://help.sap.com/docs/SAP_CUSTOMER_DATA_CLOUD/8b8d6fffe113457094a17701f63e3d6a/a8653abdc4594c0e94d38809db1b93d7.html).\n\n❗ **Please make sure your storage library exposes `getItem()` and `setItem()` functions or provided them yourself.**\n\n\n\n```ts\nimport SecureStorage from 'react-native-fast-secure-storage'\nimport GigyaSdk, { GigyaSdkDataCenterEnum, GigyaSdkLinkAccountVersions } from 'react-native-gigya-sdk'\n\n// Before anything we initialize the SDK.\nGigyaSdk.init({\n  lang: 'en',\n  storage: SecureStorage,\n  storageKey: 'RANDOM_STRING'\n  apiKey: 'INSERT_GIGYA_API_KEY',\n  dataCenter: GigyaSdkDataCenterEnum.EU1,\n  linkAccountVersion: GigyaSdkLinkAccountVersions.V2,\n})\n\n// Now we can use it.\nconst myAccount = await GigyaSdk.login(email, password)\n```\n\n## 🤝 Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## 📰 License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolorfy-software%2Freact-native-gigya-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolorfy-software%2Freact-native-gigya-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolorfy-software%2Freact-native-gigya-sdk/lists"}