Cordova SDK
Integrate smallcase Gateway Cordova SDK to allow your users to transact in stocks, ETFs & smallcases, and much more.
Get started with the Cordova SDK:
- Add the the cordova plugin using the Cordova CLI.
- Configure the config.xml file to receive Transaction responses.
- Initialize the SDK with relevant user data & config.
- Set up an endpoint on your backend to create new transactionId.
- Hit the endpoint and get transactionId
- Call the triggerTransaction method of the SDK with the transactionId
- Receive order response once the transaction completes
There are flows where transactionId is not required. In such cases, directly call the relevant SDK methods. For example - broker account opening flow.
SDK Updates
smallcase Gateway periodically releases SDK updates, including new functionality, enhancements, bug fixes, and security updates. Most of the time, changes are non-breaking updates. The host app will need to manually update the SDK version.
Requirements
Platform | SDK version | Min Version |
---|---|---|
Cordova | 2.5.1 | Cordova 8 |
Platform | Xcode compatibility | Min Deployment Target | Supported Architectures |
---|---|---|---|
iOS | 13.3.x | 11 | x86_64 |
Platform | Gradle | Min SDK Version | Compile SDK Version |
---|---|---|---|
Android | 6.7.1 | Android 5.0 (API Level 21) | 29 |
Updated over 2 years ago