Flutter SDK Changelog

1.3.0 (21-06-2022)

Features

  • Integrated Mixpanel sdk to track user events on iOS.
  • DM Partner Branding on Android and iOS.
Future<String?> launchSmallplugWithBranding(
      SmallplugData smallplugData,
      {SmallplugUiConfig? smallplugUiConfig})
  
  
  class SmallplugUiConfig {
    final Color? headerColor;
    
    // Should be a value between 0 and 1
    final double headerOpacity;
    
    final Color? backIconColor;
    // Should be a value between 0 and 1
    
    final double backIconOpacity;
}

Bug Fixes

  • Fixed an issue on ANDROID with apps targeting API 30 and above where pressing the back button on the Chrome Custom Tab(while performing any transactions) would show the transaction loader indefinitely.
  • Fixed an issue on ANDROID where pressing the back button on the connect loader would still continue to open the Broker Chooser. Now it cancels the transaction and returns a user_cancelled error.
  • Fixed an issue on ANDROID where DM would open if launched during the SDK initialisation process. Now DM will only launch after SDK has FINISHED initialising.
  • Fixed an issue on ANDROID where on 5paisa PWA, no response is passed back from the SDK incase of back press.

Intents Impacted: All Transactional and Non Transactional Intents. DM.

1.1.7 (18-03-2022)

Features

  • Added SHOW_ORDERS non transactional intent
  • Added SMT AMO cancellation
  • Integrated Mixpanel sdk to track user events.
  • Integrated Sentry sdk for logging exceptions and unknown error cases.

Bug Fixes

  • Fixed an issue which caused the copy on pre-broker-chooser screen to display the contents of a guest user flow event for a connected user.
  • Fixed an issue which caused broker chooser to show only 1 broker when navigated from an intent with single available broker to an intent with available brokers > 1.
  • Fixed an issue which caused broker chooser to show only 2 brokers when navigated from show_orders to transactional flow
  • Fixed an issue which caused broker chooser to show more than allowed brokers for show_orders.
  • Lead Gen status response from 5paisa PWA screen and broker redirection screen
  • Fixed an issue which caused SMT transactions to fail for a GUEST user.
  • Removed redundant orderConfig while communicating with broker chooser.
  • Fixed an issue which caused an order to cancel when the app was minimised.

Dev Improvements

  • Replaced Coil with Glide library for inflating remote images in ImageView
  • Removed deprecated R8 from gradle properties.
  • Upgraded mrmike ok2curl interceptor library to version 0.7.0.
  • Refactored smallcase gateway branding in connect-ui
  • Updated copy content in connect-ui.
    (for more details, please refer this)

Intents Impacted: All Transactional and Non Transactional Intents.

1.1.6 (18-11-2021)

Bug Fixes

  • Fixed an issue which caused smallplug to redirect to smallcase.com instead of {distributor}.smallcase.com (android)
  • Fixed Contact Support CTA to launch a mail intent (android)

1.1.5 (01-11-2021)

Bug Fixes

  • Fixed an issue which caused smallplug to remain in logged out state even after successful broker login

1.1.4 (01-11-2021)

Features

  • External links inside Distribution Module are now opened in a custom tab (android) and SafariViewController (iOS).
  • PDF files from Distribution Module can now be viewed separately in a custom tab (android) and SafariViewController (iOS).
  • Pressing back button twice within a time frame of 3 seconds closes the Distribution Module (android).

Bug Fixes

  • Fixed Lead Gen flow initialisation from Distribution Module.
  • Fixed an issue which caused the sdk to be unresponsive when user clicks on back button on custom tab (android).
  • Fixed external link opening via javascript (iOS).
  • Fixed title and subtitle for connected users on gateway loading screen (android).
  • Fixed an issue which caused transactions to fail on iFrame brokers.
  • Fixed the title text of Axis Direct consent screen for SMT transactions (android).
  • Fixed leprechaun toggle flow in Broker Chooser. Clicking 10 times on Login with your broker will toggle the leprechaun mode for transactions.
  • Fixed an issue causing the SDK to return with init_sdk 3004 if the user logged out from the Broker Platform.
  • Fixed an issue causing an error when a GUEST user tries to SIP in an invested smallcase.

Dev improvements

  • Removed smallplugHeaderText property from SmallplugData class.

1.1.4-alpha04 (26-10-2021)

Features

  • Pressing back button twice within a time frame of 3 seconds closes the Distribution Module (android).

Bug Fixes

  • Fixed Lead Gen flow initialisation from Distribution Module.
  • Fixed an issue which caused the sdk to be unresponsive when user clicks on back button on custom tab.

UI improvements

  • Redesigned smallplug webview enabling smallplug to consume more screen space.

android

iOS

1.1.4-alpha03 (21-09-2021)

Dev improvements

  • Removed redundant network calls to check transactionId status.
  • Broker chooser would now close automatically once the transactionId expires (i.e. in 5 minutes)

1.1.2 (17-09-2021)

Features

1.1.1 (02-08-2021)

Features