Android: Ensure INTERNET permission is declared in
AndroidManifest.xmliOS: No special permissions required beyond basic networking
Requirements
Ensure your Flutter environment meets the following:- context: Flutter 3.7.0 or later
- context: Dart 2.19 or later
- context: Compatible with Android (minSdkVersion 21) and iOS (iOS 11+)
- context: Internet permission for Android
AndroidManifest.xml
The Flutter SDK is currently a beta release. If you encounter any issues, kindly reach out to our support team at support@spotflow.one.
Installation
To use theSpotflow Flutter SDK package, add the following dependencies to your pubspec.yaml file:
flutter pub get to fetch the package.
Parameters Required by the SDK
Always ensure that your key and encryptionKey are stored securely. Avoid hardcoding them in production apps.
Usage Example
Here is an example of how to make a payment using theSpotflow package:
Testing Your implementation
Test cards can be found hereRunning the Example Project
An example project has been provided on our Github Repository. Clone the repository and navigate to the example folder. Open it with a supported IDE or runflutter run from the terminal in that folder.
