Skip to content

Latest commit

 

History

History
102 lines (61 loc) · 6 KB

MapplsFeedbackUIKit.md

File metadata and controls

102 lines (61 loc) · 6 KB

MapplsFeedbackUIKit for iOS

FeedbackUI Kit for IOS is a UI kit to use wrapper for Mappls's feedback API. It allows developers to integrate feedback module in their application. Using feedback module user can submit location related feedback to Mappls's server.

Note: Sample for UI view controllers with source code is also provided by Mappls which user can directly use to show feedback screen. Information about how to use UI sample is also provided in this documentation.

If you don’t want to implement own logic and use sample from Mappls Jump to Sample UI Kit section.

Version Dated Description
1.0.0 22 June, 2022 Initial release.
1.0.1 14 Sept, 2022 Bug fixes.
1.0.2 23 Sep, 2022 Added a Bool property isShowStepProgress to hide stepProgress.
1.0.3 20 Jun, 2024 Theme support is added.

To install the MapplsFeedbackUIKit using CocoaPods:

Create a Podfile with the following specification:

pod 'MapplsFeedbackUIKit', '1.0.3'

Run pod repo update && pod install and open the resulting Xcode workspace.

It is required to set Mappls keys to use any MAPPL's SDK. Please refer the documenatation here

MapplsFeedbackUIKitManager is the class which will help to use this UI Control.Access shared instance of that class and call getViewController method to get instance of ViewController and present or push according to requirement.

Swift
let navVC = MapplsFeedbackUIKitManager.shared.getViewController(location: CLLocation(latitude: mapView.centerCoordinate.latitude, longitude: mapView.centerCoordinate.longitude), moduleId: ModuleId)

self.present(navVC, animated: true, completion: nil)

MapplsFeedbackUIKit implicitly uses functionalities of MapplsFeedBackKitManager module and provides a beautiful user expereience to submit feedback.

Feedback UI also supports different themes. Avaialable options are Day, Night and Auto. In case of Auto it will behave as per system settings.

Below is code to initialize feedback ui with theme:

let navVC = MapplsFeedbackUIKitManager.shared.getViewController(location: CLLocation(latitude: mapView.centerCoordinate.latitude, longitude: mapView.centerCoordinate.longitude), theme: MapplsFeedbackTheme.auto)

Also different colors of Day and Night theme are configurable by accessing shared instance of class DayThemeColors and NightThemeColors respectively. Available properties to set are as below:

  • backgroundColor
  • backgroundColor1
  • foregroundColor1
  • foregroundColor2
  • primaryColor
  • secondryColor




Our many happy customers:


For any queries and support, please contact:

Email us at apisupport@mappls.com

Support Need support? contact us!



@ Copyright 2020 CE Info Systems Pvt. Ltd. All Rights Reserved.