> For the complete documentation index, see [llms.txt](https://responova-pi.populix.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://responova-pi.populix.co/troubleshooting.md).

# Troubleshooting

### Crypto Lib in React Native/Flutter

React Native or Flutter, as of the latest updates, does not support `crypto-js` for a couple of reasons:

1. **Native Modules and Security Concerns:** React Native is designed to facilitate cross-platform mobile development using JavaScript and native components. It aims to provide access to platform-specific APIs and functionality in a consistent manner. Native modules that directly access cryptographic functionalities, such as `crypto-js`, often introduce security risks if not implemented correctly or if they bypass platform-specific security measures.
2. **Differences in Platform APIs:** Mobile platforms (iOS and Android) provide their own set of cryptographic APIs and libraries. These APIs are optimized for each platform's security standards and integration with hardware security modules (such as secure enclaves or Trusted Execution Environments). Using a JavaScript library like `crypto-js` would bypass these platform-specific optimizations and security measures.

**Alternatives:**

You can create additional backend API's for hashing and encryption process.

### User Got Error Popup

If you or your user experienced this error

<figure><img src="https://2573898549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQ4jbhw4y523CCCM4o9ql%2Fuploads%2FLgW33ebCpTytL9J9jLIq%2Fimage.png?alt=media&amp;token=7195631d-ce4a-4c76-b39c-fb99d1407aab" alt=""><figcaption></figcaption></figure>

1. Please read again [Survey Wall Integration](/survey-wall-integration.md) especially on the [Signed Parameter Payload](https://responova-pi.populix.co/survey-wall-integration#signed-parameter-payload) and [Encryption Process](https://responova-pi.populix.co/survey-wall-integration#encrypt-signed-parameter)
2. Make sure you are using valid hash and encryption algorithm as defined in [System Requirements](https://responova-pi.populix.co/#system-requirements)
3. Make sure you are using valid **Partner ID** and **Partner Secret** to encrypt the [Signed Parameter Payload](https://responova-pi.populix.co/survey-wall-integration#signed-parameter-payload). You can contact our team to re-confirm about your **Partner ID** and **Partner Secret**
