Dynamic execution of arbitrary JS code isn’t supported because React Native doesn’t allow it for security and performance reasons. You can create a Custom Logic plugin, where the user chooses from a set of pre-defined operations or utilities, such as:
| Math | Add, Multiply, Random Number |
|---|---|
| Date/Time | Get Current Date, Format Date |
| String Utils | Concatenate, Replace, Uppercase/Lowercase |
| Data Parsing | JSON Parse/Stringify |
| Device APIs | Get device info, location, network status |
| Custom Logic | Chain multiple operations in workflows |
Shoot us a message if you have a specific use-case, as we’re looking to build as many plugins as possible!
See topic link: Help Us Contribute to the Future of Bubble Mobile Plugins