Adding Plugins
In order to use UPI In-app, the very first step is to install UPI In-app SDK into your application and add proper configurations. This has three steps to it:
Following sections describe how to complete above steps
1. Installing Flutter Plugin
Step 1.1
Add Plugin Dependency
2. Installing Assets Plugin - Android
UPI In-app SDK depends on certain assets to function. These are available over the air and are supposed to be present while building the SDK.
The Assets Plugin is a build time dependency that downloads all required assets and ensures the availability of the latest assets at build time.
To install Assets Plugin follow the below steps
Step 2.1
Add the clientId ext property
Step 2.2
Add settings.gradle(optional)
Step 2.3.1
Add secure component (Sandbox)
Step 2.3.2
Add secure component (Production)
3. Installing Assets Plugin - iOS
To install Assets Plugin follow the below steps
Step 3.1
Add Post Install Script to Podfile
Step 3.2
Add MerchantConfig.txt

