Skip to content

chore: Fix demo build.gradle.kts and improve Red App getting started docs#2574

Merged
abdulraqeeb33 merged 2 commits intomainfrom
docs/red-app-getting-started-updates
Mar 12, 2026
Merged

chore: Fix demo build.gradle.kts and improve Red App getting started docs#2574
abdulraqeeb33 merged 2 commits intomainfrom
docs/red-app-getting-started-updates

Conversation

@abdulraqeeb33
Copy link
Contributor

Description

One Line Summary

Fix kotlinVersion scope in demo build.gradle.kts and improve App ID docs in GettingStarted.md.

Details

Motivation

The demo app's root build.gradle.kts defined kotlinVersion outside buildscript {}, making it invisible during classpath resolution. Additionally, the getting started guide didn't document the actual file path for changing the App ID or warn that a reinstall is required.

Scope

  • examples/demo/build.gradle.kts — Moved val kotlinVersion by extra("2.2.0") inside the buildscript {} block so the Kotlin Gradle plugin classpath dependency can resolve it.
  • examples/demo/GettingStarted.md — Added a bold warning that changing the App ID requires uninstalling and reinstalling the app. Documented the actual file path (app/src/main/res/values/strings.xml) with an XML snippet.
  • No SDK source code or app behavior was changed.

Testing

Unit testing

N/A — build config fix and documentation-only change, no app code modified.

Manual testing

Verified Gradle sync succeeds after the build.gradle.kts fix. Confirmed all referenced paths and instructions in the doc are accurate.

Affected code checklist

  • Notifications
  • Outcomes
  • Sessions
  • In-App Messaging
  • REST API requests
  • Public API changes

None of the above are affected.

Checklist

Overview

  • I have filled out all REQUIRED sections above
  • PR does one thing
  • Any Public API changes are explained in the PR details and conform to existing APIs

Testing

  • I have included test coverage for these changes, or explained why they are not needed
  • All automated tests pass, or I explained why that is not possible
  • I have personally tested this on my device, or explained why that is not possible

Final pass

  • Code is as readable as possible.
  • I have reviewed this PR myself, ensuring it meets each checklist item

Made with Cursor

AR Abdul Azeez added 2 commits March 12, 2026 16:20
Move the `kotlinVersion` extra property inside `buildscript {}` so it is
visible when the classpath dependency is resolved. Update GettingStarted.md
to document the actual file path for changing the App ID and add a bold
warning that the change requires a reinstall.

Made-with: Cursor
@github-actions
Copy link
Contributor

📊 Diff Coverage Report

✓ Coverage check passed (no source files changed)

📥 View workflow run

@abdulraqeeb33 abdulraqeeb33 changed the title Fix demo build.gradle.kts and improve Red App getting started docs chore: Fix demo build.gradle.kts and improve Red App getting started docs Mar 12, 2026
@abdulraqeeb33 abdulraqeeb33 requested a review from a team March 12, 2026 20:38
Copy link
Contributor

@nan-li nan-li left a comment

Choose a reason for hiding this comment

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

LGTM - we could add Clear All notifications, or not, these changes are fine as is

@abdulraqeeb33 abdulraqeeb33 merged commit 0038773 into main Mar 12, 2026
7 of 8 checks passed
@abdulraqeeb33 abdulraqeeb33 deleted the docs/red-app-getting-started-updates branch March 12, 2026 22:52
@abdulraqeeb33
Copy link
Contributor Author

LGTM - we could add Clear All notifications, or not, these changes are fine as is

I get another PR for the clear notifications @nan-li . I want to get this out as its critical.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants