Skip to content

About

Moya plugin for the Gleap iOS SDK. Capture network request logs alongside customer feedback and bug reports in Swift apps.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

GleapMoyaPlugin

Important

Deprecated. Since version 19.0.0 the Gleap iOS SDK logs every URLSession request by itself, including Alamofire and therefore Moya, with request and response headers and bodies, timing and errors. Remove GleapMoyaPlugin from your MoyaProvider when you update: while it is still in place, the SDK leaves out the requests it attaches that the SDK logged itself, so nothing is listed twice. Network logs start with the Network logs switch in the dashboard or Gleap.startNetworkRecording().

The Gleap Moya plugin captures network request logs for the Gleap iOS SDK. Attach technical context to customer feedback and in-app bug reports from your Swift app.

Installation

Swift Package Manager

To get started, open your Xcode project and select File > Add packages...

Now you need to paste the following package URL to the search bar in the top right corner. Hit enter to confirm the search.

Package URL:

https://github.com/GleapSDK/Gleap-iOS-Moya-Plugin

Now select the Gleap package and hit Add package to add the Gleap SDK to your project.

Manual installation

Simply copy the GleapMoyaPlugin.swift (Sources/GleapMoyaPlugin) from this repository into your project. In addition to that make sure to install Gleap & Moya.

Using the plugin

After installing the plugin, you can use it by simply declaring it during the initialization of your Moya provider:

let provider = MoyaProvider<SampleType>(plugins: [GleapMoyaPlugin()])

Find more information on Gleap here:

In-App Bug Reporting & Customer Feedback

Gleap Documentation

About

Moya plugin for the Gleap iOS SDK. Capture network request logs alongside customer feedback and bug reports in Swift apps.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages