{"id":19240164,"url":"https://github.com/gleapsdk/flutter-sdk","last_synced_at":"2025-07-08T07:11:51.382Z","repository":{"id":39965464,"uuid":"413807992","full_name":"GleapSDK/Flutter-SDK","owner":"GleapSDK","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-17T14:41:37.000Z","size":507,"stargazers_count":4,"open_issues_count":2,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T11:50:30.812Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GleapSDK.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-05T12:26:32.000Z","updated_at":"2025-03-17T14:41:41.000Z","dependencies_parsed_at":"2023-09-22T20:41:51.605Z","dependency_job_id":"608c1683-176f-47f1-8da7-f07b939f1c7f","html_url":"https://github.com/GleapSDK/Flutter-SDK","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GleapSDK%2FFlutter-SDK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GleapSDK%2FFlutter-SDK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GleapSDK%2FFlutter-SDK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GleapSDK%2FFlutter-SDK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GleapSDK","download_url":"https://codeload.github.com/GleapSDK/Flutter-SDK/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250023567,"owners_count":21362424,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T17:06:13.487Z","updated_at":"2025-07-08T07:11:51.375Z","avatar_url":"https://github.com/GleapSDK.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gleap SDK\n\n![Gleap Flutter SDK Intro](https://raw.githubusercontent.com/GleapSDK/Gleap-iOS-SDK/main/Resources/GleapHeaderImage.png)\n\nThe Gleap SDK for Flutter is the easiest way to integrate Gleap into your apps!\n\n# Report and fix bugs the easy way\n\nGleap helps developers build the best software faster. It is your affordable in-app bug reporting tool for apps, websites and industrial applications.\n\nCheckout our [website](https://gleap.io) to learn more about gleap.\n\n## Docs \u0026 examples\n\nCheckout our [documentation](https://gleap.io/docs/flutter/) for full reference. Include the following dependency in your pubspec.yml:\n\n```dart\ndependencies:\n  gleap_sdk: \"^14.6.5\"\n```\n\n**Flutter v2 support**\n\nIf you are using Flutter \u003c v3, please import the gleap_sdk as shown below:\n\n```dart\ndependencies:\n  gleap_sdk:\n    git:\n      url: https://github.com/GleapSDK/Flutter-SDK.git\n      ref: flutter-v2\n\n```\n\n**Flutter v2 Support**\nIf you are using Flutter \u003c v3, please import the gleap_sdk as shown below:\n\n```dart\ndependencies:\n  gleap_sdk:\n    git:\n      url: git@github.com:GleapSDK/Flutter-SDK.git\n      ref: flutter-v2\n\n```\n\n**Android installation**\n\nAndroid should be already good to go. If theres a version conflict pls add the following to your android manifest:\n\n```\n\u003cmanifest ... xmlns:tools=\"http://schemas.android.com/tools\"\u003e\n \u003cuses-sdk  android:minSdkVersion=\"21\"\n        tools:overrideLibrary=\"io.gleap.gleap_sdk\"/\u003e\n \u003capplication .... tools:overrideLibrary=\"io.gleap.gleap_sdk\"\u003e\n ...\n ```\n\nImportant: 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.\n\n**iOS installation**\n\nNavigate to your iOS project folder within the terminal and update the cocoapods by typing\n\n```\npod install\n```\n\n**Web installation**\n\nNavigate to your web project folder and insert the following snippet as first element within the head tag of your index.html\n\n```\n\u003cscript\u003e\n!function(Gleap,t,i){if(!(Gleap=window.Gleap=window.Gleap||[]).invoked){for(window.GleapActions=[],Gleap.invoked=!0,Gleap.methods=[\"identify\",\"setEnvironment\",\"setTags\",\"attachCustomData\",\"setCustomData\",\"removeCustomData\",\"clearCustomData\",\"registerCustomAction\",\"trackEvent\",\"log\",\"preFillForm\",\"showSurvey\",\"sendSilentCrashReport\",\"startFeedbackFlow\",\"startBot\",\"setAppBuildNumber\",\"setAppVersionCode\",\"setApiUrl\",\"setFrameUrl\",\"isOpened\",\"open\",\"close\",\"on\",\"setLanguage\",\"setOfflineMode\",\"initialize\",\"disableConsoleLogOverwrite\",\"logEvent\",\"hide\",\"enableShortcuts\",\"showFeedbackButton\",\"destroy\",\"getIdentity\",\"isUserIdentified\",\"clearIdentity\",\"openConversations\",\"openConversation\",\"openHelpCenterCollection\",\"openHelpCenterArticle\",\"openHelpCenter\",\"searchHelpCenter\",\"openNewsArticle\",\"openNews\",\"openFeatureRequests\",\"isLiveMode\"],Gleap.f=function(e){return function(){var t=Array.prototype.slice.call(arguments);window.GleapActions.push({e:e,a:t})}},t=0;t\u003cGleap.methods.length;t++)Gleap[i=Gleap.methods[t]]=Gleap.f(i);Gleap.load=function(){var t=document.getElementsByTagName(\"head\")[0],i=document.createElement(\"script\");i.type=\"text/javascript\",i.async=!0,i.src=\"https://sdk.gleap.io/latest/index.js\",t.appendChild(i)},Gleap.load()}}();\n\u003c/script\u003e\n```\n\n**Initialize Gleap SDK**\n\nImport the Gleap SDK by adding the following import inside one of your root components.\n\n```dart\nimport 'package:gleap_sdk/gleap_sdk.dart';\n```\n\n```dart\nGleap.initialize(token: 'YOUR_API_KEY')\n```\n\nYour API key can be found in the project settings within Gleap.\n\n**Network logging**\n\nWe support network logging for the packages [Http](https://pub.dev/packages/http) and [Dio](https://pub.dev/packages/dio). For details on how to enable network logging for these packages, check the [Gleap Http Interceptor](https://pub.dev/packages/gleap_http_interceptor) and the [Gleap Dio Interceptor](https://pub.dev/packages/gleap_dio_interceptor) packages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgleapsdk%2Fflutter-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgleapsdk%2Fflutter-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgleapsdk%2Fflutter-sdk/lists"}