https://github.com/mappls-api/mappls-feedback-uikit-ios-distribution
Mappls Feedback UI Kit Native for iOS distributed via the SPM (Swift Package Manager).
https://github.com/mappls-api/mappls-feedback-uikit-ios-distribution
Last synced: 8 months ago
JSON representation
Mappls Feedback UI Kit Native for iOS distributed via the SPM (Swift Package Manager).
- Host: GitHub
- URL: https://github.com/mappls-api/mappls-feedback-uikit-ios-distribution
- Owner: mappls-api
- License: other
- Created: 2025-05-20T06:39:09.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-10T10:19:46.000Z (about 1 year ago)
- Last Synced: 2025-10-19T11:50:37.389Z (8 months ago)
- Language: Swift
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE.md
Awesome Lists containing this project
README
[
](https://www.mapmyindia.com/api)
# MapplsFeedbackUIKit for iOS
## [Introduction](#Introduction)
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 History](#Version-History)
| Version | Dated | Description |
| :------ | :---- | :---------- |
| `3.0.0 `| 10 Feb 2025 | - Authentication and authorization mechanisms have been revised.|
| --- | --- | --- |
| `2.0.0` | 14 Nov, 2024 | - UI screen is changed. - URL property for icon is used to show icon for Report Categories. |
## [Installation](#Installation)
To add a package dependency to your Xcode project, select File > Swift Packages > Add Package Dependency and enter its repository URL. See [Adding Package Dependencies to Your App](https://developer.apple.com/documentation/xcode/adding-package-dependencies-to-your-app).
## [Usage](#Usage)
`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.
### Present Navigation Controller
```swift
let navVC = MapplsFeedbackUIKitManager.shared.getViewController(location: "78.120,28.2300",appVersion: Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String, osVersionoptional: UIDevice.current.systemVersion, deviceName: UIDevice.current.name, theme: .night)
self.present(navVC, animated: true, completion: nil)
```
### Push Controller
```swift
let navVC = MapplsFeedbackUIKitManager.shared.getController(location: "78.120,28.2300",appVersion: Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String, osVersionoptional: UIDevice.current.systemVersion, deviceName: UIDevice.current.name, theme: .auto)
navVC.modalPresentationStyle = .fullScreen
self.navigationController?.pushViewController(navVC, animated: true)
```
`MapplsFeedbackUIKit` implicitly uses functionalities of MapplsFeedBackKitManager module and provides a beautiful user expereience to submit feedback.
## [Theme](#Theme)
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:
```swift
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:
[
](https://about.mappls.com/api/)
Email us at [apisupport@mappls.com](mailto:apisupport@mappls.com)

[Support](https://about.mappls.com/contact/)
Need support? contact us!
[
](https://stackoverflow.com/questions/tagged/mappls-api)[](https://about.mappls.com/blog/)[](https://github.com/mappls-api)[
](https://www.npmjs.com/org/mapmyindia)
[
](https://www.facebook.com/Mapplsofficial)[](https://twitter.com/mappls)[](https://www.linkedin.com/company/mappls/)[](https://www.youtube.com/channel/UCAWvWsh-dZLLeUU7_J9HiOA)
@ Copyright 2020 CE Info Systems Pvt. Ltd. All Rights Reserved.
Terms & Conditions | Privacy Policy | Supplier Sustainability Policy | Health & Safety Policy | Environmental Policy & CSR Report
Customer Care: +91-9999333223