❗ In order to start using Moneroo Flutter you must have the [Flutter SDK][flutter_install_link] installed on your machine.
Install via flutter pub add
:
flutter pub add moneroo_flutter_sdk
Add this line in your AndroidManifest.xml
. This will help you to avoid an ERR_CLEAR_TEXT_NOT_PERMITTED error while processing a payment.
Don't forget to allow internet access in your Android app ! Info here !
<application
...
android:usesCleartextTraffic="true"
...
>
...
</application>
Add this line in your Info.plist
. This will help you to avoid an ERR_CLEAR_TEXT_NOT_PERMITTED error while processing a payment.
<plist>
...
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
...
<plist>
You can a have a full example here. You can also your the MonerooApi
class to implement the payment yourself without using the Moneroo widget provided by this package.
- MonerooException: This exception is throw when an error occured in during the API calling. You can have more infos about the related error logging the class's attribute.
- ServiceUnavailableException: This exception is throw when the SDK was'nt able to send your request to the server. Maybe due to network issues.
If you discover a security vulnerability within Moneroo Flutter SDK, please send an e-mail to Moneroo Security via [email protected]. All security vulnerabilities will be promptly addressed.
The Moneroo Flutter SDK is open-sourced software licensed under the MIT license.