{"id":29023042,"url":"https://github.com/bamlab/flutter-reachfive","last_synced_at":"2025-06-26T03:05:12.793Z","repository":{"id":60988305,"uuid":"535545697","full_name":"bamlab/Flutter-ReachFive","owner":"bamlab","description":"Flutter plugin around reach five native SDKs. Made by BAM ❤️💙💛","archived":false,"fork":false,"pushed_at":"2024-12-26T14:52:55.000Z","size":752,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-26T03:05:09.473Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/bamlab.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":"2022-09-12T06:54:54.000Z","updated_at":"2024-12-26T14:52:58.000Z","dependencies_parsed_at":"2024-12-10T11:25:49.468Z","dependency_job_id":"fb14e74f-4753-4ac0-adb8-143ef0184988","html_url":"https://github.com/bamlab/Flutter-ReachFive","commit_stats":{"total_commits":236,"total_committers":3,"mean_commits":78.66666666666667,"dds":"0.11016949152542377","last_synced_commit":"d839df190e71997ac9c6efef219f2f5935f8b970"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/bamlab/Flutter-ReachFive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamlab%2FFlutter-ReachFive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamlab%2FFlutter-ReachFive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamlab%2FFlutter-ReachFive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamlab%2FFlutter-ReachFive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bamlab","download_url":"https://codeload.github.com/bamlab/Flutter-ReachFive/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamlab%2FFlutter-ReachFive/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261990350,"owners_count":23241188,"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":"2025-06-26T03:05:11.949Z","updated_at":"2025-06-26T03:05:12.770Z","avatar_url":"https://github.com/bamlab.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flutter-ReachFive\n\n---\n\n# Installation\n\n---\n\n## Android\n\nPrerequisites:\n\n- In your `android/app/build.gradle`, update your `minSdkVersion` in your default config :\n\n```gradle\ndefaultConfig {\n        // others configs\n        minSdkVersion 21\n    }\n```\n\n- In your `android/app/src/main/AndroidManifest.xml`, add these lines :\n\n```xml\n\u003cmanifest\u003e\n    \u003c!-- others lines... --\u003e\n    \u003cuses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/\u003e\n    \u003cuses-permission android:name=\"android.permission.INTERNET\" /\u003e\n    \u003cuses-permission android:name=\"android.permission.USE_CREDENTIALS\" /\u003e\n\u003c/manifest\u003e\n```\n\n- To use the sdk in release mode, add a file `android/app/proguard-rules.pro` with these lines :\n  (Otherwise a `java.lang.NullPointerException` uncaught exception is thrown when initializing reachFive)\n\n```pro\n# We need to keep reachfive models from obfuscating otherwise there is\n# serialization/deserialization errors when building your app in release mode\n-keep class co.reachfive.identity.sdk.core.models.** {*;}\n```\n\nAnd in your `android/app/build.gradle`, add this line in your release buildTypes :\n\n```gradle\nbuildTypes {\n        // ...others buildTypes\n        release {\n            // ...others lines\n\n            // Add this line\n            proguardFiles(getDefaultProguardFile(\"proguard-android.txt\"), \"proguard-rules.pro\")\n        }\n    }\n```\n\n- to use the sdk in release mode, you also need to add these lines in your `android/gradle.properties` :\n\n```gradle\nandroid.enableR8.fullMode=false\n```\n\n---\n\n## iOS\n\nPrerequisites:\n\n- In your `ios/Podfile`, update your ios sdk version :\n\n```rb\nplatform :ios, '13.0'\n```\n\n- Because of an issue causing WebViewProvider session to be lost by the flutter app, you need to add this dependency override in your `ios/Podfile` :\n\n```rb\ntarget 'Runner' do\n  use_frameworks!\n  use_modular_headers!\n\n  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))\n\n  # Add the next line in your Podfile to use webview providers\n  pod 'IdentitySdkCore', :git =\u003e 'git@github.com:bamlab/identity-ios-sdk.git', :tag =\u003e '6.1.0.fork'\nend\n```\n\n---\n\n# Implementation login/signup with provider\n\n---\n\n## Android\n\n### WebView Providers\n\nEvery providers defined in your reachFive console can be accessed through a webview in your app\n\nTo use webview providers, you need to make the following changes (according to this [doc](https://developer.reachfive.com/sdk-android/8.0.1/guides/web-based-flows.html))\n\nYou will need to add a callbackUrl, to your android and reachFive config\nThe url will have this form : {YOUR_SCHEME}://{YOUR_HOST}{YOUR_PATH_PREFIX}\n\nThis url must match the one given in your SdkConfig androidScheme\nYou must give this url in your SdkConfig androidScheme when initializing your reachFive instance\n\n- You need to add this url in the list of authorized callback URL in your reachFive console client\n\n- This url must match the `scheme` you give in the reachFive instance initialization\n\n- In your `android/app/src/main/AndroidManifest.xml`, add these lines :\n\n```xml\n\u003cmanifest\u003e\n    \u003c!-- others lines... --\u003e\n    \u003cactivity\n            android:name=\"co.reachfive.identity.sdk.core.RedirectionActivity\"\n            android:screenOrientation=\"portrait\"\n            android:exported=\"true\"\u003e\n            \u003cintent-filter android:autoVerify=\"true\"\u003e\n                \u003caction android:name=\"android.intent.action.VIEW\" /\u003e\n                \u003ccategory android:name=\"android.intent.category.DEFAULT\" /\u003e\n                \u003ccategory android:name=\"android.intent.category.BROWSABLE\" /\u003e\n                \u003cdata\n                android:scheme=\"{YOUR_SCHEME}\"\n                android:host=\"{YOUR_HOST}\"\n                android:pathPrefix=\"{YOUR_PATH_PREFIX}\" /\u003e\n            \u003c/intent-filter\u003e\n        \u003c/activity\u003e\n\u003c/manifest\u003e\n```\n\n### Google Native Provider\n\nTo configure the google native provider, you need to give the google provider creator in the ReachFiveManager initialization method and you need to follow these docs :\n\n- [Android](https://developer.reachfive.com/sdk-android/8.0.1/index.html#configure-google-native-provider)\n\n### Facebook Native Provider\n\nTo configure the facebook native provider, you need to give the facebook provider creator in the ReachFiveManager initialization method and you need to follow these docs :\n\n- [Android](https://developer.reachfive.com/sdk-android/8.0.1/index.html#facebook-native-provider)\n\n---\n\n## iOS\n\n### WebView Providers\n\nEvery providers defined in your reachFive console can be accessed through a webview in your app\n\nTo use webview providers, you need to make the following changes (according to this [doc](https://developer.reachfive.com/sdk-ios/index.html#sdk-webview))\n\nYou will need to add a callbackUrlScheme, to your ios config\nThe scheme will have this form : reachfive-{YOUR_CLIENTID}\n\nYou must give the iosScheme reachfive-{YOUR_CLIENTID}://callback in your SdkConfig iosScheme when initializing your reachFive instance\n\n- You need to add this url in the list of authorized callback URL in your reachFive console client\n\n- In your `ios/Runner/Info.plist`, add these lines :\n\n```plist\n\u003ckey\u003eCFBundleURLTypes\u003c/key\u003e\n\t\u003carray\u003e\n\t\t\u003cdict\u003e\n\t\t\t\u003ckey\u003eCFBundleTypeRole\u003c/key\u003e\n\t\t\t\u003cstring\u003eEditor\u003c/string\u003e\n\t\t\t\u003ckey\u003eCFBundleURLSchemes\u003c/key\u003e\n\t\t\t\u003carray\u003e\n\t\t\t\t\u003cstring\u003ereachfive-{YOUR_CLIENTID}\u003c/string\u003e\n                \u003c!-- Add your others reachfive client ids here if you wat multiple instances --\u003e\n\t\t\t\t\u003c!-- \u003cstring\u003ereachfive-{YOUR_OTHER_CLIENT_ID}\u003c/string\u003e --\u003e\n\t\t\t\u003c/array\u003e\n\t\t\u003c/dict\u003e\n\t\u003c/array\u003e\n```\n\n### Google Native Provider\n\nTo configure the google native provider, you need to give the google provider creator in the ReachFiveManager initialization method and you need to follow these docs :\n\n- [iOS](https://developer.reachfive.com/sdk-ios/index.html#google-native-provider)\n\n### Facebook Native Provider\n\nTo configure the facebook native provider, you need to give the facebook provider creator in the ReachFiveManager initialization method and you need to follow these docs :\n\n- [iOS](https://developer.reachfive.com/sdk-ios/index.html#facebook-native-provider)\n\n---\n\n## About ReachFive\n\nThis sdk is the flutter interface implementation of the [android](https://github.com/ReachFive/identity-android-sdk) and [ios](https://github.com/ReachFive/identity-ios-sdk) sdks of ReachFive\n\nIf you want more informations about ReachFive, here is their [website](https://www.reachfive.com/)\n\n---\n\n## 👉 About Bam\n\nWe are a 100 people company developing and designing multiplatform applications with [React Native](https://www.bam.tech/expertise/react-native) and [Flutter](https://www.bam.tech/expertise/flutter) using the Lean \u0026 Agile methodology. To get more information on the solutions that would suit your needs, feel free to get in touch by [email](mailto://contact@bam.tech) or through [contact form](https://www.bam.tech/contact)!\n\nWe will always answer you with pleasure 😁\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbamlab%2Fflutter-reachfive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbamlab%2Fflutter-reachfive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbamlab%2Fflutter-reachfive/lists"}