The Gleap SDK for Flutter is the easiest way to integrate Gleap into your apps. Communicate with your users directly and build better software by discovering their everyday pain points. Gleap is your all-in-one customer feedback tool for apps and websites.For the SDK to work, you need an API key, which you can get for free at app.gleap.io.
Important: Always have a look at your minSdkVersion on android and your minimum target version on iOS to keep them on the same minimum version gleap needs.
The last step is to initialize & configure the Gleap SDK by adding the following code. If you want to add the Gleap SDK in your main.dart make sure to call WidgetsFlutterBinding.ensureInitialized(); before you initialize the Gleap SDK.
In order to use the image picker for attachments, add the following permissions to your Info.plist.
Copy
<key>NSPhotoLibraryUsageDescription</key> <string>We need access to your photo library to allow you to select an image.</string> <key>NSCameraUsageDescription</key> <string>We need access to your camera to take photos.</string>
The following permissions are needed to enable audio recordings.
Copy
<key>NSMicrophoneUsageDescription</key> <string>We need access to your microphone to record audio with videos.</string>