Troubleshooting
Last updated
Last updated
React Native or Flutter, as of the latest updates, does not support crypto-js
for a couple of reasons:
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.
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.
If you or your user experienced this error
Please read again Survey Wall Integration especially on the and
Make sure you are using valid hash and encryption algorithm as defined in
Make sure you are using valid Partner ID and Partner Secret to encrypt the . You can contact our team to re-confirm about your Partner ID and Partner Secret