{"id":28223048,"url":"https://github.com/context-sdk/flutter","last_synced_at":"2026-02-28T17:02:51.503Z","repository":{"id":258224951,"uuid":"862929822","full_name":"context-sdk/flutter","owner":"context-sdk","description":"Real-world context insights SDK for apps using Flutter, enhancing user experience and engagement with a privacy-first approach","archived":false,"fork":false,"pushed_at":"2025-06-23T13:07:34.000Z","size":78,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-24T02:30:04.603Z","etag":null,"topics":["coreml","dart","flutter","on-device","privacy","swift"],"latest_commit_sha":null,"homepage":"https://contextsdk.com","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/context-sdk.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,"zenodo":null}},"created_at":"2024-09-25T12:32:56.000Z","updated_at":"2025-06-23T13:07:38.000Z","dependencies_parsed_at":"2025-06-23T13:32:19.330Z","dependency_job_id":"c145c7e2-a862-4650-b4cb-4d761325ef5e","html_url":"https://github.com/context-sdk/flutter","commit_stats":null,"previous_names":["context-sdk/flutter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/context-sdk/flutter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/context-sdk%2Fflutter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/context-sdk%2Fflutter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/context-sdk%2Fflutter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/context-sdk%2Fflutter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/context-sdk","download_url":"https://codeload.github.com/context-sdk/flutter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/context-sdk%2Fflutter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29943665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T13:49:17.081Z","status":"ssl_error","status_checked_at":"2026-02-28T13:48:50.396Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["coreml","dart","flutter","on-device","privacy","swift"],"created_at":"2025-05-18T07:14:39.790Z","updated_at":"2026-02-28T17:02:51.462Z","avatar_url":"https://github.com/context-sdk.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ContextSDK for Flutter\n\n[![pub version](https://img.shields.io/pub/v/context_sdk)](https://pub.dev/packages/context_sdk)\n[![Changelog](https://img.shields.io/badge/changelog-latest-blue)](https://docs.contextsdk.com/other/changelog)\n[![Documentation](https://img.shields.io/badge/documentation-latest-blue)](https://docs.contextsdk.com/)\n[![Issues](https://img.shields.io/github/issues/context-sdk/flutter)](https://github.com/context-sdk/flutter/issues)\n[![Pull Requests](https://img.shields.io/github/issues-pr/context-sdk/flutter)](https://github.com/context-sdk/flutter/pulls)\n\nContextSDK is a powerful tool that brings real-world context and insights directly into your Flutter app through on-device signals, empowering you to boost conversions and engagement, enhance user experiences, and reduce churn — all with privacy in mind, as no personally identifiable information (PII) is ever collected.\n\nOur SDK supports iOS and will soon support Android, making it easy to integrate into your cross-platform Flutter projects.\n\n## Getting Started\n\nThis repository is dedicated to managing releases of ContextSDK for Flutter, distributed via [pub.dev](https://pub.dev/packages/context_sdk). For other platforms, such as Swift and Android, or alternative installation methods like CocoaPods, please see our [official documentation](https://docs.contextsdk.com/).\n\nTo integrate ContextSDK into your Flutter project, follow these steps:\n\n### Installation\n\n1. Add `context_sdk` to your `pubspec.yaml` file:\n\n```yaml\ndependencies:\n  context_sdk: ^latest_version\n```\n\n2. Ensure the minimum deployment target for iOS is set to `14.0` or higher in your `ios/Podfile`:\n\n```ruby\nplatform :ios, '14.0'\n```\n\n### Setup\n\nAfter installing ContextSDK, initialize it with your license key at app startup. You can [sign up here](https://console.contextsdk.com/register) to receive your license key.\n\n```dart\nimport 'package:context_sdk/context_sdk.dart';\n\nfinal _contextSdkPlugin = ContextSdk();\n\n_contextSdkPlugin.setup(\"YOUR_LICENSE_KEY_HERE\");\n```\n\n## Using ContextSDK\n\n### Tracking Conversion Events\n\nTo maximize the value of ContextSDK, ensure you log data for all upsell prompts or other critical events. Here’s an example:\n\n```dart\nimport 'package:context_sdk/context_sdk.dart';\n\nfinal _contextSdkPlugin = ContextSdk();\n\n// Call this immediately before showing the prompt to the user.\n_contextSdkPlugin.optimize(\"upsell\", null, null, (context) async {\n  // Display the upgrade prompt here after fetching the context\n  // Log the outcome after user interaction:\n  context.log(Outcome.positive); // or Outcome.negative\n});\n```\n\n### Going Live\n\nOnce integrated, you're ready to ship your app update to the App Store and start leveraging real-world context insights.  Continue to the [release page](https://docs.contextsdk.com/context-decision/release-checklist) for a final check before shipping, as well as other deployment tips.\n\n## Documentation\n\nFor detailed setup instructions, usage examples, and advanced usage scenarios, visit our [official documentation](https://docs.contextsdk.com/).\n\n## Not using ContextSDK yet?\n\nIf you’re interested in adding real-world context insights to your app, you can [sign up here](https://dashboard.contextsdk.com/register) to receive your license key and access. For more information about how ContextSDK can enhance your app’s user experience, visit our [website](https://contextsdk.com) or reach out to our team at support@contextsdk.com.\n\n## Support\n\nFor any questions or technical support, please don’t hesitate to reach out to our team — we’re eager to help!\n\nThank you for choosing ContextSDK! 🚀 We’re excited to support you in building context-aware experiences for your users.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontext-sdk%2Fflutter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontext-sdk%2Fflutter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontext-sdk%2Fflutter/lists"}