Skip to content

Conversation

ashar-aala
Copy link
Contributor

@ashar-aala ashar-aala commented Jul 14, 2025

Description (required)

Login and registration redirects are not working on Android due to an incorrect custom scheme in Flutter, so I have updated the scheme to fix the issue.

Summary by CodeRabbit

  • Documentation
    • Updated example custom URI schemes in the Flutter SDK integration guide to use a simpler format.
    • Revised sample environment variables, iOS configuration, and code snippets to reflect the new URI scheme.
    • Clarified explanatory notes to match the updated scheme examples.

Copy link
Contributor

coderabbitai bot commented Jul 14, 2025

Walkthrough

The documentation for the Flutter SDK integration guide was updated to use a simpler custom URI scheme (myapp://) in example login and logout redirect URIs, replacing the previous reverse domain style (com.kinde.myapp://). Corresponding code snippets and explanatory notes were revised for consistency. No SDK logic or flow was changed.

Changes

File(s) Change Summary
src/content/docs/developer-tools/sdks/native/flutter-sdk.mdx Updated example custom URI schemes for login/logout redirect URIs, Info.plist, and code snippets

Suggested labels

sdk

Poem

A hop, a skip, a URI change,
From "com.kinde" to "myapp"—not so strange!
Simpler schemes for all to see,
Flutter docs with clarity.
Now bunnies code and leap with glee,
For custom callbacks, hassle-free! 🐇


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added the sdk label Jul 14, 2025
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0daf6ee and ad2b07d.

📒 Files selected for processing (1)
  • src/content/docs/developer-tools/sdks/native/flutter-sdk.mdx (3 hunks)
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: marcosmartini
PR: kinde-oss/documentation#226
File: src/content/docs/developer-tools/sdks/backend/nextjs-sdk.mdx:0-0
Timestamp: 2024-10-22T06:12:51.559Z
Learning: The Kinde documentation's base URL is not `kinde.com`, so links to the documentation should use the correct base URL.
Learnt from: marcosmartini
PR: kinde-oss/documentation#226
File: src/content/docs/developer-tools/sdks/backend/nextjs-sdk.mdx:0-0
Timestamp: 2024-10-22T06:13:23.808Z
Learning: In the Kinde documentation, links may use `localhost` URLs that are fixed to relative paths, and the docs base URL is not `kinde.com`.
src/content/docs/developer-tools/sdks/native/flutter-sdk.mdx (4)
Learnt from: marcosmartini
PR: kinde-oss/documentation#226
File: src/content/docs/developer-tools/sdks/backend/nextjs-sdk.mdx:0-0
Timestamp: 2024-10-22T06:12:51.559Z
Learning: The Kinde documentation's base URL is not `kinde.com`, so links to the documentation should use the correct base URL.
Learnt from: marcosmartini
PR: kinde-oss/documentation#226
File: src/content/docs/developer-tools/sdks/backend/nextjs-sdk.mdx:0-0
Timestamp: 2024-10-22T06:13:23.808Z
Learning: In the Kinde documentation, links may use `localhost` URLs that are fixed to relative paths, and the docs base URL is not `kinde.com`.
Learnt from: marcosmartini
PR: kinde-oss/documentation#253
File: src/content/docs/properties/work-with-properties/property-groups.mdx:13-13
Timestamp: 2024-11-12T06:00:08.396Z
Learning: In the project documentation, the `/kinde-apis/management` and `/kinde-apis/frontend` pages use a third-party API reference and client that loads a Single Page Application (SPA). Therefore, links to sections within these pages are valid, even if they appear to point to non-existent sections in static analysis, and should not be flagged.
Learnt from: DaveOrDead
PR: kinde-oss/documentation#364
File: src/content/docs/design/design-with-code/understand-page-design.mdx:42-42
Timestamp: 2025-03-19T03:59:26.373Z
Learning: The Kinde widget content properties use camelCase naming convention (e.g., `pageTitle` instead of `page_title`) in JSX code examples and documentation.
🔇 Additional comments (3)
src/content/docs/developer-tools/sdks/native/flutter-sdk.mdx (3)

86-88: Confirm manifest placeholder is updated too.

The example .env values now use the simpler myapp:// scheme.
Double-check that the Gradle appAuthRedirectScheme placeholder in build.gradle is also updated to myapp so Android and the .env stay in sync.


133-134: Broken doc note/link and inconsistent scheme name

  1. The inline link text shows myapp but the URL still points at http://com.kinde.app/.
  2. The explanatory sentence refers to com.kinde.app, conflicting with the new myapp example.
-**Note:** `<your_custom_scheme>` has been defined previously as [`myapp`](http://com.kinde.app/) ...
+**Note:** `<your_custom_scheme>` has been defined previously as [`myapp`](#) ...

(or drop the link entirely).
[ suggest_nitpick ]


149-150: LGTM – snippet matches .env example

The Dart snippet now aligns with the updated myapp:// scheme.

@clairekinde11 clairekinde11 requested review from DanielRivers and brettchaldecott and removed request for DanielRivers July 15, 2025 07:29
@clairekinde11 clairekinde11 merged commit 1addcac into kinde-oss:main Jul 22, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants